BUG #1431: SRPMS fail to compile due to krb5.h
BUG #1431: SRPMS fail to compile due to krb5.h
От:
"Werner Bohl" <WernerBohl@infutor.com>
Дата:
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.
Re: BUG #1431: SRPMS fail to compile due to krb5.h
От:
Devrim GUNDUZ <devrim@gunduz.org>
Дата:
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
--8323328-162673283-1106348591=:30770
Content-Type: TEXT/PLAIN; CHARSET=iso-8859-9; FORMAT=flowed
Content-Transfer-Encoding: 8BIT
Content-ID:
-----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-----
--8323328-162673283-1106348591=:30770--