|
|
 | | From: | Werner Bohl | | Subject: | BUG #1431: SRPMS fail to compile due to krb5.h | | Date: | Fri, 21 Jan 2005 17:57:58 GMT |
|
|
 | The following bug has been logged online:
Bug reference: 1431 Logged by: Werner Bohl Email address: WernerBohl@infutor.com PostgreSQL version: 8.0.0 Operating system: Redhat 9 Description: SRPMS fail to compile due to krb5.h Details:
When compiling SRPMS, it fails to find krb5.h, although I have it in /usr/include. Compile from src from tar works well. FC2 SRPMS compile ok and don't have this problem.
---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faq
|
|
 | | From: | Devrim GUNDUZ | | Subject: | Re: BUG #1431: SRPMS fail to compile due to krb5.h | | Date: | Sat, 22 Jan 2005 01:10:43 +0200 (EET) |
|
|
 | -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
On Fri, 21 Jan 2005, Werner Bohl wrote: > Operating system: Redhat 9 > Description: SRPMS fail to compile due to krb5.h > Details: > > When compiling SRPMS, it fails to find krb5.h, although I have it in > /usr/include. Compile from src from tar works well. FC2 SRPMS compile ok and > don't have this problem.
This is a RH issue rather than PostgreSQL.
Run this command:
# ln -s /usr/kerberos/include/* /usr/include/
before building SRPMS.
Another way is to hack spec file. Add "--with-includes=%{kerbdir}/include \" line to:
%if %kerberos --with-krb5 \ --with-includes=%{kerbdir}/include \ %endif
Regards, - -- Devrim GUNDUZ devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr http://www.tdmsoft.com http://www.gunduz.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQFB8Yv5tl86P3SPfQ4RAt8VAJ9ZhZOJrFDA6y2Fyfh9jbpXR+Gm+wCglx7G i0RoIWvpEYSQxlKFTKdH1WQ= =drrN -----END PGP SIGNATURE----- ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
|
|
|