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
which version of gcc?
gcc version 2.95.3 20010315
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 ???
fixed in postgres ebuild
a question, i don't use postgres, the dir /usr/include/pgsql/ is created by postgres?
*** Bug 4018 has been marked as a duplicate of this bug. ***
No, the /usr/include/pgsql/ isn't created by postgres. I create the symlink AND the directory, sorry to miss this in last post
/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.
sorry for the elapsed time, i was without inet a few days