Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6538 - Problems emergeing proftpd with postgres-support.
Summary: Problems emergeing proftpd with postgres-support.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-15 13:10 UTC by Alexander Isacson
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 Alexander Isacson 2002-08-15 13:10:18 UTC
I cant emerge proftpd with postgres support enabled. 

[ebuild   R  ] dev-db/postgresql-7.2.1-r2 to /
[ebuild   R  ] net-ftp/proftpd-1.2.5-r1 to /

It looks like the dependencies aren't correct since postgresql/libpq-fe.h isn't 
found. I get this error log:

i686-pc-linux-gnu-gcc  -DLINUX  -I.. -I../include -I/usr/include/postgresql -
march=i686 -O3 -pipe -Wall -DUSESHADOW -c mod_sql.c
mod_sql.c: In function `check_auth_crypt':
mod_sql.c:426: warning: implicit declaration of function `crypt'
mod_sql.c: In function `_process_named_query':
mod_sql.c:1458: warning: comparison between pointer and integer
i686-pc-linux-gnu-gcc  -DLINUX  -I.. -I../include -I/usr/include/postgresql -
march=i686 -O3 -pipe -Wall -DUSESHADOW -c mod_sql_postgres.c
mod_sql_postgres.c:38: postgresql/libpq-fe.h: No such file or directory
mod_sql_postgres.c:65: parse error before `PGconn'
mod_sql_postgres.c:65: warning: no semicolon at end of struct or union
mod_sql_postgres.c:66: warning: type defaults to `int' in declaration of 
`result'
mod_sql_postgres.c:66: warning: data definition has no type or storage class
mod_sql_postgres.c:67: parse error before `}'
mod_sql_postgres.c: In function `_build_error':
mod_sql_postgres.c:227: warning: implicit declaration of function 
`PQerrorMessage'
mod_sql_postgres.c:227: dereferencing pointer to incomplete type
mod_sql_postgres.c:227: warning: passing arg 4 of `mod_create_ret' makes 
pointer from integer without a cast
mod_sql_postgres.c: In function `_build_data':
mod_sql_postgres.c:238: `PGresult' undeclared (first use in this function)
mod_sql_postgres.c:238: (Each undeclared identifier is reported only once
mod_sql_postgres.c:238: for each function it appears in.)
mod_sql_postgres.c:239: parse error before `*'
mod_sql_postgres.c:248: dereferencing pointer to incomplete type
mod_sql_postgres.c:250: `sd' undeclared (first use in this function)
mod_sql_postgres.c:251: warning: implicit declaration of function `PQntuples'
mod_sql_postgres.c:252: warning: implicit declaration of function `PQnfields'
mod_sql_postgres.c:254: `data' undeclared (first use in this function)
mod_sql_postgres.c:257: `row' undeclared (first use in this function)
mod_sql_postgres.c:258: `field' undeclared (first use in this function)
mod_sql_postgres.c:259: wrong type argument to increment
mod_sql_postgres.c:259: warning: implicit declaration of function `PQgetvalue'
mod_sql_postgres.c:259: warning: passing arg 2 of `pstrdup' makes pointer from 
integer without a cast
mod_sql_postgres.c: In function `cmd_open':
mod_sql_postgres.c:313: warning: implicit declaration of function `PQstatus'
mod_sql_postgres.c:313: dereferencing pointer to incomplete type
mod_sql_postgres.c:313: `CONNECTION_OK' undeclared (first use in this function)
mod_sql_postgres.c:325: dereferencing pointer to incomplete type
mod_sql_postgres.c:325: warning: implicit declaration of function `PQconnectdb'
mod_sql_postgres.c:325: dereferencing pointer to incomplete type
mod_sql_postgres.c:327: dereferencing pointer to incomplete type
mod_sql_postgres.c:327: `CONNECTION_BAD' undeclared (first use in this function)
mod_sql_postgres.c: In function `cmd_close':
mod_sql_postgres.c:422: warning: implicit declaration of function `PQfinish'
mod_sql_postgres.c:422: dereferencing pointer to incomplete type
mod_sql_postgres.c:423: dereferencing pointer to incomplete type
mod_sql_postgres.c: In function `cmd_defineconnection':
mod_sql_postgres.c:492: sizeof applied to an incomplete type
mod_sql_postgres.c:495: dereferencing pointer to incomplete type
mod_sql_postgres.c:496: dereferencing pointer to incomplete type
mod_sql_postgres.c:527: dereferencing pointer to incomplete type
mod_sql_postgres.c:528: dereferencing pointer to incomplete type
mod_sql_postgres.c:529: dereferencing pointer to incomplete type
mod_sql_postgres.c:532: dereferencing pointer to incomplete type
mod_sql_postgres.c:533: dereferencing pointer to incomplete type
mod_sql_postgres.c:533: dereferencing pointer to incomplete type
mod_sql_postgres.c:534: dereferencing pointer to incomplete type
mod_sql_postgres.c:534: dereferencing pointer to incomplete type
mod_sql_postgres.c:535: dereferencing pointer to incomplete type
mod_sql_postgres.c:553: dereferencing pointer to incomplete type
mod_sql_postgres.c:554: dereferencing pointer to incomplete type
mod_sql_postgres.c:555: dereferencing pointer to incomplete type
mod_sql_postgres.c:556: dereferencing pointer to incomplete type
mod_sql_postgres.c: In function `cmd_select':
mod_sql_postgres.c:677: dereferencing pointer to incomplete type
mod_sql_postgres.c:677: warning: implicit declaration of function `PQexec'
mod_sql_postgres.c:677: dereferencing pointer to incomplete type
mod_sql_postgres.c:678: warning: implicit declaration of function 
`PQresultStatus'
mod_sql_postgres.c:678: dereferencing pointer to incomplete type
mod_sql_postgres.c:678: `PGRES_TUPLES_OK' undeclared (first use in this 
function)
mod_sql_postgres.c:681: dereferencing pointer to incomplete type
mod_sql_postgres.c:681: warning: implicit declaration of function `PQclear'
mod_sql_postgres.c:681: dereferencing pointer to incomplete type
mod_sql_postgres.c:696: dereferencing pointer to incomplete type
mod_sql_postgres.c: In function `cmd_insert':
mod_sql_postgres.c:797: dereferencing pointer to incomplete type
mod_sql_postgres.c:797: dereferencing pointer to incomplete type
mod_sql_postgres.c:798: dereferencing pointer to incomplete type
mod_sql_postgres.c:798: `PGRES_COMMAND_OK' undeclared (first use in this 
function)
mod_sql_postgres.c:801: dereferencing pointer to incomplete type
mod_sql_postgres.c:801: dereferencing pointer to incomplete type
mod_sql_postgres.c:811: dereferencing pointer to incomplete type
mod_sql_postgres.c: In function `cmd_update':
mod_sql_postgres.c:901: dereferencing pointer to incomplete type
mod_sql_postgres.c:901: dereferencing pointer to incomplete type
mod_sql_postgres.c:902: dereferencing pointer to incomplete type
mod_sql_postgres.c:902: `PGRES_COMMAND_OK' undeclared (first use in this 
function)
mod_sql_postgres.c:905: dereferencing pointer to incomplete type
mod_sql_postgres.c:905: dereferencing pointer to incomplete type
mod_sql_postgres.c:915: dereferencing pointer to incomplete type
mod_sql_postgres.c: In function `cmd_query':
mod_sql_postgres.c:1022: dereferencing pointer to incomplete type
mod_sql_postgres.c:1022: dereferencing pointer to incomplete type
mod_sql_postgres.c:1023: dereferencing pointer to incomplete type
mod_sql_postgres.c:1023: `PGRES_TUPLES_OK' undeclared (first use in this 
function)
mod_sql_postgres.c:1024: dereferencing pointer to incomplete type
mod_sql_postgres.c:1024: `PGRES_COMMAND_OK' undeclared (first use in this 
function)
mod_sql_postgres.c:1027: dereferencing pointer to incomplete type
mod_sql_postgres.c:1027: dereferencing pointer to incomplete type
mod_sql_postgres.c:1041: dereferencing pointer to incomplete type
mod_sql_postgres.c:1044: dereferencing pointer to incomplete type
make[1]: *** [mod_sql_postgres.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Comment 1 Ryan Phillips (RETIRED) gentoo-dev 2002-08-18 21:07:16 UTC
Alexander: Can you try tweaking the ebuild and replacing emake with just make.
And tell me how it goes?
Comment 2 Ryan Phillips (RETIRED) gentoo-dev 2002-08-26 14:46:23 UTC
closing due to inactivity.