Unix Technical Forum

BUG #1431: SRPMS fail to compile due to krb5.h

This is a discussion on BUG #1431: SRPMS fail to compile due to krb5.h within the pgsql Bugs forums, part of the PostgreSQL category; --> The following bug has been logged online: Bug reference: 1431 Logged by: Werner Bohl Email address: WernerBohl@infutor.com PostgreSQL version: ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Bugs

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 09:28 AM
Werner Bohl
 
Posts: n/a
Default BUG #1431: SRPMS fail to compile due to krb5.h


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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 09:28 AM
Devrim GUNDUZ
 
Posts: n/a
Default Re: BUG #1431: SRPMS fail to compile due to krb5.h

-----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)

iD8DBQFB8Yv5tl86P3SPfQ4RAt8VAJ9ZhZOJrFDA6y2Fyfh9jb pXR+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)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:45 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com