[Fink-users] installing opennms, postgresql74 problem
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
Re: [Fink-users] installing opennms, postgresql74 problem
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:
[Fink-users] FinkCommander lives once again!
Hello, I'm currently working on rewriting FinkCommander, mostly because I am dissatisfied with it's current state. I've set up an SVN repo at http://svn.dev.spontaneousdancing.net/finkcommander/, and have WebSVN set up at http://svn.dev.spontaneousdancing.net/listing.php? repname=python.FinkCommanderpath=%2Fsc=0 . I have a few questions for the users of FinkCommander: What do you dislike about FinkCommander, generally speaking? What do you suggest be done about it, i.e., if the icons are just plain ugly, where do you suggest that I look for new icons? What are some features that you feel are missing from FinkCommander now that you would like to see in the new version? Keep your responses to a minimum. See http://handbrake.m0k.org/?p=46 . You can get ahold of me on the #fink IRC channel, as well as the #finkcommander IRC channel (same net, freenode). As always, you can just email the mailing list, and I'm sure to pick it up - 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 Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
[Fink-users] FinkCommander lives again!
Hello, I'm currently working on rewriting FinkCommander, mostly because I am dissatisfied with it's current state. I've set up an SVN repo at http://svn.dev.spontaneousdancing.net/finkcommander/, and have WebSVN set up at http://svn.dev.spontaneousdancing.net/listing.php? repname=python.FinkCommanderpath=%2Fsc=0 . I have a few questions for the users of FinkCommander: What do you dislike about FinkCommander, generally speaking? What do you suggest be done about it, i.e., if the icons are just plain ugly, where do you suggest that I look for new icons? What are some features that you feel are missing from FinkCommander now that you would like to see in the new version? Keep your responses to a minimum. See http://handbrake.m0k.org/?p=46 . You can get ahold of me on the #fink IRC channel, as well as the #finkcommander IRC channel (same net, freenode). As always, you can just email the mailing list, and I'm sure to pick it up - 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 Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] gd2 compile problem using fink
It should have been installed by the X11SDK package (part of XCode). You might try reinstalling that. -- Dave On Jul 9, 2007, at 5:09 PM, Matthew S. Moore wrote: I thought that might be a problem. Any idea how to install it? Perhaps there is something I missed from the Xcode install? Thanks, Matthew David R. Morrison wrote: I have /usr/X11R6/include/ft2build.h . Apparently you don't. Are you using Apple's X11.app, or one of fink's X11 installations? -- Dave On Jul 9, 2007, at 2:45 PM, Matthew S. Moore wrote: Thank you for the quick response! Attached is a snippet of the config.log, but here is a grep for ft2build.h: $ grep ft2build.h /sw/src/fink.build/gd2-2.0.35-1/gd-2.0.35/ config.log configure:23715: checking ft2build.h usability conftest.c:69:22: error: ft2build.h: No such file or directory | #include ft2build.h configure:23773: checking ft2build.h presence conftest.c:36:22: error: ft2build.h: No such file or directory | #include ft2build.h configure:23848: checking for ft2build.h ac_cv_header_ft2build_h=no However, ft2build.h is installed under /sw: $ find /sw -name ft2build.h /sw/lib/freetype2/include/ft2build.h /sw/lib/freetype219/include/ft2build.h $ find /usr -name ft2build.h $ find /Developer -name ft2build.h /Developer/SDKs/MacOSX10.3.9.sdk/usr/X11R6/include/freetype2/ ft2build.h /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include/ft2build.h Thanks, Matthew David R. Morrison wrote: On Jul 9, 2007, at 12:43 PM, Matthew S. Moore wrote: Hello Dave, I am have trouble updating my installation of gd2 using fink to v2.0.35-1. It is using freetype2 from /usr/X11R6 rather than the fink version and then it can't find the header files: $ fink install gd2 ... ./configure --prefix=/sw --with-freetype=/usr/X11R6 ... checking for freetype-config... /usr/X11R6/bin/freetype-config checking for FT_Init_FreeType in -lfreetype... yes checking ft2build.h usability... no checking ft2build.h presence... no checking for ft2build.h... no Below is what I have installed at the moment for freetype and gd2: freetype1.3.1-11 freetype-bin1.3.1-11 freetype-hinting1.3.1-11 freetype-hinting-bin1.3.1-11 freetype-hinting-shlibs 1.3.1-11 freetype-shlibs 1.3.1-11 i freetype2 2.1.4-12 p freetype2-dev freetype2-hinting 2.1.4-12 i freetype2-hinting-dev 2.1.4-12 i freetype2-hinting-shlibs 2.1.4-12 p freetype2-shlibs i freetype219 2.2.1-4 i freetype219-shlibs 2.2.1-4 (i) gd2 2.0.35-1 gd2-bin 2.0.35-1 gd2-nox 2.0.35-1 gd2-nox-bin 2.0.35-1 (i) gd2-shlibs 2.0.35-1 Any suggestions on how to make this work would be much appreciated. Thanks, Matthew I can't reproduce your problem. Could you please search in /sw/src/fink.build/gd2-2.0.35-1/ gd-2.0.35/config.log for the string ft2build.h and send me that section of the file? Thanks, Dave configure:23715: checking ft2build.h usability configure:23732: gcc -c -g -O2 -I/usr/X11R6/include -I/usr/X11R6/ include/freetype2 -I/usr/X11R6/include -I/sw/include conftest.c 5 conftest.c:69:22: error: ft2build.h: No such file or directory configure:23738: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME GD | #define PACKAGE_TARNAME gd | #define PACKAGE_VERSION 2.0.35 | #define PACKAGE_STRING GD 2.0.35 | #define PACKAGE_BUGREPORT http://bugs.libgd.org; | #define PACKAGE gd | #define VERSION 2.0.35 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define STDC_HEADERS 1 | #define HAVE_ERRNO_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDDEF_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ICONV 1 | #define ICONV_CONST const | #define HAVE_ICONV_H 1 | #define HAVE_ICONV_T_DEF 1 | #define HAVE_LIBZ 1 | #define HAVE_PNG_H 1 | #define HAVE_LIBPNG 1 | #define HAVE_LIBFREETYPE 1 | /* end confdefs.h. */ | #include stdio.h | #if HAVE_SYS_TYPES_H | # include sys/types.h | #endif | #if HAVE_SYS_STAT_H | # include sys/stat.h | #endif | #if STDC_HEADERS | # include stdlib.h | # include stddef.h | #else | # if HAVE_STDLIB_H | # include stdlib.h | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS HAVE_MEMORY_H | # include memory.h | # endif | # include string.h | #endif | #if HAVE_STRINGS_H | # include strings.h | #endif | #if HAVE_INTTYPES_H | # include inttypes.h | #endif | #if HAVE_STDINT_H | # include stdint.h | #endif | #if HAVE_UNISTD_H | # include