From muman@softwaremagic.net Wed Feb 19 02:39:40 2003 X-Original-To: pgsql-interfaces@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 5D21247580B for ; Tue, 18 Feb 2003 21:39:40 -0500 (EST) Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) by postgresql.org (Postfix) with ESMTP id 6A916475458 for ; Tue, 18 Feb 2003 21:39:39 -0500 (EST) Received: from BUD ([64.164.23.50]) by mta6.snfc21.pbi.net (iPlanet Messaging Server 5.1 HotFix 1.6 (built Oct 18 2002)) with ESMTP id <0HAJ00DSABAA1V@mta6.snfc21.pbi.net> for pgsql-interfaces@postgresql.org; Tue, 18 Feb 2003 18:37:26 -0800 (PST) Date: Tue, 18 Feb 2003 18:37:13 -0800 From: Michael Uman Subject: Help with Win32 MingW build To: pgsql-interfaces@postgresql.org Message-id: <000001c2d7bf$cf823ea0$3217a440@BUD> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Mailer: Microsoft Outlook, Build 10.0.2627 Content-type: multipart/mixed; boundary="Boundary_(ID_xajJDVMLUuA9bjYnd03xDA)" Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/77 X-Sequence-Number: 3698 This is a multi-part message in MIME format. --Boundary_(ID_xajJDVMLUuA9bjYnd03xDA) Content-type: multipart/alternative; boundary="Boundary_(ID_TcUShwYTVj/811uXaiSBIQ)" --Boundary_(ID_TcUShwYTVj/811uXaiSBIQ) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Hello, I am making progress slowly but surely. I have just completed building library popt for MingW so I can port my application to windows. This is working just great. Now I need to port libpqxx to Win32. I have PostgresSQL installed on my Windows machine. It is apparently a Cygwin build because it includes the CygWin.dll component. I have it installed to C:\Program Files\PostgreSQL and it works just fine. The problem I have is when I build the darn thing the configure script gets munged. It reports that the libpq-fe.h header file is not available. I have ensured that the path to the include and libs are set to /usr/local/lib/pgsql and /usr/local/include/pgsql but the config.log always reports that the test for the header file fails. I have attached the log file to this message.. It seems to find the header file and set the variable properly, but the conftest seems to be failing. Anyone with any insight into getting past this issue please help! I appreciate any feedback regarding this issue. Thank you, Michael Uman Softwaremagic.net --Boundary_(ID_TcUShwYTVj/811uXaiSBIQ) Content-type: text/html; charset=us-ascii Content-transfer-encoding: 7BIT

Hello,

 

I am making progress slowly but surely. I have just completed building library popt for MingW so I can port my application to windows. This is working just great. Now I need to port libpqxx to Win32. I have PostgresSQL installed on my Windows machine. It is apparently a Cygwin build because it includes the CygWin.dll component. I have it installed to C:\Program Files\PostgreSQL and it works just fine. The problem I have is when I build the darn thing the configure script gets munged. It reports that the libpq-fe.h header file is not available. I have ensured that the path to the include and libs are set to /usr/local/lib/pgsql and /usr/local/include/pgsql but the config.log always reports that the test for the header file fails. I have attached the log file to this message.. It seems to find the header file and set the variable properly, but the conftest seems to be failing… Anyone with any insight into getting past this issue please help!

 

I appreciate any feedback regarding this issue.

 

Thank you,

Michael Uman

Softwaremagic.net

 

--Boundary_(ID_TcUShwYTVj/811uXaiSBIQ)-- --Boundary_(ID_xajJDVMLUuA9bjYnd03xDA) Content-type: application/octet-stream; name=config.log Content-transfer-encoding: quoted-printable Content-disposition: attachment; filename=config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by libpqxx configure 1.3.6, which was generated by GNU Autoconf 2.57. Invocation command line was $ ./configure --prefix=3D/usr/local ## --------- ## ## Platform. ## ## --------- ## hostname =3D BUD uname -m =3D i686 uname -r =3D 1.0.8(0.46/3/2) uname -s =3D MINGW32_NT-5.1 uname -v =3D 2002-12-09 07:58 /usr/bin/uname -p =3D unknown /bin/uname -X =3D unknown /bin/arch =3D unknown /usr/bin/arch -k =3D unknown /usr/convex/getsysinfo =3D unknown hostinfo =3D unknown /bin/machine =3D unknown /usr/bin/oslevel =3D unknown /bin/universe =3D unknown PATH: . PATH: /usr/local/bin PATH: /mingw/bin PATH: /bin PATH: /c/WINDOWS/system32 PATH: /c/WINDOWS PATH: /c/WINDOWS/System32/Wbem PATH: /c/Program Files/Perforce PATH: /c/Program Files/doxygen/bin PATH: /c/PROGRA~1/ATT/Graphviz/bin PATH: /c/PROGRA~1/ATT/Graphviz/bin/tools PATH: /c/Program Files/PostgreSQL/bin PATH: /mingw/bin PATH: /c/Program Files/Microsoft Visual Studio/Common/Tools/WinNT PATH: /c/Program Files/Microsoft Visual Studio/Common/MSDev98/Bin PATH: /c/Program Files/Microsoft Visual Studio/Common/Tools PATH: /c/Program Files/Microsoft Visual Studio/VC98/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1375: loading site script /etc/config.site | lt_cv_cc_dll_switch=3D${lt_cv_cc_dll_switch=3D-mdll} | lt_cv_compiler_c_o=3D${lt_cv_compiler_c_o=3Dyes} | lt_cv_compiler_o_lo=3D${lt_cv_compiler_o_lo=3Dyes} | lt_cv_deplibs_check_method=3D${lt_cv_deplibs_check_method=3D'file_magic f= ile format pei*-i386(.*architecture: i386)?'} | lt_cv_file_magic_cmd=3D${lt_cv_file_magic_cmd=3D'$OBJDUMP -f'} | lt_cv_file_magic_test_file=3D${lt_cv_file_magic_test_file=3D} | test "${lt_cv_global_symbol_to_c_name_address+set}" =3D set || lt_cv_glob= al_symbol_to_c_name_address=3D'sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (l= t_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr= ) \&\2},/p'\''' | lt_cv_global_symbol_to_cdecl=3D${lt_cv_global_symbol_to_cdecl=3D'sed -n -= e '\''s/^. .* \(.*\)$/extern char \1;/p'\'''} | lt_cv_ld_reload_flag=3D${lt_cv_ld_reload_flag=3D-r} | lt_cv_need_dllmain=3D${lt_cv_need_dllmain=3Dno} | lt_cv_prog_cc_can_build_shared=3D${lt_cv_prog_cc_can_build_shared=3Dyes} | lt_cv_prog_cc_no_builtin=3D${lt_cv_prog_cc_no_builtin=3D} | lt_cv_prog_cc_pic=3D${lt_cv_prog_cc_pic=3D' -DDLL_EXPORT'} | lt_cv_prog_cc_pic_works=3D${lt_cv_prog_cc_pic_works=3Dyes} | lt_cv_prog_cc_shlib=3D${lt_cv_prog_cc_shlib=3D} | lt_cv_prog_cc_static=3D${lt_cv_prog_cc_static=3D-static} | lt_cv_prog_cc_static_works=3D${lt_cv_prog_cc_static_works=3Dyes} | lt_cv_prog_cc_wl=3D${lt_cv_prog_cc_wl=3D-Wl,} | lt_cv_prog_gnu_ld=3D${lt_cv_prog_gnu_ld=3Dyes} | lt_cv_sys_global_symbol_pipe=3D${lt_cv_sys_global_symbol_pipe=3D} | lt_cv_sys_path_separator=3D${lt_cv_sys_path_separator=3D:} configure:1520: checking for a BSD-compatible install configure:1574: result: /bin/install -c configure:1585: checking whether build environment is sane configure:1628: result: yes configure:1661: checking for gawk configure:1677: found /bin/gawk configure:1687: result: gawk configure:1697: checking whether make sets $(MAKE) configure:1717: result: yes configure:1941: checking for g++ configure:1957: found /mingw/bin/g++ configure:1967: result: g++ configure:1983: checking for C++ compiler version configure:1986: g++ --version &5 g++.exe (GCC) 3.2 (mingw special 20020817-1) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:1989: $? =3D 0 configure:1991: g++ -v &5 Reading specs from C:/MingW/bin/../lib/gcc-lib/mingw32/3.2/specs Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as --= host=3Dmingw32 --target=3Dmingw32 --prefix=3D/mingw --enable-threads --disa= ble-nls --enable-languages=3Df77,c++,objc,ada --disable-win32-registry --di= sable-shared Thread model: win32 gcc version 3.2 (mingw special 20020817-1) configure:1994: $? =3D 0 configure:1996: g++ -V &5 g++.exe: argument to `-V' missing configure:1999: $? =3D 1 configure:2023: checking for C++ compiler default output configure:2026: g++ conftest.cc >&5 configure:2029: $? =3D 0 configure:2075: result: a.exe configure:2080: checking whether the C++ compiler works configure:2086: ./a.exe configure:2089: $? =3D 0 configure:2106: result: yes configure:2113: checking whether we are cross compiling configure:2115: result: no configure:2118: checking for suffix of executables configure:2120: g++ -o conftest.exe conftest.cc >&5 configure:2123: $? =3D 0 configure:2148: result: .exe configure:2154: checking for suffix of object files configure:2176: g++ -c conftest.cc >&5 configure:2179: $? =3D 0 configure:2201: result: o configure:2205: checking whether we are using the GNU C++ compiler configure:2230: g++ -c conftest.cc >&5 configure:2233: $? =3D 0 configure:2236: test -s conftest.o configure:2239: $? =3D 0 configure:2252: result: yes configure:2258: checking whether g++ accepts -g configure:2280: g++ -c -g conftest.cc >&5 configure:2283: $? =3D 0 configure:2286: test -s conftest.o configure:2289: $? =3D 0 configure:2300: result: yes configure:2344: g++ -c -g -O2 conftest.cc >&5 configure:2347: $? =3D 0 configure:2350: test -s conftest.o configure:2353: $? =3D 0 configure:2380: g++ -c -g -O2 conftest.cc >&5 configure: In function `int main()': configure:2377: `exit' undeclared (first use this function) configure:2377: (Each undeclared identifier is reported only once for each= =20 function it appears in.) configure:2383: $? =3D 1 configure: failed program was: | #line 2363 "configure" | /* confdefs.h. */ |=20 | #define PACKAGE_NAME "libpqxx" | #define PACKAGE_TARNAME "libpqxx" | #define PACKAGE_VERSION "1.3.6" | #define PACKAGE_STRING "libpqxx 1.3.6" | #define PACKAGE_BUGREPORT "Jeroen T. Vermeulen " | #define PACKAGE "libpqxx" | #define VERSION "1.3.6" | /* end confdefs.h. */ |=20 | int | main () | { | exit (42); | ; | return 0; | } configure:2344: g++ -c -g -O2 conftest.cc >&5 configure:2347: $? =3D 0 configure:2350: test -s conftest.o configure:2353: $? =3D 0 configure:2380: g++ -c -g -O2 conftest.cc >&5 configure:2383: $? =3D 0 configure:2386: test -s conftest.o configure:2389: $? =3D 0 configure:2431: checking for style of include used by make configure:2459: result: GNU configure:2487: checking dependency style of g++ configure:2549: result: gcc3 configure:2612: checking for gcc configure:2628: found /mingw/bin/gcc configure:2638: result: gcc configure:2882: checking for C compiler version configure:2885: gcc --version &5 gcc.exe (GCC) 3.2 (mingw special 20020817-1) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2888: $? =3D 0 configure:2890: gcc -v &5 Reading specs from C:/MingW/bin/../lib/gcc-lib/mingw32/3.2/specs Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as --= host=3Dmingw32 --target=3Dmingw32 --prefix=3D/mingw --enable-threads --disa= ble-nls --enable-languages=3Df77,c++,objc,ada --disable-win32-registry --di= sable-shared Thread model: win32 gcc version 3.2 (mingw special 20020817-1) configure:2893: $? =3D 0 configure:2895: gcc -V &5 gcc.exe: argument to `-V' is missing configure:2898: $? =3D 1 configure:2901: checking whether we are using the GNU C compiler configure:2926: gcc -c conftest.c >&5 configure:2929: $? =3D 0 configure:2932: test -s conftest.o configure:2935: $? =3D 0 configure:2948: result: yes configure:2954: checking whether gcc accepts -g configure:2976: gcc -c -g conftest.c >&5 configure:2979: $? =3D 0 configure:2982: test -s conftest.o configure:2985: $? =3D 0 configure:2996: result: yes configure:3013: checking for gcc option to accept ANSI C configure:3074: gcc -c -g -O2 conftest.c >&5 configure:3077: $? =3D 0 configure:3080: test -s conftest.o configure:3083: $? =3D 0 configure:3101: result: none needed configure:3119: gcc -c -g -O2 conftest.c >&5 conftest.c:2: parse error before "me" configure:3122: $? =3D 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:3233: checking dependency style of gcc configure:3295: result: gcc3 configure:3324: checking for a BSD-compatible install configure:3378: result: /bin/install -c configure:3461: checking build system type configure:3479: result: i686-pc-mingw32 configure:3487: checking host system type configure:3501: result: i686-pc-mingw32 configure:3531: checking for ld used by GCC configure:3594: result: C:/MingW/mingw32/bin/ld.exe configure:3603: checking if the linker (C:/MingW/mingw32/bin/ld.exe) is GNU= ld configure:3615: result: yes configure:3620: checking for C:/MingW/mingw32/bin/ld.exe option to reload o= bject files configure:3627: result: -r configure:3632: checking for BSD-compatible nm configure:3668: result: /mingw/bin/nm configure:3671: checking for a sed that does not truncate output configure:3753: result: /bin/sed configure:3756: checking whether ln -s works configure:3760: result: yes configure:3767: checking how to recognise dependent libraries configure:3948: result: file_magic file format pei*-i386(.*architecture: i3= 86)? configure:3961: checking command to parse /mingw/bin/nm output configure:4151: result: failed configure:4163: checking how to run the C preprocessor configure:4199: gcc -E conftest.c configure:4205: $? =3D 0 configure:4237: gcc -E conftest.c configure:4241:28: ac_nonexistent.h: No such file or directory configure:4243: $? =3D 1 configure: failed program was: | #line 4228 "configure" | /* confdefs.h. */ |=20 | #define PACKAGE_NAME "libpqxx" | #define PACKAGE_TARNAME "libpqxx" | #define PACKAGE_VERSION "1.3.6" | #define PACKAGE_STRING "libpqxx 1.3.6" | #define PACKAGE_BUGREPORT "Jeroen T. Vermeulen " | #define PACKAGE "libpqxx" | #define VERSION "1.3.6" | #ifdef __cplusplus | #include | #endif | /* end confdefs.h. */ | #include configure:4281: result: gcc -E configure:4306: gcc -E conftest.c configure:4312: $? =3D 0 configure:4344: gcc -E conftest.c configure:4348:28: ac_nonexistent.h: No such file or directory configure:4350: $? =3D 1 configure: failed program was: | #line 4335 "configure" | /* confdefs.h. */ |=20 | #define PACKAGE_NAME "libpqxx" | #define PACKAGE_TARNAME "libpqxx" | #define PACKAGE_VERSION "1.3.6" | #define PACKAGE_STRING "libpqxx 1.3.6" | #define PACKAGE_BUGREPORT "Jeroen T. Vermeulen " | #define PACKAGE "libpqxx" | #define VERSION "1.3.6" | #ifdef __cplusplus | #include | #endif | /* end confdefs.h. */ | #include configure:4393: checking for egrep configure:4403: result: grep -E configure:4408: checking for ANSI C header files configure:4434: gcc -c -g -O2 conftest.c >&5 configure:4437: $? =3D 0 configure:4440: test -s conftest.o configure:4443: $? =3D 0 configure:4532: gcc -o conftest.exe -g -O2 conftest.c >&5 configure:4535: $? =3D 0 configure:4537: ./conftest.exe configure:4540: $? =3D 0 configure:4555: result: yes configure:4579: checking for sys/types.h configure:4596: gcc -c -g -O2 conftest.c >&5 configure:4599: $? =3D 0 configure:4602: test -s conftest.o configure:4605: $? =3D 0 configure:4616: result: yes configure:4579: checking for sys/stat.h configure:4596: gcc -c -g -O2 conftest.c >&5 configure:4599: $? =3D 0 configure:4602: test -s conftest.o configure:4605: $? =3D 0 configure:4616: result: yes configure:4579: checking for stdlib.h configure:4596: gcc -c -g -O2 conftest.c >&5 configure:4599: $? =3D 0 configure:4602: test -s conftest.o configure:4605: $? =3D 0 configure:4616: result: yes configure:4579: checking for string.h configure:4596: gcc -c -g -O2 conftest.c >&5 configure:4599: $? =3D 0 configure:4602: test -s conftest.o configure:4605: $? =3D 0 configure:4616: result: yes configure:4579: checking for memory.h configure:4596: gcc -c -g -O2 conftest.c >&5 configure:4599: $? =3D 0 configure:4602: test -s conftest.o configure:4605: $? =3D 0 configure:4616: result: yes configure:4579: checking for strings.h configure:4596: gcc -c -g -O2 conftest.c >&5 configure:4599: $? =3D 0 configure:4602: test -s conftest.o configure:4605: $? =3D 0 configure:4616: result: yes configure:4579: checking for inttypes.h configure:4596: gcc -c -g -O2 conftest.c >&5 configure:4599: $? =3D 0 configure:4602: test -s conftest.o configure:4605: $? =3D 0 configure:4616: result: yes configure:4579: checking for stdint.h configure:4596: gcc -c -g -O2 conftest.c >&5 configure:4599: $? =3D 0 configure:4602: test -s conftest.o configure:4605: $? =3D 0 configure:4616: result: yes configure:4579: checking for unistd.h configure:4596: gcc -c -g -O2 conftest.c >&5 configure:4599: $? =3D 0 configure:4602: test -s conftest.o configure:4605: $? =3D 0 configure:4616: result: yes configure:4642: checking dlfcn.h usability configure:4655: gcc -c -g -O2 conftest.c >&5 configure:4701:19: dlfcn.h: No such file or directory configure:4658: $? =3D 1 configure: failed program was: | #line 4644 "configure" | /* confdefs.h. */ |=20 | #define PACKAGE_NAME "libpqxx" | #define PACKAGE_TARNAME "libpqxx" | #define PACKAGE_VERSION "1.3.6" | #define PACKAGE_STRING "libpqxx 1.3.6" | #define PACKAGE_BUGREPORT "Jeroen T. Vermeulen " | #define PACKAGE "libpqxx" | #define VERSION "1.3.6" | #ifdef __cplusplus | #include | #endif | #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 | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | #include configure:4674: result: no configure:4678: checking dlfcn.h presence configure:4689: gcc -E conftest.c configure:4703:19: dlfcn.h: No such file or directory configure:4695: $? =3D 1 configure: failed program was: | #line 4680 "configure" | /* confdefs.h. */ |=20 | #define PACKAGE_NAME "libpqxx" | #define PACKAGE_TARNAME "libpqxx" | #define PACKAGE_VERSION "1.3.6" | #define PACKAGE_STRING "libpqxx 1.3.6" | #define PACKAGE_BUGREPORT "Jeroen T. Vermeulen " | #define PACKAGE "libpqxx" | #define VERSION "1.3.6" | #ifdef __cplusplus | #include | #endif | #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 | /* end confdefs.h. */ | #include configure:4714: result: no configure:4750: checking for dlfcn.h configure:4757: result: no configure:4955: checking for ranlib configure:4971: found /mingw/bin/ranlib configure:4982: result: ranlib configure:5035: checking for strip configure:5051: found /mingw/bin/strip configure:5062: result: strip configure:5272: checking for objdir configure:5283: result: .libs configure:5300: checking for gcc option to produce PIC configure:5446: result: -DDLL_EXPORT configure:5450: checking if gcc PIC flag -DDLL_EXPORT works configure:5521: result: yes configure:5537: checking if gcc static flag -static works configure:5587: result: yes configure:5599: checking if gcc supports -c -o file.o configure:5643: result: yes configure:5648: checking if gcc supports -c -o file.lo configure:5707: result: yes configure:5738: checking if gcc supports -fno-rtti -fno-exceptions configure:5761: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c conf= test.c >&5 configure:5764: $? =3D 0 configure:5767: test -s conftest.o configure:5770: $? =3D 0 configure:5787: result: yes configure:5798: checking whether the linker (C:/MingW/mingw32/bin/ld.exe) s= upports shared libraries configure:6493: result: yes configure:6498: checking how to hardcode library paths into programs configure:6522: result: immediate configure:6527: checking whether stripping libraries is possible configure:6532: result: yes configure:6543: checking dynamic linker characteristics configure:6963: result: Win32 ld.exe configure:6968: checking if libtool supports shared libraries configure:6970: result: yes configure:6973: checking whether to build shared libraries configure:6994: result: yes configure:6997: checking whether to build static libraries configure:7001: result: yes configure:8289: checking whether make sets $(MAKE) configure:8309: result: yes configure:8359: checking for ranlib configure:8386: result: ranlib configure:8409: checking name of standard namespace configure:8431: g++ -c -g -O2 conftest.cc >&5 configure:8434: $? =3D 0 configure:8437: test -s conftest.o configure:8440: $? =3D 0 configure:8458: result:=20 configure:8461: checking whether to enable maintainer-specific portions of = Makefiles configure:8470: result: no configure:8487: checking maintainer mode configure:8494: result:=20 configure:8601: checking for /usr/local/include/postgresql/libpq-fe.h configure:8616: result: no configure:8601: checking for /usr/local/include/pgsql/libpq-fe.h configure:8616: result: yes configure:8652: checking for /usr/local/lib/postgresql/libpq.so configure:8667: result: no configure:8652: checking for /usr/local/lib/postgresql/libpq.a configure:8667: result: no configure:8652: checking for /usr/local/lib/postgresql/libpq.sa configure:8667: result: no configure:8652: checking for /usr/local/lib/pgsql/libpq.so configure:8667: result: no configure:8652: checking for /usr/local/lib/pgsql/libpq.a configure:8667: result: yes configure:8652: checking for /usr/local/lib/pgsql/libpq.sa configure:8667: result: no configure:8713: checking for PQexec in -lpq configure:8744: gcc -o conftest.exe -g -O2 conftest.c -lpq -L/usr/local/l= ib/pgsql >&5 configure:8747: $? =3D 0 configure:8750: test -s conftest.exe configure:8753: $? =3D 0 configure:8765: result: yes configure:8790: checking for ANSI C header files configure:8937: result: yes configure:8958: checking /usr/local/include/pgsql/libpq-fe.h usability configure:8971: gcc -c -g -O2 conftest.c >&5 configure:9020:47: /usr/local/include/pgsql/libpq-fe.h: No such file or dir= ectory configure:8974: $? =3D 1 configure: failed program was: | #line 8960 "configure" | /* confdefs.h. */ |=20 | #define PACKAGE_NAME "libpqxx" | #define PACKAGE_TARNAME "libpqxx" | #define PACKAGE_VERSION "1.3.6" | #define PACKAGE_STRING "libpqxx 1.3.6" | #define PACKAGE_BUGREPORT "Jeroen T. Vermeulen " | #define PACKAGE "libpqxx" | #define VERSION "1.3.6" | #ifdef __cplusplus | #include | #endif | #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 PGSTD std | #define HAVE_LIBPQ 1 | #define STDC_HEADERS 1 | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | #include configure:8990: result: no configure:8994: checking /usr/local/include/pgsql/libpq-fe.h presence configure:9005: gcc -E conftest.c configure:9022:47: /usr/local/include/pgsql/libpq-fe.h: No such file or dir= ectory configure:9011: $? =3D 1 configure: failed program was: | #line 8996 "configure" | /* confdefs.h. */ |=20 | #define PACKAGE_NAME "libpqxx" | #define PACKAGE_TARNAME "libpqxx" | #define PACKAGE_VERSION "1.3.6" | #define PACKAGE_STRING "libpqxx 1.3.6" | #define PACKAGE_BUGREPORT "Jeroen T. Vermeulen " | #define PACKAGE "libpqxx" | #define VERSION "1.3.6" | #ifdef __cplusplus | #include | #endif | #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 PGSTD std | #define HAVE_LIBPQ 1 | #define STDC_HEADERS 1 | /* end confdefs.h. */ | #include configure:9030: result: no configure:9066: checking for /usr/local/include/pgsql/libpq-fe.h configure:9073: result: no configure:9083: error: Can't find libpq-fe.h in /usr/local/include/pgsql. Please specify the location of the PostgreSQL include files with --with-postgres-include=3D... or --with-postgres=3D... ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=3Di686-pc-mingw32 ac_cv_build_alias=3Di686-pc-mingw32 ac_cv_c_compiler_gnu=3Dyes ac_cv_cxx_compiler_gnu=3Dyes ac_cv_env_CC_set=3D ac_cv_env_CC_value=3D ac_cv_env_CFLAGS_set=3D ac_cv_env_CFLAGS_value=3D ac_cv_env_CPPFLAGS_set=3D ac_cv_env_CPPFLAGS_value=3D ac_cv_env_CPP_set=3D ac_cv_env_CPP_value=3D ac_cv_env_CXXCPP_set=3D ac_cv_env_CXXCPP_value=3D ac_cv_env_CXXFLAGS_set=3D ac_cv_env_CXXFLAGS_value=3D ac_cv_env_CXX_set=3D ac_cv_env_CXX_value=3D ac_cv_env_LDFLAGS_set=3D ac_cv_env_LDFLAGS_value=3D ac_cv_env_build_alias_set=3D ac_cv_env_build_alias_value=3D ac_cv_env_host_alias_set=3D ac_cv_env_host_alias_value=3D ac_cv_env_target_alias_set=3D ac_cv_env_target_alias_value=3D ac_cv_exeext=3D.exe ac_cv_file__usr_local_include_pgsql_libpq_fe_h=3Dyes ac_cv_file__usr_local_include_postgresql_libpq_fe_h=3Dno ac_cv_file__usr_local_lib_pgsql_libpq_a=3Dyes ac_cv_file__usr_local_lib_pgsql_libpq_sa=3Dno ac_cv_file__usr_local_lib_pgsql_libpq_so=3Dno ac_cv_file__usr_local_lib_postgresql_libpq_a=3Dno ac_cv_file__usr_local_lib_postgresql_libpq_sa=3Dno ac_cv_file__usr_local_lib_postgresql_libpq_so=3Dno ac_cv_header__usr_local_include_pgsql_libpq_fe_h=3Dno ac_cv_header_dlfcn_h=3Dno ac_cv_header_inttypes_h=3Dyes ac_cv_header_memory_h=3Dyes ac_cv_header_stdc=3Dyes ac_cv_header_stdint_h=3Dyes ac_cv_header_stdlib_h=3Dyes ac_cv_header_string_h=3Dyes ac_cv_header_strings_h=3Dyes ac_cv_header_sys_stat_h=3Dyes ac_cv_header_sys_types_h=3Dyes ac_cv_header_unistd_h=3Dyes ac_cv_host=3Di686-pc-mingw32 ac_cv_host_alias=3Di686-pc-mingw32 ac_cv_lib_pq_PQexec=3Dyes ac_cv_objext=3Do ac_cv_path_install=3D'/bin/install -c' ac_cv_prog_AWK=3Dgawk ac_cv_prog_CPP=3D'gcc -E' ac_cv_prog_ac_ct_CC=3Dgcc ac_cv_prog_ac_ct_CXX=3Dg++ ac_cv_prog_ac_ct_RANLIB=3Dranlib ac_cv_prog_ac_ct_STRIP=3Dstrip ac_cv_prog_cc_g=3Dyes ac_cv_prog_cc_stdc=3D ac_cv_prog_cxx_g=3Dyes ac_cv_prog_egrep=3D'grep -E' ac_cv_prog_make_make_set=3Dyes am_cv_CC_dependencies_compiler_type=3Dgcc3 am_cv_CXX_dependencies_compiler_type=3Dgcc3 lt_cv_cc_dll_switch=3D-mdll lt_cv_compiler_c_o=3Dyes lt_cv_compiler_o_lo=3Dyes lt_cv_deplibs_check_method=3D'file_magic file format pei*-i386(.*architectu= re: i386)?' lt_cv_file_magic_cmd=3D'$OBJDUMP -f' lt_cv_file_magic_test_file=3D lt_cv_global_symbol_to_c_name_address=3D'sed -n -e '\''s/^: \([^ ]*\) $/ {= \"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/ {"\2= ", (lt_ptr) \&\2},/p'\''' lt_cv_global_symbol_to_cdecl=3D'sed -n -e '\''s/^. .* \(.*\)$/extern char \= 1;/p'\''' lt_cv_ld_reload_flag=3D-r lt_cv_need_dllmain=3Dno lt_cv_path_LD=3DC:/MingW/mingw32/bin/ld.exe lt_cv_path_NM=3D/mingw/bin/nm lt_cv_path_SED=3D/bin/sed lt_cv_prog_cc_can_build_shared=3Dyes lt_cv_prog_cc_no_builtin=3D lt_cv_prog_cc_pic=3D' -DDLL_EXPORT' lt_cv_prog_cc_pic_works=3Dyes lt_cv_prog_cc_shlib=3D lt_cv_prog_cc_static=3D-static lt_cv_prog_cc_static_works=3Dyes lt_cv_prog_cc_wl=3D-Wl, lt_cv_prog_gnu_ld=3Dyes lt_cv_sys_global_symbol_pipe=3D lt_cv_sys_path_separator=3D: ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL=3D'${SHELL} /d/projects/project/libpqxx/config/missing --run acloca= l-1.7' AMDEPBACKSLASH=3D'\' AMDEP_FALSE=3D'#' AMDEP_TRUE=3D'' AMTAR=3D'${SHELL} /d/projects/project/libpqxx/config/missing --run tar' AUTOCONF=3D'${SHELL} /d/projects/project/libpqxx/config/missing --run autoc= onf' AUTOHEADER=3D'${SHELL} /d/projects/project/libpqxx/config/missing --run aut= oheader' AUTOMAKE=3D'${SHELL} /d/projects/project/libpqxx/config/missing --run autom= ake-1.7' AWK=3D'gawk' CC=3D'gcc' CCDEPMODE=3D'depmode=3Dgcc3' CFLAGS=3D'-g -O2' CPP=3D'gcc -E' CPPFLAGS=3D'' CXX=3D'g++' CXXCPP=3D'' CXXDEPMODE=3D'depmode=3Dgcc3' CXXFLAGS=3D'-g -O2' CYGPATH_W=3D'cygpath -w' DEFS=3D'' DEPDIR=3D'.deps' ECHO=3D'echo' ECHO_C=3D'' ECHO_N=3D'-n' ECHO_T=3D'' EGREP=3D'grep -E' EXEEXT=3D'.exe' INSTALL_DATA=3D'${INSTALL} -m 644' INSTALL_PROGRAM=3D'${INSTALL}' INSTALL_SCRIPT=3D'${INSTALL}' INSTALL_STRIP_PROGRAM=3D'${SHELL} $(install_sh) -c -s' LDFLAGS=3D'' LIBOBJS=3D'' LIBS=3D'-lpq ' LIBTOOL=3D'$(SHELL) $(top_builddir)/libtool' LN_S=3D'ln -s' LTLIBOBJS=3D'' MAINT=3D'#' MAINTAINER_MODE_FALSE=3D'' MAINTAINER_MODE_TRUE=3D'#' MAKEINFO=3D'${SHELL} /d/projects/project/libpqxx/config/missing --run makei= nfo' OBJEXT=3D'o' PACKAGE=3D'libpqxx' PACKAGE_BUGREPORT=3D'Jeroen T. Vermeulen ' PACKAGE_NAME=3D'libpqxx' PACKAGE_STRING=3D'libpqxx 1.3.6' PACKAGE_TARNAME=3D'libpqxx' PACKAGE_VERSION=3D'1.3.6' PATH_SEPARATOR=3D':' POSTGRES_INCLUDE=3D'-I/usr/local/include/pgsql' POSTGRES_LIB=3D'-L/usr/local/lib/pgsql -lpq' RANLIB=3D'ranlib' SET_MAKE=3D'' SHELL=3D'/bin/sh' STRIP=3D'strip' VERSION=3D'1.3.6' ac_ct_CC=3D'gcc' ac_ct_CXX=3D'g++' ac_ct_RANLIB=3D'ranlib' ac_ct_STRIP=3D'strip' am__fastdepCC_FALSE=3D'#' am__fastdepCC_TRUE=3D'' am__fastdepCXX_FALSE=3D'#' am__fastdepCXX_TRUE=3D'' am__include=3D'include' am__quote=3D'' bindir=3D'${exec_prefix}/bin' build=3D'i686-pc-mingw32' build_alias=3D'' build_cpu=3D'i686' build_os=3D'mingw32' build_vendor=3D'pc' datadir=3D'${prefix}/share' exec_prefix=3D'NONE' host=3D'i686-pc-mingw32' host_alias=3D'' host_cpu=3D'i686' host_os=3D'mingw32' host_vendor=3D'pc' includedir=3D'${prefix}/include' infodir=3D'${prefix}/info' install_sh=3D'/d/projects/project/libpqxx/config/install-sh' libdir=3D'${exec_prefix}/lib' libexecdir=3D'${exec_prefix}/libexec' localstatedir=3D'${prefix}/var' mandir=3D'${prefix}/man' oldincludedir=3D'/usr/include' prefix=3D'/usr/local' program_transform_name=3D's,x,x,' sbindir=3D'${exec_prefix}/sbin' sharedstatedir=3D'${prefix}/com' sonumber=3D'0:1:0' sysconfdir=3D'${prefix}/etc' target_alias=3D'' with_postgres_include=3D'/usr/local/include/pgsql' with_postgres_lib=3D'/usr/local/lib/pgsql' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define HAVE_INTTYPES_H 1 #define HAVE_LIBPQ 1 #define HAVE_MEMORY_H 1 #define HAVE_STDINT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRINGS_H 1 #define HAVE_STRING_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define PACKAGE "libpqxx" #define PACKAGE_BUGREPORT "Jeroen T. Vermeulen " #define PACKAGE_NAME "libpqxx" #define PACKAGE_STRING "libpqxx 1.3.6" #define PACKAGE_TARNAME "libpqxx" #define PACKAGE_VERSION "1.3.6" #define PGSTD std #define STDC_HEADERS 1 #define STDC_HEADERS 1 #define VERSION "1.3.6" #endif #ifdef __cplusplus #include configure: exit 1 --Boundary_(ID_xajJDVMLUuA9bjYnd03xDA)-- From haering_postgresql@gmx.de Wed Feb 19 08:54:16 2003 X-Original-To: pgsql-interfaces@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 7E0B047580B for ; Wed, 19 Feb 2003 03:54:16 -0500 (EST) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by postgresql.org (Postfix) with ESMTP id C0ACC475458 for ; Wed, 19 Feb 2003 03:54:15 -0500 (EST) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18lPza-0003qm-00 for ; Wed, 19 Feb 2003 09:54:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-interfaces@postgresql.org Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18lPzZ-0003qc-00 for ; Wed, 19 Feb 2003 09:54:13 +0100 From: Gerhard =?iso-8859-1?Q?H=E4ring?= Subject: Re: Help with Win32 MingW build Date: Wed, 19 Feb 2003 08:54:13 +0000 (UTC) Organization: OPUS GmbH Lines: 15 Message-ID: References: <000001c2d7bf$cf823ea0$3217a440@BUD> X-Complaints-To: usenet@main.gmane.org User-Agent: slrn/0.9.7.4 (CYGWIN_NT-5.0) X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/78 X-Sequence-Number: 3699 Michael Uman wrote: > Hello, > > I am making progress slowly but surely. I have just completed building > library popt for MingW so I can port my application to windows. This is > working just great. Now I need to port libpqxx to Win32. [...] I have Makefiles for building *libpq* using mingw that you might be interested in: http://sf.net/pypgsql/misc You'll have to wait until Sourceforge is up again :-( -- Gerhard From haering_postgresql@gmx.de Wed Feb 19 09:00:26 2003 X-Original-To: pgsql-interfaces@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id D853B4758FE for ; Wed, 19 Feb 2003 04:00:26 -0500 (EST) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by postgresql.org (Postfix) with ESMTP id C9F3A475458 for ; Wed, 19 Feb 2003 04:00:25 -0500 (EST) Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18lQ5Y-0004Ao-00 for ; Wed, 19 Feb 2003 10:00:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-interfaces@postgresql.org Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18lQ1k-0003yF-00 for ; Wed, 19 Feb 2003 09:56:28 +0100 From: Gerhard =?iso-8859-1?Q?H=E4ring?= Subject: Re: Help with Win32 MingW build Date: Wed, 19 Feb 2003 08:56:28 +0000 (UTC) Organization: OPUS GmbH Lines: 20 Message-ID: References: <000001c2d7bf$cf823ea0$3217a440@BUD> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@main.gmane.org User-Agent: slrn/0.9.7.4 (CYGWIN_NT-5.0) Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/79 X-Sequence-Number: 3700 Gerhard H=E4ring wrote: > Michael Uman wrote: >> Hello, >>=20=20 >> I am making progress slowly but surely. I have just completed building >> library popt for MingW so I can port my application to windows. This is >> working just great. Now I need to port libpqxx to Win32. [...] >=20 > I have Makefiles for building *libpq* using mingw that you might be > interested in: >=20 > http://sf.net/pypgsql/misc >=20 > You'll have to wait until Sourceforge is up again :-( http://pypgsql.sourceforge.net/misc/ rather. This URL does work. -- Gerhard