Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3791 - proftpd-1.2.5.ebuild don't compile correctly
Summary: proftpd-1.2.5.ebuild don't compile correctly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: José Alberto Suárez López
URL:
Whiteboard:
Keywords:
: 4018 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-06-16 17:05 UTC by Xavier
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier 2002-06-16 17:05:55 UTC
Updating my system with emerge -u world I encounter this problem few days ago 
and the proftpd-1.2.5.ebuild stops compiling here:

i686-pc-linux-gnu-gcc  -DLINUX  -I.. -I../include -I/usr/include/postgresql -mar
ch=i686 -O3 -pipe -Wall -DUSESHADOW -c mod_sql_postgres.c
mod_sql_postgres.c:38: pgsql/libpq-fe.h: No such file or directory

my libpq-fe.h file it's at /usr/include/libpq-fe.h and the compiler seems not 
to find it.

Let me know if you need more information about anything inmy system.

Xavier
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-17 08:45:00 UTC
which version of gcc?
Comment 2 Xavier 2002-06-17 10:00:35 UTC
gcc version 2.95.3 20010315
Comment 3 Xavier 2002-06-20 16:30:57 UTC
If I make a softlink in /usr/include/pgsql/libpq-fe.h pointing to 
the /usr/include/libpq-fe.h the ebuild works correctly.

Would be the best thing to incorporate the creation of this  symlink in the 
postgres ebuild ???
Comment 4 José Alberto Suárez López 2002-06-21 11:08:03 UTC
fixed in postgres ebuild
Comment 5 José Alberto Suárez López 2002-06-21 11:09:13 UTC
a question, i don't use postgres, the dir /usr/include/pgsql/ is created by
postgres?
Comment 6 José Alberto Suárez López 2002-06-22 07:43:54 UTC
*** Bug 4018 has been marked as a duplicate of this bug. ***
Comment 7 Xavier 2002-06-23 12:54:28 UTC
No, the /usr/include/pgsql/ isn't created by postgres.
I create the symlink AND the directory, sorry to miss this in last post
Comment 8 Dallas T. Johnston 2002-06-24 06:40:30 UTC
/usr/include/postgresql is created by postgresql's install, so the line should be 
changed in mod_sql_postgres.c to:
#include <postgresql/libpq-fe.h>

It would be 
a huge kludge to create a symlink in a nonexistant directory, i.e. creating this dir only for 
the proftp app, even though other apps that rely in postgres play fairly.
Comment 9 José Alberto Suárez López 2002-06-27 17:37:25 UTC
sorry for the elapsed time, i was without inet a few days