On 7/9/07, rand <[EMAIL PROTECTED]> wrote: > G3 mac running 10.4 with dev tools and fink : > x:~ rand$ fink --version > Package manager version: 0.27.1 > Distribution version: 0.8.0.rsync powerpc > > > I've enabled unstable to use opennms, run fink selfupdate, fink update-all, > fink scanpackages and fink index to be uptodate, yet this error is still > happening. > > > I'm guessing that " pgsql2shp.c:33:22: error: libpq-fe.h: No such file or > directory" is my problem, wondering why I wouldn't be getting this file when > it downloads what it needs? > Which package should I install to get this file so that I can complete the > opennms install to try out? > > ta > > /rand > > > > make -C loader > gcc -g -Wall -I.. -DUSE_VERSION=74 > -I/sw/lib/system-openssl/include -I/sw/include/gnugetopt > -I/sw/include -DHAVE_OPTRESET -c -o shpopen.o shpopen.c > shpopen.c:176: warning: 'rcsid' defined but not used > gcc -g -Wall -I.. -DUSE_VERSION=74 > -I/sw/lib/system-openssl/include -I/sw/include/gnugetopt > -I/sw/include -DHAVE_OPTRESET -c -o dbfopen.o dbfopen.c > dbfopen.c:206: warning: 'rcsid' defined but not used > gcc -g -Wall -I.. -DUSE_VERSION=74 > -I/sw/lib/system-openssl/include -I/sw/include/gnugetopt > -I/sw/include -DHAVE_OPTRESET -c -o getopt.o getopt.c > gcc -g -Wall -I.. -DUSE_VERSION=74 > -I/sw/lib/system-openssl/include -I/sw/include/gnugetopt > -I/sw/include -DHAVE_OPTRESET -c -o shp2pgsql.o shp2pgsql.c > gcc -g -Wall -I.. -DUSE_VERSION=74 shpopen.o dbfopen.o getopt.o shp2pgsql.o > -L/sw/lib/system-openssl/lib -L/sw/lib -o shp2pgsql > gcc -g -Wall -I.. -DUSE_VERSION=74 -I/sw/include/postgresql -c pgsql2shp.c > pgsql2shp.c:33:22: error: libpq-fe.h: No such file or directory > pgsql2shp.c:66: error: parse error before '*' token > pgsql2shp.c:66: warning: type defaults to 'int' in declaration of 'conn' > pgsql2shp.c:66: warning: data definition has no type or storage class > pgsql2shp.c:86: error: parse error before '*' token > pgsql2shp.c:90: error: parse error before '*' token > pgsql2shp.c:91: error: parse error before "PGresult" > pgsql2shp.c:93: error: parse error before '*' token > pgsql2shp.c:152: error: parse error before '*' token > pgsql2shp.c : In function 'exit_nicely': > pgsql2shp.c:153: warning: implicit declaration of function 'PQfinish' > pgsql2shp.c: In function 'main': > pgsql2shp.c:162: error: 'PGresult' undeclared (first use in this function) > pgsql2shp.c:162: error: (Each undeclared identifier is reported only once > pgsql2shp.c:162: error: for each function it appears in.) > pgsql2shp.c:162: error: 'res' undeclared (first use in this function) > pgsql2shp.c:210: warning: implicit declaration of function 'PQconnectdb' > pgsql2shp.c:210: warning: assignment makes pointer from integer without a > cast > pgsql2shp.c:211: warning: implicit declaration of function 'PQstatus' > pgsql2shp.c:211: error: 'CONNECTION_BAD' undeclared (first use in this > function) > pgsql2shp.c:212: warning: implicit declaration of function 'PQerrorMessage' > pgsql2shp.c:212: warning: format '%s' expects type 'char *', but argument 2 > has type 'int' > pgsql2shp.c:248: warning: implicit declaration of function 'PQexec' > pgsql2shp.c:249: warning: implicit declaration of function 'PQresultStatus' > pgsql2shp.c:249: error: 'PGRES_COMMAND_OK' undeclared (first use in this > function) > pgsql2shp.c:250: warning: format '%s' expects type 'char *', but argument 2 > has type 'int' > pgsql2shp.c:253: warning: implicit declaration of function 'PQclear' > pgsql2shp.c:273: warning: format '%s' expects type 'char *', but argument 2 > has type 'int' > pgsql2shp.c:295: error: 'PGRES_TUPLES_OK' undeclared (first use in this > function) > pgsql2shp.c:297: warning: format '%s' expects type 'char *', but argument 2 > has type 'int' > pgsql2shp.c:302: warning: implicit declaration of function 'PQntuples' > pgsql2shp.c : At top level: > pgsql2shp.c:1918: error: parse error before '*' token > pgsql2shp.c: In function 'getGeometryOID': > pgsql2shp.c:1920: error: 'PGresult' undeclared (first use in this function) > pgsql2shp.c:1920: error: 'res1' undeclared (first use in this function) > pgsql2shp.c:1925: error: 'PGRES_TUPLES_OK' undeclared (first use in this > function) > pgsql2shp.c:1927: warning: format '%s' expects type 'char *', but argument 2 > has type 'int' > pgsql2shp.c:1938: warning: implicit declaration of function 'PQgetvalue' > pgsql2shp.c: At top level: > pgsql2shp.c:1953: error: parse error before '*' token > pgsql2shp.c : In function 'addRecord': > pgsql2shp.c:1956: warning: implicit declaration of function 'PQnfields' > pgsql2shp.c:1956: error: 'res' undeclared (first use in this function) > pgsql2shp.c:1976: warning: implicit declaration of function 'PQgetisnull' > pgsql2shp.c:1976: error: 'residx' undeclared (first use in this function) > pgsql2shp.c:1982: warning: assignment makes pointer from integer without a > cast > pgsql2shp.c:1988: error: 'row' undeclared (first use in this function) > pgsql2shp.c:2016: warning: assignment makes pointer from integer without a > cast > pgsql2shp.c:2022: warning: implicit declaration of function > 'PQunescapeBytea' > pgsql2shp.c:2022: warning: assignment makes pointer from integer without a > cast > pgsql2shp.c: In function 'getTableOID': > pgsql2shp.c:2073: error: 'PGresult' undeclared (first use in this function) > pgsql2shp.c:2073: error: 'res3' undeclared (first use in this function) > pgsql2shp.c:2092: error: 'PGRES_TUPLES_OK' undeclared (first use in this > function) > pgsql2shp.c:2093: warning: format '%s' expects type 'char *', but argument 2 > has type 'int' > pgsql2shp.c:2097: warning: passing argument 1 of 'strdup' makes pointer from > integer without a cast > pgsql2shp.c:2103: warning: passing argument 1 of 'strdup' makes pointer from > integer without a cast > pgsql2shp.c: In function 'getGeometryType': > pgsql2shp.c:2120: error: 'PGresult' undeclared (first use in this function) > pgsql2shp.c:2120: error: 'res' undeclared (first use in this function) > pgsql2shp.c:2149: error: 'PGRES_TUPLES_OK' undeclared (first use in this > function) > pgsql2shp.c:2150: warning: format '%s' expects type 'char *', but argument 2 > has type 'int' > pgsql2shp.c:2164: warning: assignment makes pointer from integer without a > cast > pgsql2shp.c: In function 'getGeometryMaxDims': > pgsql2shp.c:2248: error: 'PGresult' undeclared (first use in this function) > pgsql2shp.c:2248: error: 'res' undeclared (first use in this function) > pgsql2shp.c:2268: error: 'PGRES_TUPLES_OK' undeclared (first use in this > function) > pgsql2shp.c:2269: warning: format '%s' expects type 'char *', but argument 2 > has type 'int' > pgsql2shp.c:2281: warning: passing argument 1 of 'atoi' makes pointer from > integer without a cast > pgsql2shp.c: In function 'parse_commandline': > pgsql2shp.c:2336: warning: implicit declaration of function 'getopt' > pgsql2shp.c: In function 'get_postgis_major_version': > pgsql2shp.c:2403: error: 'PGresult' undeclared (first use in this function) > pgsql2shp.c:2403: error: 'res' undeclared (first use in this function) > pgsql2shp.c:2409: error: 'PGRES_TUPLES_OK' undeclared (first use in this > function) > pgsql2shp.c:2412: warning: format '%s' expects type 'char *', but argument 2 > has type 'int' > pgsql2shp.c:2416: warning: assignment makes pointer from integer without a > cast > pgsql2shp.c: In function 'initialize': > pgsql2shp.c:2429: error: 'PGresult' undeclared (first use in this function) > pgsql2shp.c:2429: error: 'res' undeclared (first use in this function) > pgsql2shp.c:2485: error: 'PGRES_TUPLES_OK' undeclared (first use in this > function) > pgsql2shp.c:2487: warning: format '%s' expects type 'char *', but argument 2 > has type 'int' > pgsql2shp.c:2524: warning: assignment makes pointer from integer without a > cast > pgsql2shp.c:2525: warning: passing argument 1 of 'atoi' makes pointer from > integer without a cast > pgsql2shp.c :2526: warning: passing argument 1 of 'atoi' makes pointer from > integer without a cast > pgsql2shp.c:2527: warning: passing argument 1 of 'atoi' makes pointer from > integer without a cast > pgsql2shp.c: At top level: > pgsql2shp.c:2970: error: parse error before '*' token > pgsql2shp.c: In function 'getMaxFieldSize': > pgsql2shp.c:2974: error: 'PGresult' undeclared (first use in this function) > pgsql2shp.c:2974: error: 'res' undeclared (first use in this function) > pgsql2shp.c:2981: error: 'fname' undeclared (first use in this function) > pgsql2shp.c:2999: error: 'PGRES_TUPLES_OK' undeclared (first use in this > function) > pgsql2shp.c:3001: warning: format '%s' expects type 'char *', but argument 2 > has type 'int' > pgsql2shp.c:3010: warning: passing argument 1 of 'atoi' makes pointer from > integer without a cast > pgsql2shp.c: In function 'create_usrquerytable': > pgsql2shp.c:3246: error: 'PGresult' undeclared (first use in this function) > pgsql2shp.c:3246: error: 'res' undeclared (first use in this function) > pgsql2shp.c:3255: error: 'PGRES_COMMAND_OK' undeclared (first use in this > function) > pgsql2shp.c:3257: warning: format '%s' expects type 'char *', but argument 2 > has type 'int' > make[1]: *** [pgsql2shp.o] Error 1 > make: *** [loaderdumper] Error 2 > + exit 3 > ### execution of /var/tmp/tmp.4.4OiY6u failed, exit code 3 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r > fink-buildlock-postgresql74-unified-7.4.13-21 > (Reading database ... 21547 files and directories currently installed.) > Removing fink-buildlock-postgresql74-unified-7.4.13-21 ... > Updating the list of locally available binary packages. > Scanning dists/unstable/main/binary-darwin-powerpc > New package: > dists/unstable/main/binary-darwin-powerpc/devel/ant-optional_1.6.5-6_darwin- > powerpc.deb > New package: > dists/unstable/main/binary-darwin-powerpc/devel/ant_1.6.5-6_darwin-powerpc.deb > New package: > dists/unstable/main/binary-darwin-powerpc/libs/stylebook_1.0-0.b3.3_darwin-powerpc.deb > Downloading the indexes of available packages in the binary distribution. > /sw/bin/apt-get-lockwait -q update > Hit http://bindist.finkmirrors.net 10.4-transitional /release/main Packages > Hit http://bindist.finkmirrors.net 10.4-transitional/release/main Release > Hit http://bindist.finkmirrors.net 10.4-transitional/release/crypto Packages > Hit http://bindist.finkmirrors.net 10.4-transitional/release/crypto Release > Hit http://bindist.finkmirrors.net 10.4-transitional/current/main Packages > Hit http://bindist.finkmirrors.net 10.4-transitional/current/main Release > Hit http://bindist.finkmirrors.net 10.4-transitional/current/crypto Packages > Hit http://bindist.finkmirrors.net 10.4-transitional/current/crypto Release > Reading Package Lists... > Building Dependency Tree... > Failed: phase compiling: postgresql74-unified-7.4.13-21 failed >
The missing file is normally from one of the postsgreql-dev packages. However, you have a more serious issue: you're using the deprecated 10.4-transitional distribution, in which there have been no package fixes in about a year. http://fink.sourceforge.net/news/#2006-07-24%20Reminder%3A%20%2210.4-transitional%22%20Tree%20Unsupported%20on%20August%201st%2C%202006 -- Alexander K. Hansen akh AT finkproject DOT org Fink User Liaison and Documenter ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
