Date: Tue, 4 Nov 2003 23:03:24 -1000 From: Kent Hauser <kent.hauser@verizon.net> To: ports@freebsd.org Subject: finance/libofx fails Message-ID: <200311042303.24068.kent.hauser@verizon.net>
next in thread | raw e-mail | index | archive | help
Hi, The build of libofx fails in configure. This is used by gnucash. Typescript and onfigure.log attached. Kent Script started on Wed Nov 5 08:47:06 2003 hnl# make install ===> Extracting for libofx-0.6.4 >> Checksum OK for libofx-0.6.4.tar.gz. ===> Patching for libofx-0.6.4 ===> Applying FreeBSD patches for libofx-0.6.4 ===> libofx-0.6.4 depends on file: /usr/local/libexec/libtool13/libtool - found ===> libofx-0.6.4 depends on shared library: osp.3 - found ===> Configuring for libofx-0.6.4 configure: WARNING: you should use --build, --host, --target checking for i386-portbld-freebsd4.9-gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for i386-portbld-freebsd4.9-g++... c++ checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking dependency style of cc... gcc checking dependency style of c++... gcc checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking build system type... i386-portbld-freebsd4.9 checking host system type... i386-portbld-freebsd4.9 checking for ld used by GCC... /usr/libexec/elf/ld checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes checking for /usr/libexec/elf/ld option to reload object files... -r checking for BSD-compatible nm... nm checking for a sed that does not truncate output... /usr/bin/sed checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking command to parse nm output... ok checking how to run the C preprocessor... cc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... no checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i386-portbld-freebsd4.9-ranlib... no checking for ranlib... ranlib checking for i386-portbld-freebsd4.9-strip... no checking for strip... strip checking for objdir... .libs checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.lo... yes checking if cc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/libexec/elf/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... freebsd4.9 ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... yes creating libtool checking host system type... i386-unknown-freebsd4.9 checking for ranlib... ranlib checking whether we are using GNU C... yes checking for object suffix... o checking for executable suffix... no checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.lo... yes checking if cc supports -fno-rtti -fno-exceptions ... yes checking if cc static flag -static works... -static checking whether ln -s works... yes checking for ld used by GCC... /usr/libexec/elf/ld checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes checking whether the linker (/usr/libexec/elf/ld) supports shared libraries... yes checking for BSD-compatible nm... /usr/bin/nm -B checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/libexec/elf/ld option to reload object files... -r checking dynamic linker characteristics... freebsd4.9 ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool checking for strerror in -lcposix... no checking whether byte ordering is bigendian... no checking whether make sets $(MAKE)... (cached) yes checking for ANSI C header files... (cached) yes /usr/local/lib checking for ParserEventGeneratorKit.h... yes checking for SGMLApplication.h... yes checking for EventGenerator.h... yes checking for libosp... no configure: error: unable to link a test program, is OpenSP installed? ===> Script "configure" failed unexpectedly. Please report the problem to ports@FreeBSD.org [maintainer] and attach the "/usr/ports/finance/libofx/work/libofx-0.6.4/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/finance/libofx. hnl# ls -l /usr/local/lib/libosp* -rw-r--r-- 1 root wheel 5900830 Nov 5 03:09 /usr/local/lib/libosp.a -rwxr-xr-x 1 root wheel 709 Nov 5 03:09 /usr/local/lib/libosp.la lrwxr-xr-x 1 root wheel 11 Nov 5 03:09 /usr/local/lib/libosp.so -> libosp.so.3 -rwxr-xr-x 1 root wheel 2310112 Nov 5 03:09 /usr/local/lib/libosp.so.3 hnl# pkg_info|grep -i opensp OpenSP-1.5_3 This package is a collection of SGML/XML tools called OpenS hnl# exit exit Script done on Wed Nov 5 08:55:45 2003 configure.log: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.57. Invocation command line was $ ./configure --with-opensp-includes=/usr/local/include/OpenSP --with-opensp-libs=/usr/local/lib --prefix=/usr/local i386-portbld-freebsd4.9 ## --------- ## ## Platform. ## ## --------- ## hostname = hnl.tfd.com uname -m = i386 uname -r = 4.9-STABLE uname -s = FreeBSD uname -v = FreeBSD 4.9-STABLE #0: Sun Nov 2 20:46:33 HST 2003 kent@hnl.tfd.com:/usr/obj/usr/src/sys/HNL /usr/bin/uname -p = i386 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/libexec/libtool13 PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/games PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /root/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1494: checking for i386-portbld-freebsd4.9-gcc configure:1520: result: cc configure:1802: checking for C compiler version configure:1805: cc --version </dev/null >&5 2.95.4 configure:1808: $? = 0 configure:1810: cc -v </dev/null >&5 Using builtin specs. gcc version 2.95.4 20020320 [FreeBSD] configure:1813: $? = 0 configure:1815: cc -V </dev/null >&5 cc: argument to `-V' is missing configure:1818: $? = 1 configure:1842: checking for C compiler default output configure:1845: cc -O -pipe conftest.c >&5 configure:1848: $? = 0 configure:1894: result: a.out configure:1899: checking whether the C compiler works configure:1905: ./a.out configure:1908: $? = 0 configure:1925: result: yes configure:1932: checking whether we are cross compiling configure:1934: result: no configure:1937: checking for suffix of executables configure:1939: cc -o conftest -O -pipe conftest.c >&5 configure:1942: $? = 0 configure:1967: result: configure:1973: checking for suffix of object files configure:1995: cc -c -O -pipe conftest.c >&5 configure:1998: $? = 0 configure:2020: result: o configure:2024: checking whether we are using the GNU C compiler configure:2049: cc -c -O -pipe conftest.c >&5 configure:2052: $? = 0 configure:2055: test -s conftest.o configure:2058: $? = 0 configure:2071: result: yes configure:2077: checking whether cc accepts -g configure:2099: cc -c -g conftest.c >&5 configure:2102: $? = 0 configure:2105: test -s conftest.o configure:2108: $? = 0 configure:2119: result: yes configure:2136: checking for cc option to accept ANSI C configure:2197: cc -c -O -pipe conftest.c >&5 configure:2200: $? = 0 configure:2203: test -s conftest.o configure:2206: $? = 0 configure:2224: result: none needed configure:2242: cc -c -O -pipe conftest.c >&5 conftest.c:2: syntax error before `me' configure:2245: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:2364: checking for i386-portbld-freebsd4.9-g++ configure:2390: result: c++ configure:2448: checking for C++ compiler version configure:2451: c++ --version </dev/null >&5 2.95.4 configure:2454: $? = 0 configure:2456: c++ -v </dev/null >&5 Using builtin specs. gcc version 2.95.4 20020320 [FreeBSD] configure:2459: $? = 0 configure:2461: c++ -V </dev/null >&5 c++: argument to `-V' missing configure:2464: $? = 1 configure:2467: checking whether we are using the GNU C++ compiler configure:2492: c++ -c -O -pipe conftest.cc >&5 configure:2495: $? = 0 configure:2498: test -s conftest.o configure:2501: $? = 0 configure:2514: result: yes configure:2520: checking whether c++ accepts -g configure:2542: c++ -c -g conftest.cc >&5 configure:2545: $? = 0 configure:2548: test -s conftest.o configure:2551: $? = 0 configure:2562: result: yes configure:2606: c++ -c -O -pipe conftest.cc >&5 configure:2609: $? = 0 configure:2612: test -s conftest.o configure:2615: $? = 0 configure:2642: c++ -c -O -pipe conftest.cc >&5 configure:2645: $? = 0 configure:2648: test -s conftest.o configure:2651: $? = 0 configure:2698: checking for a BSD-compatible install configure:2752: result: /usr/bin/install -c -o root -g wheel configure:2763: checking whether build environment is sane configure:2806: result: yes configure:2839: checking for gawk configure:2868: result: no configure:2839: checking for mawk configure:2868: result: no configure:2839: checking for nawk configure:2855: found /usr/bin/nawk configure:2865: result: nawk configure:2875: checking whether make sets $(MAKE) configure:2895: result: yes configure:2924: checking for style of include used by make configure:2952: result: GNU configure:3124: checking dependency style of cc configure:3186: result: gcc configure:3205: checking dependency style of c++ configure:3267: result: gcc configure:3289: checking whether to enable maintainer-specific portions of Makefiles configure:3298: result: no configure:3326: checking for a BSD-compatible install configure:3380: result: /usr/bin/install -c -o root -g wheel configure:3465: checking build system type configure:3483: result: i386-portbld-freebsd4.9 configure:3491: checking host system type configure:3505: result: i386-portbld-freebsd4.9 configure:3535: checking for ld used by GCC configure:3598: result: /usr/libexec/elf/ld configure:3607: checking if the linker (/usr/libexec/elf/ld) is GNU ld GNU ld version 2.12.1 [FreeBSD] 2002-07-20 configure:3619: result: yes configure:3624: checking for /usr/libexec/elf/ld option to reload object files configure:3631: result: -r configure:3636: checking for BSD-compatible nm configure:3672: result: nm configure:3675: checking for a sed that does not truncate output configure:3757: result: /usr/bin/sed configure:3760: checking whether ln -s works configure:3764: result: yes configure:3771: checking how to recognise dependent libraries configure:3952: result: pass_all configure:3965: checking command to parse nm output configure:4049: cc -c -O -pipe conftest.c >&5 configure:4052: $? = 0 configure:4056: nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGISTW][ABCDGISTW]* \)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' \> conftest.nm configure:4059: $? = 0 configure:4111: cc -o conftest -O -pipe conftest.c conftstm.o >&5 configure:4114: $? = 0 configure:4158: result: ok configure:4167: checking how to run the C preprocessor configure:4203: cc -E conftest.c configure:4209: $? = 0 configure:4241: cc -E conftest.c configure:4243: ac_nonexistent.h: No such file or directory configure:4247: $? = 1 configure: failed program was: | #line 4233 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libofx" | #define VERSION "0.6.4" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:4285: result: cc -E configure:4310: cc -E conftest.c configure:4316: $? = 0 configure:4348: cc -E conftest.c configure:4350: ac_nonexistent.h: No such file or directory configure:4354: $? = 1 configure: failed program was: | #line 4340 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libofx" | #define VERSION "0.6.4" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:4397: checking for egrep configure:4407: result: grep -E configure:4412: checking for ANSI C header files configure:4438: cc -c -O -pipe conftest.c >&5 configure:4441: $? = 0 configure:4444: test -s conftest.o configure:4447: $? = 0 configure:4539: cc -o conftest -O -pipe conftest.c >&5 configure:4542: $? = 0 configure:4544: ./conftest configure:4547: $? = 0 configure:4562: result: yes configure:4586: checking for sys/types.h configure:4603: cc -c -O -pipe conftest.c >&5 configure:4606: $? = 0 configure:4609: test -s conftest.o configure:4612: $? = 0 configure:4623: result: yes configure:4586: checking for sys/stat.h configure:4603: cc -c -O -pipe conftest.c >&5 configure:4606: $? = 0 configure:4609: test -s conftest.o configure:4612: $? = 0 configure:4623: result: yes configure:4586: checking for stdlib.h configure:4603: cc -c -O -pipe conftest.c >&5 configure:4606: $? = 0 configure:4609: test -s conftest.o configure:4612: $? = 0 configure:4623: result: yes configure:4586: checking for string.h configure:4603: cc -c -O -pipe conftest.c >&5 configure:4606: $? = 0 configure:4609: test -s conftest.o configure:4612: $? = 0 configure:4623: result: yes configure:4586: checking for memory.h configure:4603: cc -c -O -pipe conftest.c >&5 configure:4606: $? = 0 configure:4609: test -s conftest.o configure:4612: $? = 0 configure:4623: result: yes configure:4586: checking for strings.h configure:4603: cc -c -O -pipe conftest.c >&5 configure:4606: $? = 0 configure:4609: test -s conftest.o configure:4612: $? = 0 configure:4623: result: yes configure:4586: checking for inttypes.h configure:4603: cc -c -O -pipe conftest.c >&5 configure:4606: $? = 0 configure:4609: test -s conftest.o configure:4612: $? = 0 configure:4623: result: yes configure:4586: checking for stdint.h configure:4603: cc -c -O -pipe conftest.c >&5 configure:4645: stdint.h: No such file or directory configure:4606: $? = 1 configure: failed program was: | #line 4592 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libofx" | #define VERSION "0.6.4" | #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 | /* 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> | #else | # if HAVE_STDINT_H | # include <stdint.h> | # endif | #endif | #if HAVE_UNISTD_H | # include <unistd.h> | #endif | | #include <stdint.h> configure:4623: result: no configure:4586: checking for unistd.h configure:4603: cc -c -O -pipe conftest.c >&5 configure:4606: $? = 0 configure:4609: test -s conftest.o configure:4612: $? = 0 configure:4623: result: yes configure:4649: checking dlfcn.h usability configure:4662: cc -c -O -pipe conftest.c >&5 configure:4665: $? = 0 configure:4668: test -s conftest.o configure:4671: $? = 0 configure:4681: result: yes configure:4685: checking dlfcn.h presence configure:4696: cc -E conftest.c configure:4702: $? = 0 configure:4721: result: yes configure:4757: checking for dlfcn.h configure:4764: result: yes configure:4924: checking for i386-portbld-freebsd4.9-ranlib configure:4953: result: no configure:4962: checking for ranlib configure:4978: found /usr/bin/ranlib configure:4989: result: ranlib configure:5004: checking for i386-portbld-freebsd4.9-strip configure:5033: result: no configure:5042: checking for strip configure:5058: found /usr/bin/strip configure:5069: result: strip configure:5297: checking for objdir configure:5308: result: .libs configure:5325: checking for cc option to produce PIC configure:5471: result: -fPIC configure:5475: checking if cc PIC flag -fPIC works configure:5499: cc -c -O -pipe -fPIC -DPIC conftest.c >&5 configure:5502: $? = 0 configure:5505: test -s conftest.o configure:5508: $? = 0 configure:5546: result: yes configure:5562: checking if cc static flag -static works configure:5587: cc -o conftest -O -pipe -static conftest.c >&5 configure:5590: $? = 0 configure:5593: test -s conftest configure:5596: $? = 0 configure:5612: result: yes configure:5624: checking if cc supports -c -o file.o configure:5644: cc -c -O -pipe -o out/conftest2.o conftest.c >&5 configure:5668: result: yes configure:5673: checking if cc supports -c -o file.lo configure:5701: cc -c -O -pipe -c -o conftest.lo conftest.c >&5 configure:5704: $? = 0 configure:5707: test -s conftest.lo configure:5710: $? = 0 configure:5732: result: yes configure:5763: checking if cc supports -fno-rtti -fno-exceptions configure:5786: cc -c -O -pipe -fno-rtti -fno-exceptions -c conftest.c conftest.c >&5 configure:5789: $? = 0 configure:5792: test -s conftest.o configure:5795: $? = 0 configure:5812: result: yes configure:5823: checking whether the linker (/usr/libexec/elf/ld) supports shared libraries configure:6518: result: yes configure:6523: checking how to hardcode library paths into programs configure:6547: result: immediate configure:6552: checking whether stripping libraries is possible configure:6557: result: yes configure:6568: checking dynamic linker characteristics configure:6982: result: freebsd4.9 ld.so configure:6987: checking if libtool supports shared libraries configure:6989: result: yes configure:6992: checking whether to build shared libraries configure:7013: result: yes configure:7016: checking whether to build static libraries configure:7020: result: yes configure:7694: checking whether -lc should be explicitly linked in configure:7702: cc -c -O -pipe conftest.c >&5 configure:7705: $? = 0 configure:7719: cc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep -lc \>/dev/null 2\>\&1 configure:7722: $? = 1 configure:7735: result: yes configure:8311: checking for strerror in -lcposix configure:8342: cc -o conftest -O -pipe conftest.c -lcposix >&5 /usr/libexec/elf/ld: cannot find -lcposix configure:8345: $? = 1 configure: failed program was: | #line 8319 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libofx" | #define VERSION "0.6.4" | #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_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char strerror (); | int | main () | { | strerror (); | ; | return 0; | } configure:8363: result: no configure:8371: checking whether byte ordering is bigendian configure:8399: cc -c -O -pipe conftest.c >&5 configure:8402: $? = 0 configure:8405: test -s conftest.o configure:8408: $? = 0 configure:8433: cc -c -O -pipe conftest.c >&5 configure: In function `main': configure:8439: syntax error before `big' configure:8436: $? = 1 configure: failed program was: | #line 8412 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libofx" | #define VERSION "0.6.4" | #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_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #include <sys/types.h> | #include <sys/param.h> | | int | main () | { | #if BYTE_ORDER != BIG_ENDIAN | not big endian | #endif | | ; | return 0; | } configure:8556: result: no configure:8575: checking whether make sets $(MAKE) configure:8595: result: yes configure:8604: checking for ANSI C header files configure:8754: result: yes configure:8874: checking for ParserEventGeneratorKit.h configure:8891: c++ -c -O -pipe -I/usr/local/include/OpenSP conftest.cc >&5 configure:8894: $? = 0 configure:8897: test -s conftest.o configure:8900: $? = 0 configure:8911: result: yes configure:8874: checking for SGMLApplication.h configure:8891: c++ -c -O -pipe -I/usr/local/include/OpenSP conftest.cc >&5 configure:8894: $? = 0 configure:8897: test -s conftest.o configure:8900: $? = 0 configure:8911: result: yes configure:8874: checking for EventGenerator.h configure:8891: c++ -c -O -pipe -I/usr/local/include/OpenSP conftest.cc >&5 configure:8894: $? = 0 configure:8897: test -s conftest.o configure:8900: $? = 0 configure:8911: result: yes configure:8931: checking for libosp configure:8972: c++ -o conftest -O -pipe -I/usr/local/include/OpenSP conftest.cc -L/usr/local/lib -losp >&5 /usr/local/lib/libosp.so: undefined reference to `dgettext' /usr/local/lib/libosp.so: undefined reference to `bindtextdomain' configure:8975: $? = 1 configure: program exited with status 1 configure: failed program was: | #line 8946 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libofx" | #define VERSION "0.6.4" | #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_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define STDC_HEADERS 1 | #define SP_MULTI_BYTE 1 | #define HAVE_PARSEREVENTGENERATORKIT_H 1 | #define HAVE_SGMLAPPLICATION_H 1 | #define HAVE_EVENTGENERATOR_H 1 | /* end confdefs.h. */ | | #include "ParserEventGeneratorKit.h" | using namespace std; | class OutlineApplication : public SGMLApplication { | public: | OutlineApplication() { } | void startElement(const StartElementEvent &event) { | } | void endElement(const EndElementEvent &) { } | | }; | int main(int argc, char **argv) | { | ParserEventGeneratorKit parserKit; | EventGenerator *egp = parserKit.makeEventGenerator(argc - 1, argv + 1); | OutlineApplication app; | } | configure:8990: result: no configure:8992: error: unable to link a test program, is OpenSP installed? ## ---------------- ## ## Cache variables. ## ## ---------------- ## am_cv_CC_dependencies_compiler_type=gcc ac_cv_env_CXXFLAGS_value=' -O -pipe ' ac_cv_c_bigendian=no ac_cv_header_stdlib_h=yes lt_cv_file_magic_cmd='$MAGIC_CMD' ac_cv_lib_cposix_strerror=no ac_cv_prog_cc_g=yes ac_cv_env_LDFLAGS_set= lt_cv_prog_cc_can_build_shared=yes ac_cv_c_compiler_gnu=yes ac_cv_exeext= ac_cv_env_CFLAGS_set=set ac_cv_prog_CXX=c++ ac_cv_env_CPP_value= ac_cv_env_CPPFLAGS_set= ac_cv_header_ParserEventGeneratorKit_h=yes lt_cv_prog_cc_static_works=yes lt_cv_prog_cc_no_builtin= lt_cv_prog_cc_shlib= ac_cv_cxx_compiler_gnu=yes ac_cv_env_CXX_set=set lt_cv_prog_cc_static=-static ac_cv_env_host_alias_set=set lt_cv_ld_reload_flag=-r ac_cv_prog_CC=cc lt_cv_archive_cmds_need_lc=yes ac_cv_header_sys_stat_h=yes lt_cv_prog_gnu_ld=yes ac_cv_env_build_alias_set=set ac_cv_env_LDFLAGS_value= ac_cv_env_target_alias_set=set ac_cv_host_alias=i386-portbld-freebsd4.9 ac_cv_prog_cc_stdc= ac_cv_env_CFLAGS_value='-O -pipe ' ac_cv_env_CC_set=set lt_cv_prog_cc_wl=-Wl, ac_cv_header_sys_types_h=yes ac_cv_header_stdc=yes ac_cv_header_strings_h=yes lt_cv_path_SED=/usr/bin/sed ac_cv_header_stdint_h=no ac_cv_header_inttypes_h=yes ac_cv_prog_egrep='grep -E' ac_cv_prog_make_make_set=yes ac_cv_header_unistd_h=yes ac_cv_header_string_h=yes lt_cv_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern char \1;/ p'\''' lt_cv_path_LD=/usr/libexec/elf/ld ac_cv_build_alias=i386-portbld-freebsd4.9 ac_cv_env_CPPFLAGS_value= ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_header_memory_h=yes ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXX_value=c++ ac_cv_prog_ac_ct_STRIP=strip ac_cv_host=i386-portbld-freebsd4.9 ac_cv_env_host_alias_value=i386-portbld-freebsd4.9 ac_cv_header_SGMLApplication_h=yes lt_cv_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1 \", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr) \&\2},/p'\''' ac_cv_prog_cxx_g=yes ac_cv_header_EventGenerator_h=yes lt_cv_compiler_c_o=yes lt_cv_prog_cc_pic_works=yes lt_cv_file_magic_test_file= ac_cv_prog_CPP='cc -E' ac_cv_build=i386-portbld-freebsd4.9 am_cv_CXX_dependencies_compiler_type=gcc ac_cv_prog_AWK=nawk ac_cv_env_build_alias_value=i386-portbld-freebsd4.9 lt_cv_prog_cc_pic=' -fPIC' lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGISTW][ABCDGISTW]* \)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p'\''' lt_cv_deplibs_check_method=pass_all lt_cv_compiler_o_lo=yes ac_cv_env_target_alias_value=i386-portbld-freebsd4.9 ac_cv_env_CC_value=cc lt_cv_path_NM=nm ac_cv_env_CPP_set= ac_cv_header_dlfcn_h=yes ac_cv_objext=o ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /usr/ports/finance/libofx/work/libofx-0.6.4/config/missing --run aclocal-1.7' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /usr/ports/finance/libofx/work/libofx-0.6.4/config/missing --run tar' AUTOCONF='${SHELL} /usr/ports/finance/libofx/work/libofx-0.6.4/config/missing --run autoconf' AUTOHEADER='${SHELL} /usr/ports/finance/libofx/work/libofx-0.6.4/config/ missing --run autoheader' AUTOMAKE='${SHELL} /usr/ports/finance/libofx/work/libofx-0.6.4/config/missing --run automake-1.7' AWK='nawk' CC='cc' CCDEPMODE='depmode=gcc' CFLAGS='-O -pipe ' CPP='cc -E' CPPFLAGS='-I/usr/local/include/OpenSP ' CXX='c++' CXXDEPMODE='depmode=gcc' CXXFLAGS=' -O -pipe ' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DOC_FALSE='' DOC_TRUE='' DOT='' DOXYGEN='' ECHO='echo' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='grep -E' ENABLE_DOXYGEN_FALSE='' ENABLE_DOXYGEN_TRUE='' EXEEXT='' INSTALL_DATA='install -c -o root -g wheel -m 444' INSTALL_PROGRAM='install -c -s -o root -g wheel -m 555' INSTALL_SCRIPT='install -c -o root -g wheel -m 555' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' LDFLAGS='' LIBOBJS='' LIBOFX_DTD_DIR='' LIBOFX_MAJOR_VERSION='0' LIBOFX_MICRO_VERSION='4' LIBOFX_MINOR_VERSION='6' LIBOFX_VERSION='0.6.4' LIBS='-L/usr/local/lib -losp ' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LN_S='ln -s' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /usr/ports/finance/libofx/work/libofx-0.6.4/config/missing --run makeinfo' OBJEXT='o' OPENSPINCLUDES='/usr/local/include/OpenSP' OPENSPLIBS='-L/usr/local/lib -losp' PACKAGE='libofx' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' RANLIB='ranlib' SET_MAKE='' SHELL='/bin/sh' STRIP='strip' VERSION='0.6.4' ac_ct_CC='' ac_ct_CXX='' ac_ct_RANLIB='ranlib' ac_ct_STRIP='strip' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='#' am__fastdepCXX_FALSE='' am__fastdepCXX_TRUE='#' am__include='include' am__quote='' bindir='${exec_prefix}/bin' build='i386-portbld-freebsd4.9' build_alias='i386-portbld-freebsd4.9' build_cpu='i386' build_os='freebsd4.9' build_vendor='portbld' datadir='${prefix}/share' enable_dot='' enable_html_docs='' enable_latex_docs='' exec_prefix='NONE' host='i386-portbld-freebsd4.9' host_alias='i386-portbld-freebsd4.9' host_cpu='i386' host_os='freebsd4.9' host_vendor='portbld' includedir='${prefix}/include' infodir='${prefix}/info' install_sh='/usr/ports/finance/libofx/work/libofx-0.6.4/config/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' prefix='/usr/local' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='i386-portbld-freebsd4.9' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define HAVE_DLFCN_H 1 #define HAVE_EVENTGENERATOR_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_MEMORY_H 1 #define HAVE_PARSEREVENTGENERATORKIT_H 1 #define HAVE_SGMLAPPLICATION_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 "libofx" #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define SP_MULTI_BYTE 1 #define STDC_HEADERS 1 #define STDC_HEADERS 1 #define VERSION "0.6.4" configure: exit 1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311042303.24068.kent.hauser>