Am 07.07.2005 um 08:57 schrieb Guy Lauquin:
OSX 10.3.9, unstable tree, Package manager version: 0.24.7 Distribution version: 0.7.2.rsync Compilation of postgresql80-8.0.3-12 failed with the folowing message: checking that type of libpq's Oid is as expected... yes checking for strerror_r... yes checking for SUSv3-style strerror_r returning int... yes checking for strerror_r returning char *... yes configure: error:Your compiler offers a strerror_r() function, but test programs redeclaring it as returning int and char *, respectively, both compile successfully. The former is what the Single Unix Specification SUSv3 dictates, and the latter is an older GNU libc function. At least one of these tests should have failed, since there can't be two versions of this function taking the same arguments butreturning different types.As a result of this ambiguity, the configure script was unable to determine which version of the function is correct. You may need to use less permissive compiler options so that at least one of the alternatives will fail to compile.See the config.log for more details; search for strerror_r to find the relevant snippets. If all else fails, consider compiling a non-threadsafe version oflibpqxx using the configure script's --disable-thread-safety option. + exit 3 ### execution of /var/tmp/tmp.1.Vy7zUT failed, exit code 3 Removing build lock... dpkg -r fink-buildlock-postgresql80-8.0.3-12(Reading database ... 98560 files and directories currently installed.)Removing fink-buildlock-postgresql80-8.0.3-12 ... Failed: phase compiling: postgresql80-8.0.3-12 failed The config .log indicates : .... conftest.c:2: error: parse error before "me" configure:2557: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endifconfigure:2722: checking if gcc-3.3 -no-cpp-precomp supports - Wdeclaration-after-statement configure:2742: gcc-3.3 -no-cpp-precomp -c -O2 -Wall -Wmissing- prototypes -Wpointer-arith -Wdeclaration-after-statement -I/sw/src/ fink.build/root-postgresql80-8.0.3-12/sw/include/postgresql -I/sw/ src/fink.build/root-postgresql80-8.0.3-12/sw/include -I/sw/include - DHAVE_OPTRESET -fno-common conftest.c >&5cc1: error: unrecognized option `-Wdeclaration-after-statement' configure:2748: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "8.0.3" | #define PACKAGE_STRING "PostgreSQL 8.0.3" | #define PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org" | #define PG_VERSION "8.0.3" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2770: result: noconfigure:2775: checking if gcc-3.3 -no-cpp-precomp supports -Wold- style-definition configure:2795: gcc-3.3 -no-cpp-precomp -c -O2 -Wall -Wmissing- prototypes -Wpointer-arith -Wold-style-definition -I/sw/src/ fink.build/root-postgresql80-8.0.3-12/sw/include/postgresql -I/sw/ src/fink.build/root-postgresql80-8.0.3-12/sw/include -I/sw/include - DHAVE_OPTRESET -fno-common conftest.c >&5cc1: error: unrecognized option `-Wold-style-definition' configure:2801: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "8.0.3" | #define PACKAGE_STRING "PostgreSQL 8.0.3" | #define PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org" | #define PG_VERSION "8.0.3" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } Thanks for your help Guy -- ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
PGP.sig
Description: Signierter Teil der Nachricht