Hi, This is my first email to this list. I am trying to install GiNaC in cygwin and an error always stops the ./configure. I am not very used to GNU/Linux systems, but I guess that CLN installation didn't have troubles. But it seems that GiNaC installation can't find CLN. Well, this is the error: checking for pkg-config... /cygdrive/c/GTK/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for CLN... configure: error: Package requirements (cln >= 1.1.6) were n ot met. Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively you may set the CLN_CFLAGS and CLN_LIBS environment variables to avoid the need to call pkg-config. See the pkg-config man page for more details. Reading the message-history I found some tips. I tried setting some variables but always got the same error. My attempts: PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure ./configure PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure PKG_CONFIG_PATH=/usr/local/lib/pkgconfig CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" CLN_CFLAGS="-I/usr/local/include/cln" ./configure PKG_CONFIG_PATH=/usr/local/lib/pkgconfig CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" CLN_CFLAGS="-L/usr/local/include/cln" As I also read, It's important to send the config.log for you too. I pasted at the end of this email. Well, any help will be great... Thank's and sorry about my bad english. Pablo Cavalcanti 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 GiNaC configure 1.4.0, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = PabloNote uname -m = i686 uname -r = 1.5.24(0.156/4/2) uname -s = CYGWIN_NT-5.1 uname -v = 2007-01-31 10:57 /usr/bin/uname -p = unknown /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/bin PATH: /usr/bin PATH: /bin PATH: /usr/X11R6/bin PATH: /cygdrive/c/GTK/bin PATH: /cygdrive/c/WINDOWS/system32 PATH: /cygdrive/c/WINDOWS PATH: /cygdrive/c/WINDOWS/system32/wbem PATH: /cygdrive/c/program files/ati technologies/ati control panel PATH: /cygdrive/c/python25/ PATH: /cygdrive/c/python25/scripts/ PATH: /cygdrive/c/program files/mysql/mysql server 5.0/bin PATH: /cygdrive/c/mapserver/ PATH: /cygdrive/c/Program Files/MATLAB/R2006a/bin/win32 PATH: /cygdrive/c/PHP/ PATH: /cygdrive/c/Program Files/GNU Octave/gnuplot_38i0 PATH: /cygdrive/c/swig/ PATH: /cygdrive/c/bin PATH: /cygdrive/c/wamp/www/cartoweb3/php PATH: /cygdrive/c/GTK/bin PATH: /cygdrive/c/WINDOWS/system32 PATH: /cygdrive/c/WINDOWS PATH: /cygdrive/c/WINDOWS/system32/wbem PATH: /cygdrive/c/program files/ati technologies/ati control panel PATH: /cygdrive/c/python25/ PATH: /cygdrive/c/python25/scripts/ PATH: /cygdrive/c/program files/mysql/mysql server 5.0/bin PATH: /cygdrive/c/mapserver/ PATH: /cygdrive/c/Program Files/MATLAB/R2006a/bin/win32 PATH: /cygdrive/c/PHP/ PATH: /cygdrive/c/Program Files/GNU Octave/gnuplot_38i0 PATH: /cygdrive/c/swig/ PATH: /cygdrive/c/PROGRA~1/COMMON~1/MUVEET~1/030625 ## ----------- ## ## Core tests. ## ## ----------- ## configure:1570: checking for a BSD-compatible install configure:1625: result: /usr/bin/install -c configure:1636: checking whether build environment is sane configure:1679: result: yes configure:1744: checking for gawk configure:1760: found /usr/bin/gawk configure:1770: result: gawk configure:1780: checking whether make sets $(MAKE) configure:1800: result: yes configure:2057: checking for g++ configure:2073: found /usr/bin/g++ configure:2083: result: g++ configure:2099: checking for C++ compiler version configure:2102: g++ --version </dev/null >&5 g++ (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) Copyright (C) 2004 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:2105: $? = 0 configure:2107: g++ -v </dev/null >&5 Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs Configured with: /usr/build/package/orig/test.respin/gcc-3.4.4-3/configure --verbose --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls --without-included-gettext --enable-version-specific-runtime-libs --without-x --enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug Thread model: posix gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) configure:2110: $? = 0 configure:2112: g++ -V </dev/null >&5 g++: `-V' option must have argument configure:2115: $? = 1 configure:2138: checking for C++ compiler default output file name configure:2141: g++ conftest.cc >&5 configure:2144: $? = 0 configure:2190: result: a.exe configure:2195: checking whether the C++ compiler works configure:2201: ./a.exe configure:2204: $? = 0 configure:2221: result: yes configure:2228: checking whether we are cross compiling configure:2230: result: no configure:2233: checking for suffix of executables configure:2235: g++ -o conftest.exe conftest.cc >&5 configure:2238: $? = 0 configure:2263: result: .exe configure:2269: checking for suffix of object files configure:2290: g++ -c conftest.cc >&5 configure:2293: $? = 0 configure:2315: result: o configure:2319: checking whether we are using the GNU C++ compiler configure:2343: g++ -c conftest.cc >&5 configure:2349: $? = 0 configure:2353: test -z || test ! -s conftest.err configure:2356: $? = 0 configure:2359: test -s conftest.o configure:2362: $? = 0 configure:2375: result: yes configure:2381: checking whether g++ accepts -g configure:2402: g++ -c -g conftest.cc >&5 configure:2408: $? = 0 configure:2412: test -z || test ! -s conftest.err configure:2415: $? = 0 configure:2418: test -s conftest.o configure:2421: $? = 0 configure:2432: result: yes configure:2474: g++ -c -g -O2 conftest.cc >&5 configure:2480: $? = 0 configure:2484: test -z || test ! -s conftest.err configure:2487: $? = 0 configure:2490: test -s conftest.o configure:2493: $? = 0 configure:2519: g++ -c -g -O2 conftest.cc >&5 conftest.cc: In function `int main()': conftest.cc:17: error: `exit' undeclared (first use this function) conftest.cc:17: error: (Each undeclared identifier is reported only once for each function it appears in.) configure:2525: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GiNaC" | #define PACKAGE_TARNAME "ginac" | #define PACKAGE_VERSION "1.4.0" | #define PACKAGE_STRING "GiNaC 1.4.0" | #define PACKAGE_BUGREPORT "<ginac-list@ginac.de>" | #define PACKAGE "ginac" | #define VERSION "1.4.0" | #define ARCHIVE_VERSION 2 | #define ARCHIVE_AGE 2 | /* end confdefs.h. */ | | int | main () | { | exit (42); | ; | return 0; | } configure:2474: g++ -c -g -O2 conftest.cc >&5 configure:2480: $? = 0 configure:2484: test -z || test ! -s conftest.err configure:2487: $? = 0 configure:2490: test -s conftest.o configure:2493: $? = 0 configure:2519: g++ -c -g -O2 conftest.cc >&5 configure:2525: $? = 0 configure:2529: test -z || test ! -s conftest.err configure:2532: $? = 0 configure:2535: test -s conftest.o configure:2538: $? = 0 configure:2572: checking for style of include used by make configure:2600: result: GNU configure:2628: checking dependency style of g++ configure:2718: result: gcc3 configure:2740: checking how to run the C++ preprocessor configure:2771: g++ -E conftest.cc configure:2777: $? = 0 configure:2809: g++ -E conftest.cc conftest.cc:16:28: ac_nonexistent.h: No such file or directory configure:2815: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GiNaC" | #define PACKAGE_TARNAME "ginac" | #define PACKAGE_VERSION "1.4.0" | #define PACKAGE_STRING "GiNaC 1.4.0" | #define PACKAGE_BUGREPORT "<ginac-list@ginac.de>" | #define PACKAGE "ginac" | #define VERSION "1.4.0" | #define ARCHIVE_VERSION 2 | #define ARCHIVE_AGE 2 | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:2854: result: g++ -E configure:2878: g++ -E conftest.cc configure:2884: $? = 0 configure:2916: g++ -E conftest.cc conftest.cc:16:28: ac_nonexistent.h: No such file or directory configure:2922: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GiNaC" | #define PACKAGE_TARNAME "ginac" | #define PACKAGE_VERSION "1.4.0" | #define PACKAGE_STRING "GiNaC 1.4.0" | #define PACKAGE_BUGREPORT "<ginac-list@ginac.de>" | #define PACKAGE "ginac" | #define VERSION "1.4.0" | #define ARCHIVE_VERSION 2 | #define ARCHIVE_AGE 2 | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:2978: checking for a BSD-compatible install configure:3033: result: /usr/bin/install -c configure:3122: checking build system type configure:3140: result: i686-pc-cygwin configure:3148: checking host system type configure:3162: result: i686-pc-cygwin configure:3216: checking for gcc configure:3232: found /usr/bin/gcc configure:3242: result: gcc configure:3486: checking for C compiler version configure:3489: gcc --version </dev/null >&5 gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) Copyright (C) 2004 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:3492: $? = 0 configure:3494: gcc -v </dev/null >&5 Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs Configured with: /usr/build/package/orig/test.respin/gcc-3.4.4-3/configure --verbose --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls --without-included-gettext --enable-version-specific-runtime-libs --without-x --enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug Thread model: posix gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) configure:3497: $? = 0 configure:3499: gcc -V </dev/null >&5 gcc: `-V' option must have argument configure:3502: $? = 1 configure:3505: checking whether we are using the GNU C compiler configure:3529: gcc -c conftest.c >&5 configure:3535: $? = 0 configure:3539: test -z || test ! -s conftest.err configure:3542: $? = 0 configure:3545: test -s conftest.o configure:3548: $? = 0 configure:3561: result: yes configure:3567: checking whether gcc accepts -g configure:3588: gcc -c -g conftest.c >&5 configure:3594: $? = 0 configure:3598: test -z || test ! -s conftest.err configure:3601: $? = 0 configure:3604: test -s conftest.o configure:3607: $? = 0 configure:3618: result: yes configure:3635: checking for gcc option to accept ANSI C configure:3705: gcc -c -g -O2 conftest.c >&5 configure:3711: $? = 0 configure:3715: test -z || test ! -s conftest.err configure:3718: $? = 0 configure:3721: test -s conftest.o configure:3724: $? = 0 configure:3742: result: none needed configure:3760: gcc -c -g -O2 conftest.c >&5 conftest.c:2: error: parse error before "me" configure:3766: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:3901: checking dependency style of gcc configure:3991: result: gcc3 configure:4008: checking for a sed that does not truncate output configure:4062: result: /usr/bin/sed configure:4065: checking for egrep configure:4075: result: grep -E configure:4091: checking for ld used by gcc configure:4158: result: /usr/i686-pc-cygwin/bin/ld.exe configure:4167: checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld configure:4182: result: yes configure:4187: checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object files configure:4194: result: -r configure:4212: checking for BSD-compatible nm configure:4254: result: /usr/bin/nm -B configure:4258: checking whether ln -s works configure:4262: result: yes configure:4269: checking how to recognise dependent libraries configure:4441: result: file_magic ^x86 archive import|^x86 DLL configure:4655: checking how to run the C preprocessor configure:4690: gcc -E conftest.c configure:4696: $? = 0 configure:4728: gcc -E conftest.c conftest.c:16:28: ac_nonexistent.h: No such file or directory configure:4734: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GiNaC" | #define PACKAGE_TARNAME "ginac" | #define PACKAGE_VERSION "1.4.0" | #define PACKAGE_STRING "GiNaC 1.4.0" | #define PACKAGE_BUGREPORT "<ginac-list@ginac.de>" | #define PACKAGE "ginac" | #define VERSION "1.4.0" | #define ARCHIVE_VERSION 2 | #define ARCHIVE_AGE 2 | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:4773: result: gcc -E configure:4797: gcc -E conftest.c configure:4803: $? = 0 configure:4835: gcc -E conftest.c conftest.c:16:28: ac_nonexistent.h: No such file or directory configure:4841: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GiNaC" | #define PACKAGE_TARNAME "ginac" | #define PACKAGE_VERSION "1.4.0" | #define PACKAGE_STRING "GiNaC 1.4.0" | #define PACKAGE_BUGREPORT "<ginac-list@ginac.de>" | #define PACKAGE "ginac" | #define VERSION "1.4.0" | #define ARCHIVE_VERSION 2 | #define ARCHIVE_AGE 2 | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:4885: checking for ANSI C header files configure:4910: gcc -c -g -O2 conftest.c >&5 configure:4916: $? = 0 configure:4920: test -z || test ! -s conftest.err configure:4923: $? = 0 configure:4926: test -s conftest.o configure:4929: $? = 0 configure:5018: gcc -o conftest.exe -g -O2 conftest.c >&5 configure:5021: $? = 0 configure:5023: ./conftest.exe configure:5026: $? = 0 configure:5041: result: yes configure:5065: checking for sys/types.h configure:5081: gcc -c -g -O2 conftest.c >&5 configure:5087: $? = 0 configure:5091: test -z || test ! -s conftest.err configure:5094: $? = 0 configure:5097: test -s conftest.o configure:5100: $? = 0 configure:5111: result: yes configure:5065: checking for sys/stat.h configure:5081: gcc -c -g -O2 conftest.c >&5 configure:5087: $? = 0 configure:5091: test -z || test ! -s conftest.err configure:5094: $? = 0 configure:5097: test -s conftest.o configure:5100: $? = 0 configure:5111: result: yes configure:5065: checking for stdlib.h configure:5081: gcc -c -g -O2 conftest.c >&5 configure:5087: $? = 0 configure:5091: test -z || test ! -s conftest.err configure:5094: $? = 0 configure:5097: test -s conftest.o configure:5100: $? = 0 configure:5111: result: yes configure:5065: checking for string.h configure:5081: gcc -c -g -O2 conftest.c >&5 configure:5087: $? = 0 configure:5091: test -z || test ! -s conftest.err configure:5094: $? = 0 configure:5097: test -s conftest.o configure:5100: $? = 0 configure:5111: result: yes configure:5065: checking for memory.h configure:5081: gcc -c -g -O2 conftest.c >&5 configure:5087: $? = 0 configure:5091: test -z || test ! -s conftest.err configure:5094: $? = 0 configure:5097: test -s conftest.o configure:5100: $? = 0 configure:5111: result: yes configure:5065: checking for strings.h configure:5081: gcc -c -g -O2 conftest.c >&5 configure:5087: $? = 0 configure:5091: test -z || test ! -s conftest.err configure:5094: $? = 0 configure:5097: test -s conftest.o configure:5100: $? = 0 configure:5111: result: yes configure:5065: checking for inttypes.h configure:5081: gcc -c -g -O2 conftest.c >&5 configure:5087: $? = 0 configure:5091: test -z || test ! -s conftest.err configure:5094: $? = 0 configure:5097: test -s conftest.o configure:5100: $? = 0 configure:5111: result: yes configure:5065: checking for stdint.h configure:5081: gcc -c -g -O2 conftest.c >&5 configure:5087: $? = 0 configure:5091: test -z || test ! -s conftest.err configure:5094: $? = 0 configure:5097: test -s conftest.o configure:5100: $? = 0 configure:5111: result: yes configure:5065: checking for unistd.h configure:5081: gcc -c -g -O2 conftest.c >&5 configure:5087: $? = 0 configure:5091: test -z || test ! -s conftest.err configure:5094: $? = 0 configure:5097: test -s conftest.o configure:5100: $? = 0 configure:5111: result: yes configure:5137: checking dlfcn.h usability configure:5149: gcc -c -g -O2 conftest.c >&5 configure:5155: $? = 0 configure:5159: test -z || test ! -s conftest.err configure:5162: $? = 0 configure:5165: test -s conftest.o configure:5168: $? = 0 configure:5178: result: yes configure:5182: checking dlfcn.h presence configure:5192: gcc -E conftest.c configure:5198: $? = 0 configure:5218: result: yes configure:5253: checking for dlfcn.h configure:5260: result: yes configure:5283: checking how to run the C++ preprocessor configure:5397: result: g++ -E configure:5421: g++ -E conftest.cc configure:5427: $? = 0 configure:5459: g++ -E conftest.cc conftest.cc:27:28: ac_nonexistent.h: No such file or directory configure:5465: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GiNaC" | #define PACKAGE_TARNAME "ginac" | #define PACKAGE_VERSION "1.4.0" | #define PACKAGE_STRING "GiNaC 1.4.0" | #define PACKAGE_BUGREPORT "<ginac-list@ginac.de>" | #define PACKAGE "ginac" | #define VERSION "1.4.0" | #define ARCHIVE_VERSION 2 | #define ARCHIVE_AGE 2 | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #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 HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:5562: checking for g77 configure:5591: result: no configure:5562: checking for f77 configure:5591: result: no configure:5562: checking for xlf configure:5591: result: no configure:5562: checking for frt configure:5591: result: no configure:5562: checking for pgf77 configure:5591: result: no configure:5562: checking for fort77 configure:5591: result: no configure:5562: checking for fl32 configure:5591: result: no configure:5562: checking for af77 configure:5591: result: no configure:5562: checking for f90 configure:5591: result: no configure:5562: checking for xlf90 configure:5591: result: no configure:5562: checking for pgf90 configure:5591: result: no configure:5562: checking for epcf90 configure:5591: result: no configure:5562: checking for f95 configure:5591: result: no configure:5562: checking for fort configure:5591: result: no configure:5562: checking for xlf95 configure:5591: result: no configure:5562: checking for ifc configure:5591: result: no configure:5562: checking for efc configure:5591: result: no configure:5562: checking for pgf95 configure:5591: result: no configure:5562: checking for lf95 configure:5591: result: no configure:5562: checking for gfortran configure:5591: result: no configure:5603: checking for Fortran 77 compiler version configure:5606: --version </dev/null >&5 ./configure: line 5607: --version: command not found configure:5609: $? = 127 configure:5611: -v </dev/null >&5 ./configure: line 5612: -v: command not found configure:5614: $? = 127 configure:5616: -V </dev/null >&5 ./configure: line 5617: -V: command not found configure:5619: $? = 127 configure:5627: checking whether we are using the GNU Fortran 77 compiler configure:5641: -c conftest.F >&5 ./configure: line 5642: -c: command not found configure:5647: $? = 127 configure: failed program was: | program main | #ifndef __GNUC__ | choke me | #endif | | end configure:5673: result: no configure:5679: checking whether accepts -g configure:5691: -c -g conftest.f >&5 ./configure: line 5692: -c: command not found configure:5697: $? = 127 configure: failed program was: | program main | | end configure:5722: result: no configure:5752: checking the maximum length of command line arguments configure:5844: result: 8192 configure:5855: checking command to parse /usr/bin/nm -B output from gcc object configure:5951: gcc -c -g -O2 conftest.c >&5 configure:5954: $? = 0 configure:5958: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm configure:5961: $? = 0 cannot find nm_test_var in conftest.nm configure:5951: gcc -c -g -O2 conftest.c >&5 configure:5954: $? = 0 configure:5958: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' \> conftest.nm configure:5961: $? = 0 configure:6013: gcc -o conftest.exe -g -O2 conftest.c conftstm.o >&5 configure:6016: $? = 0 configure:6054: result: ok configure:6058: checking for objdir configure:6073: result: .libs configure:6163: checking for ar configure:6179: found /usr/bin/ar configure:6190: result: ar configure:6243: checking for ranlib configure:6259: found /usr/bin/ranlib configure:6270: result: ranlib configure:6323: checking for strip configure:6339: found /usr/bin/strip configure:6350: result: strip configure:6637: checking if gcc static flag works configure:6665: result: yes configure:6683: checking if gcc supports -fno-rtti -fno-exceptions configure:6701: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C configure:6705: $? = 0 configure:6718: result: no configure:6733: checking for gcc option to produce PIC configure:6937: result: configure:7004: checking if gcc supports -c -o file.o configure:7025: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 configure:7029: $? = 0 configure:7051: result: yes configure:7077: checking whether the gcc linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries configure:7973: result: yes configure:7999: checking whether -lc should be explicitly linked in configure:8004: gcc -c -g -O2 conftest.c >&5 configure:8007: $? = 0 configure:8021: gcc -shared conftest.o -v -o ./conftest -Wl,--image-base=0x10000000 -Wl,--out-implib,conftest 2\>\&1 \| grep -lc \>/dev/null 2\>\&1 configure:8024: $? = 1 configure:8036: result: yes configure:8044: checking dynamic linker characteristics configure:8590: result: Win32 ld.exe configure:8594: checking how to hardcode library paths into programs configure:8619: result: immediate configure:8633: checking whether stripping libraries is possible configure:8638: result: yes configure:9468: checking if libtool supports shared libraries configure:9470: result: yes configure:9473: checking whether to build shared libraries configure:9494: result: yes configure:9497: checking whether to build static libraries configure:9501: result: yes configure:9593: creating libtool configure:10171: checking for ld used by g++ configure:10238: result: /usr/i686-pc-cygwin/bin/ld.exe configure:10247: checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld configure:10262: result: yes configure:10313: checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries configure:11200: result: yes configure:11218: g++ -c -g -O2 conftest.cc >&5 configure:11221: $? = 0 configure:11317: checking for g++ option to produce PIC configure:11585: result: configure:11652: checking if g++ supports -c -o file.o configure:11673: g++ -c -g -O2 -o out/conftest2.o conftest.cc >&5 configure:11677: $? = 0 configure:11699: result: yes configure:11725: checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries configure:11750: result: yes configure:11821: checking dynamic linker characteristics configure:12367: result: Win32 ld.exe configure:12371: checking how to hardcode library paths into programs configure:12396: result: immediate configure:12410: checking whether stripping libraries is possible configure:12415: result: yes configure:19925: checking for flex configure:19954: result: no configure:19925: checking for lex configure:19954: result: no configure:19964: checking for yywrap in -lfl configure:19994: gcc -o conftest.exe -g -O2 conftest.c -lfl >&5 /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lfl collect2: ld returned 1 exit status configure:20000: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GiNaC" | #define PACKAGE_TARNAME "ginac" | #define PACKAGE_VERSION "1.4.0" | #define PACKAGE_STRING "GiNaC 1.4.0" | #define PACKAGE_BUGREPORT "<ginac-list@ginac.de>" | #define PACKAGE "ginac" | #define VERSION "1.4.0" | #define ARCHIVE_VERSION 2 | #define ARCHIVE_AGE 2 | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #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 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 yywrap (); | int | main () | { | yywrap (); | ; | return 0; | } configure:20026: result: no configure:20031: checking for yywrap in -ll configure:20061: gcc -o conftest.exe -g -O2 conftest.c -ll >&5 /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -ll collect2: ld returned 1 exit status configure:20067: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GiNaC" | #define PACKAGE_TARNAME "ginac" | #define PACKAGE_VERSION "1.4.0" | #define PACKAGE_STRING "GiNaC 1.4.0" | #define PACKAGE_BUGREPORT "<ginac-list@ginac.de>" | #define PACKAGE "ginac" | #define VERSION "1.4.0" | #define ARCHIVE_VERSION 2 | #define ARCHIVE_AGE 2 | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #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 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 yywrap (); | int | main () | { | yywrap (); | ; | return 0; | } configure:20093: result: no configure:20202: checking for bison configure:20231: result: no configure:20202: checking for byacc configure:20231: result: no configure:20240: checking for int configure:20264: gcc -c -g -O2 conftest.c >&5 configure:20270: $? = 0 configure:20274: test -z || test ! -s conftest.err configure:20277: $? = 0 configure:20280: test -s conftest.o configure:20283: $? = 0 configure:20294: result: yes configure:20297: checking size of int configure:20616: gcc -o conftest.exe -g -O2 conftest.c >&5 configure:20619: $? = 0 configure:20621: ./conftest.exe configure:20624: $? = 0 configure:20647: result: 4 configure:20654: checking for long configure:20678: gcc -c -g -O2 conftest.c >&5 configure:20684: $? = 0 configure:20688: test -z || test ! -s conftest.err configure:20691: $? = 0 configure:20694: test -s conftest.o configure:20697: $? = 0 configure:20708: result: yes configure:20711: checking size of long configure:21030: gcc -o conftest.exe -g -O2 conftest.c >&5 configure:21033: $? = 0 configure:21035: ./conftest.exe configure:21038: $? = 0 configure:21061: result: 4 configure:21068: checking for long long configure:21092: gcc -c -g -O2 conftest.c >&5 configure:21098: $? = 0 configure:21102: test -z || test ! -s conftest.err configure:21105: $? = 0 configure:21108: test -s conftest.o configure:21111: $? = 0 configure:21122: result: yes configure:21125: checking size of long long configure:21444: gcc -o conftest.exe -g -O2 conftest.c >&5 configure:21447: $? = 0 configure:21449: ./conftest.exe configure:21452: $? = 0 configure:21475: result: 8 configure:21482: checking for long double configure:21506: gcc -c -g -O2 conftest.c >&5 configure:21512: $? = 0 configure:21516: test -z || test ! -s conftest.err configure:21519: $? = 0 configure:21522: test -s conftest.o configure:21525: $? = 0 configure:21536: result: yes configure:21539: checking size of long double configure:21858: gcc -o conftest.exe -g -O2 conftest.c >&5 configure:21861: $? = 0 configure:21863: ./conftest.exe configure:21866: $? = 0 configure:21889: result: 12 configure:21896: checking for void * configure:21920: gcc -c -g -O2 conftest.c >&5 configure:21926: $? = 0 configure:21930: test -z || test ! -s conftest.err configure:21933: $? = 0 configure:21936: test -s conftest.o configure:21939: $? = 0 configure:21950: result: yes configure:21953: checking size of void * configure:22272: gcc -o conftest.exe -g -O2 conftest.c >&5 configure:22275: $? = 0 configure:22277: ./conftest.exe configure:22280: $? = 0 configure:22303: result: 4 configure:22324: checking for unistd.h configure:22329: result: yes configure:22469: checking whether struct rusage is declared in <sys/resource.h> configure:22493: g++ -c -g -O2 conftest.cc >&5 configure:22499: $? = 0 configure:22503: test -z || test ! -s conftest.err configure:22506: $? = 0 configure:22509: test -s conftest.o configure:22512: $? = 0 configure:22524: result: yes configure:22552: checking readline/readline.h usability configure:22564: g++ -c -g -O2 conftest.cc >&5 conftest.cc:68:31: readline/readline.h: No such file or directory configure:22570: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GiNaC" | #define PACKAGE_TARNAME "ginac" | #define PACKAGE_VERSION "1.4.0" | #define PACKAGE_STRING "GiNaC 1.4.0" | #define PACKAGE_BUGREPORT "<ginac-list@ginac.de>" | #define PACKAGE "ginac" | #define VERSION "1.4.0" | #define ARCHIVE_VERSION 2 | #define ARCHIVE_AGE 2 | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #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 HAVE_DLFCN_H 1 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_LONG_DOUBLE 12 | #define SIZEOF_VOID_P 4 | #define HAVE_UNISTD_H 1 | #define HAVE_RUSAGE | /* 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 <readline/readline.h> configure:22593: result: no configure:22597: checking readline/readline.h presence configure:22607: g++ -E conftest.cc conftest.cc:34:31: readline/readline.h: No such file or directory configure:22613: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GiNaC" | #define PACKAGE_TARNAME "ginac" | #define PACKAGE_VERSION "1.4.0" | #define PACKAGE_STRING "GiNaC 1.4.0" | #define PACKAGE_BUGREPORT "<ginac-list@ginac.de>" | #define PACKAGE "ginac" | #define VERSION "1.4.0" | #define ARCHIVE_VERSION 2 | #define ARCHIVE_AGE 2 | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #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 HAVE_DLFCN_H 1 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_LONG_DOUBLE 12 | #define SIZEOF_VOID_P 4 | #define HAVE_UNISTD_H 1 | #define HAVE_RUSAGE | /* end confdefs.h. */ | #include <readline/readline.h> configure:22633: result: no configure:22668: checking for readline/readline.h configure:22675: result: no configure:22552: checking readline/history.h usability configure:22564: g++ -c -g -O2 conftest.cc >&5 conftest.cc:68:30: readline/history.h: No such file or directory configure:22570: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GiNaC" | #define PACKAGE_TARNAME "ginac" | #define PACKAGE_VERSION "1.4.0" | #define PACKAGE_STRING "GiNaC 1.4.0" | #define PACKAGE_BUGREPORT "<ginac-list@ginac.de>" | #define PACKAGE "ginac" | #define VERSION "1.4.0" | #define ARCHIVE_VERSION 2 | #define ARCHIVE_AGE 2 | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #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 HAVE_DLFCN_H 1 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_LONG_DOUBLE 12 | #define SIZEOF_VOID_P 4 | #define HAVE_UNISTD_H 1 | #define HAVE_RUSAGE | /* 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 <readline/history.h> configure:22593: result: no configure:22597: checking readline/history.h presence configure:22607: g++ -E conftest.cc conftest.cc:34:30: readline/history.h: No such file or directory configure:22613: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GiNaC" | #define PACKAGE_TARNAME "ginac" | #define PACKAGE_VERSION "1.4.0" | #define PACKAGE_STRING "GiNaC 1.4.0" | #define PACKAGE_BUGREPORT "<ginac-list@ginac.de>" | #define PACKAGE "ginac" | #define VERSION "1.4.0" | #define ARCHIVE_VERSION 2 | #define ARCHIVE_AGE 2 | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #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 HAVE_DLFCN_H 1 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_LONG_DOUBLE 12 | #define SIZEOF_VOID_P 4 | #define HAVE_UNISTD_H 1 | #define HAVE_RUSAGE | /* end confdefs.h. */ | #include <readline/history.h> configure:22633: result: no configure:22668: checking for readline/history.h configure:22675: result: no configure:22703: checking for tgetent configure:22760: g++ -o conftest.exe -g -O2 conftest.cc >&5 /cygdrive/c/DOCUME~1/Pablo/LOCALS~1/Temp/cccW1MEP.o: In function `main': /home/ginac-1.4.0/conftest.cc:74: undefined reference to `_tgetent' /home/ginac-1.4.0/conftest.cc:73: undefined reference to `_tgetent' collect2: ld returned 1 exit status configure:22766: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GiNaC" | #define PACKAGE_TARNAME "ginac" | #define PACKAGE_VERSION "1.4.0" | #define PACKAGE_STRING "GiNaC 1.4.0" | #define PACKAGE_BUGREPORT "<ginac-list@ginac.de>" | #define PACKAGE "ginac" | #define VERSION "1.4.0" | #define ARCHIVE_VERSION 2 | #define ARCHIVE_AGE 2 | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #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 HAVE_DLFCN_H 1 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_LONG_DOUBLE 12 | #define SIZEOF_VOID_P 4 | #define HAVE_UNISTD_H 1 | #define HAVE_RUSAGE | /* end confdefs.h. */ | /* Define tgetent to an innocuous variant, in case <limits.h> declares tgetent. | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | #define tgetent innocuous_tgetent | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char tgetent (); below. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | <limits.h> exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | | #undef tgetent | | /* 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 tgetent (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined (__stub_tgetent) || defined (__stub___tgetent) | choke me | #else | char (*f) () = tgetent; | #endif | #ifdef __cplusplus | } | #endif | | int | main () | { | return f != tgetent; | ; | return 0; | } configure:22791: result: no configure:22804: checking for tgetent in -lncurses configure:22834: g++ -o conftest.exe -g -O2 conftest.cc -lncurses >&5 /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lncurses collect2: ld returned 1 exit status configure:22840: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GiNaC" | #define PACKAGE_TARNAME "ginac" | #define PACKAGE_VERSION "1.4.0" | #define PACKAGE_STRING "GiNaC 1.4.0" | #define PACKAGE_BUGREPORT "<ginac-list@ginac.de>" | #define PACKAGE "ginac" | #define VERSION "1.4.0" | #define ARCHIVE_VERSION 2 | #define ARCHIVE_AGE 2 | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #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 HAVE_DLFCN_H 1 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_LONG_DOUBLE 12 | #define SIZEOF_VOID_P 4 | #define HAVE_UNISTD_H 1 | #define HAVE_RUSAGE | /* 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 tgetent (); | int | main () | { | tgetent (); | ; | return 0; | } configure:22866: result: no configure:22873: checking for tgetent in -ltermcap configure:22903: g++ -o conftest.exe -g -O2 conftest.cc -ltermcap >&5 configure:22909: $? = 0 configure:22913: test -z || test ! -s conftest.err configure:22916: $? = 0 configure:22919: test -s conftest.exe configure:22922: $? = 0 configure:22935: result: yes configure:22950: checking for readline in -lreadline configure:22980: g++ -o conftest.exe -g -O2 conftest.cc -lreadline -ltermcap >&5 /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lreadline collect2: ld returned 1 exit status configure:22986: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GiNaC" | #define PACKAGE_TARNAME "ginac" | #define PACKAGE_VERSION "1.4.0" | #define PACKAGE_STRING "GiNaC 1.4.0" | #define PACKAGE_BUGREPORT "<ginac-list@ginac.de>" | #define PACKAGE "ginac" | #define VERSION "1.4.0" | #define ARCHIVE_VERSION 2 | #define ARCHIVE_AGE 2 | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #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 HAVE_DLFCN_H 1 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 4 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_LONG_DOUBLE 12 | #define SIZEOF_VOID_P 4 | #define HAVE_UNISTD_H 1 | #define HAVE_RUSAGE | /* 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 readline (); | int | main () | { | readline (); | ; | return 0; | } configure:23012: result: no configure:23134: checking iosfwd usability configure:23146: g++ -c -g -O2 conftest.cc >&5 configure:23152: $? = 0 configure:23156: test -z || test ! -s conftest.err configure:23159: $? = 0 configure:23162: test -s conftest.o configure:23165: $? = 0 configure:23175: result: yes configure:23179: checking iosfwd presence configure:23189: g++ -E conftest.cc configure:23195: $? = 0 configure:23215: result: yes configure:23250: checking for iosfwd configure:23257: result: yes configure:23282: checking iostream usability configure:23294: g++ -c -g -O2 conftest.cc >&5 configure:23300: $? = 0 configure:23304: test -z || test ! -s conftest.err configure:23307: $? = 0 configure:23310: test -s conftest.o configure:23313: $? = 0 configure:23323: result: yes configure:23327: checking iostream presence configure:23337: g++ -E conftest.cc configure:23343: $? = 0 configure:23363: result: yes configure:23398: checking for iostream configure:23405: result: yes configure:23430: checking vector usability configure:23442: g++ -c -g -O2 conftest.cc >&5 configure:23448: $? = 0 configure:23452: test -z || test ! -s conftest.err configure:23455: $? = 0 configure:23458: test -s conftest.o configure:23461: $? = 0 configure:23471: result: yes configure:23475: checking vector presence configure:23485: g++ -E conftest.cc configure:23491: $? = 0 configure:23511: result: yes configure:23546: checking for vector configure:23553: result: yes configure:23578: checking list usability configure:23590: g++ -c -g -O2 conftest.cc >&5 configure:23596: $? = 0 configure:23600: test -z || test ! -s conftest.err configure:23603: $? = 0 configure:23606: test -s conftest.o configure:23609: $? = 0 configure:23619: result: yes configure:23623: checking list presence configure:23633: g++ -E conftest.cc configure:23639: $? = 0 configure:23659: result: yes configure:23694: checking for list configure:23701: result: yes configure:23726: checking map usability configure:23738: g++ -c -g -O2 conftest.cc >&5 configure:23744: $? = 0 configure:23748: test -z || test ! -s conftest.err configure:23751: $? = 0 configure:23754: test -s conftest.o configure:23757: $? = 0 configure:23767: result: yes configure:23771: checking map presence configure:23781: g++ -E conftest.cc configure:23787: $? = 0 configure:23807: result: yes configure:23842: checking for map configure:23849: result: yes configure:23874: checking string usability configure:23886: g++ -c -g -O2 conftest.cc >&5 configure:23892: $? = 0 configure:23896: test -z || test ! -s conftest.err configure:23899: $? = 0 configure:23902: test -s conftest.o configure:23905: $? = 0 configure:23915: result: yes configure:23919: checking string presence configure:23929: g++ -E conftest.cc configure:23935: $? = 0 configure:23955: result: yes configure:23990: checking for string configure:23997: result: yes configure:24022: checking sstream usability configure:24034: g++ -c -g -O2 conftest.cc >&5 configure:24040: $? = 0 configure:24044: test -z || test ! -s conftest.err configure:24047: $? = 0 configure:24050: test -s conftest.o configure:24053: $? = 0 configure:24063: result: yes configure:24067: checking sstream presence configure:24077: g++ -E conftest.cc configure:24083: $? = 0 configure:24103: result: yes configure:24138: checking for sstream configure:24145: result: yes configure:24170: checking typeinfo usability configure:24182: g++ -c -g -O2 conftest.cc >&5 configure:24188: $? = 0 configure:24192: test -z || test ! -s conftest.err configure:24195: $? = 0 configure:24198: test -s conftest.o configure:24201: $? = 0 configure:24211: result: yes configure:24215: checking typeinfo presence configure:24225: g++ -E conftest.cc configure:24231: $? = 0 configure:24251: result: yes configure:24286: checking for typeinfo configure:24293: result: yes configure:24318: checking stdexcept usability configure:24330: g++ -c -g -O2 conftest.cc >&5 configure:24336: $? = 0 configure:24340: test -z || test ! -s conftest.err configure:24343: $? = 0 configure:24346: test -s conftest.o configure:24349: $? = 0 configure:24359: result: yes configure:24363: checking stdexcept presence configure:24373: g++ -E conftest.cc configure:24379: $? = 0 configure:24399: result: yes configure:24434: checking for stdexcept configure:24441: result: yes configure:24466: checking algorithm usability configure:24478: g++ -c -g -O2 conftest.cc >&5 configure:24484: $? = 0 configure:24488: test -z || test ! -s conftest.err configure:24491: $? = 0 configure:24494: test -s conftest.o configure:24497: $? = 0 configure:24507: result: yes configure:24511: checking algorithm presence configure:24521: g++ -E conftest.cc configure:24527: $? = 0 configure:24547: result: yes configure:24582: checking for algorithm configure:24589: result: yes configure:24614: checking limits usability configure:24626: g++ -c -g -O2 conftest.cc >&5 configure:24632: $? = 0 configure:24636: test -z || test ! -s conftest.err configure:24639: $? = 0 configure:24642: test -s conftest.o configure:24645: $? = 0 configure:24655: result: yes configure:24659: checking limits presence configure:24669: g++ -E conftest.cc configure:24675: $? = 0 configure:24695: result: yes configure:24730: checking for limits configure:24737: result: yes configure:24904: checking for dlopen in -ldl configure:24934: g++ -o conftest.exe -g -O2 conftest.cc -ldl >&5 configure:24940: $? = 0 configure:24944: test -z || test ! -s conftest.err configure:24947: $? = 0 configure:24950: test -s conftest.exe configure:24953: $? = 0 configure:24966: result: yes configure:25035: checking for pkg-config configure:25053: found /cygdrive/c/GTK/bin/pkg-config configure:25065: result: /cygdrive/c/GTK/bin/pkg-config configure:25080: checking pkg-config is at least version 0.9.0 configure:25083: result: yes configure:25094: checking for CLN configure:25099: $PKG_CONFIG --exists --print-errors "cln >= 1.1.6" Package cln was not found in the pkg-config search path. Perhaps you should add the directory containing `cln.pc' to the PKG_CONFIG_PATH environment variable No package 'cln' found configure:25102: $? = 1 configure:25113: $PKG_CONFIG --exists --print-errors "cln >= 1.1.6" Package cln was not found in the pkg-config search path. Perhaps you should add the directory containing `cln.pc' to the PKG_CONFIG_PATH environment variable No package 'cln' found configure:25116: $? = 1 Package cln was not found in the pkg-config search path. Perhaps you should add the directory containing `cln.pc' to the PKG_CONFIG_PATH environment variable No package 'cln' found configure:25137: error: Package requirements (cln >= 1.1.6) were not met. Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively you may set the CLN_CFLAGS and CLN_LIBS environment variables to avoid the need to call pkg-config. See the pkg-config man page for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-cygwin ac_cv_build_alias=i686-pc-cygwin ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CLN_CFLAGS_set= ac_cv_env_CLN_CFLAGS_value= ac_cv_env_CLN_LIBS_set= ac_cv_env_CLN_LIBS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_F77_set= ac_cv_env_F77_value= ac_cv_env_FFLAGS_set= ac_cv_env_FFLAGS_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_PKG_CONFIG_set= ac_cv_env_PKG_CONFIG_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_exeext=.exe ac_cv_f77_compiler_gnu=no ac_cv_func_tgetent=no ac_cv_have_rusage=yes ac_cv_header_algorithm=yes ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_iosfwd=yes ac_cv_header_iostream=yes ac_cv_header_limits=yes ac_cv_header_list=yes ac_cv_header_map=yes ac_cv_header_memory_h=yes ac_cv_header_readline_history_h=no ac_cv_header_readline_readline_h=no ac_cv_header_sstream=yes ac_cv_header_stdc=yes ac_cv_header_stdexcept=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_typeinfo=yes ac_cv_header_unistd_h=yes ac_cv_header_vector=yes ac_cv_host=i686-pc-cygwin ac_cv_host_alias=i686-pc-cygwin ac_cv_lib_dl_dlopen=yes ac_cv_lib_fl_yywrap=no ac_cv_lib_l_yywrap=no ac_cv_lib_ncurses_tgetent=no ac_cv_lib_readline_readline=no ac_cv_lib_termcap_tgetent=yes ac_cv_objext=o ac_cv_path_ac_pt_PKG_CONFIG=/cygdrive/c/GTK/bin/pkg-config ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_AWK=gawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_CXXCPP='g++ -E' ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_CXX=g++ ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc= ac_cv_prog_cxx_g=yes ac_cv_prog_egrep='grep -E' ac_cv_prog_f77_g=no ac_cv_prog_make_make_set=yes ac_cv_sizeof_int=4 ac_cv_sizeof_long=4 ac_cv_sizeof_long_double=12 ac_cv_sizeof_long_long=8 ac_cv_sizeof_void_p=4 ac_cv_type_int=yes ac_cv_type_long=yes ac_cv_type_long_double=yes ac_cv_type_long_long=yes ac_cv_type_void_p=yes am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd=func_win32_libid lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_objdir=.libs lt_cv_path_LD=/usr/i686-pc-cygwin/bin/ld.exe lt_cv_path_LDCXX=/usr/i686-pc-cygwin/bin/ld.exe lt_cv_path_NM='/usr/bin/nm -B' lt_cv_path_SED=/usr/bin/sed lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_CXX=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_gnu_ld=yes lt_cv_prog_gnu_ldcxx=yes lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern int \1;/p'\''' lt_cv_sys_max_cmd_len=8192 lt_lt_cv_prog_compiler_c_o='"yes"' lt_lt_cv_prog_compiler_c_o_CXX='"yes"' lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*_\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 _\\2 \\2/p'\''"' lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'\''"' lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. .* \\(.*\\)\$/extern int \\1;/p'\''"' ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/ginac-1.4.0/missing --run aclocal-1.9' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /home/ginac-1.4.0/missing --run tar' AR='ar' ARCHIVE_AGE='2' ARCHIVE_VERSION='2' AUTOCONF='${SHELL} /home/ginac-1.4.0/missing --run autoconf' AUTOHEADER='${SHELL} /home/ginac-1.4.0/missing --run autoheader' AUTOMAKE='${SHELL} /home/ginac-1.4.0/missing --run automake-1.9' AWK='gawk' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2' CLN_CFLAGS='' CLN_LIBS='' CONFIG_DOXYGEN_FALSE='' CONFIG_DOXYGEN_TRUE='' CONFIG_FIG2DEV_FALSE='' CONFIG_FIG2DEV_TRUE='' CONFIG_RUSAGE='yes' CONFIG_TEX_FALSE='' CONFIG_TEX_TRUE='' CPP='gcc -E' CPPFLAGS='' CXX='g++' CXXCPP='g++ -E' CXXDEPMODE='depmode=gcc3' CXXFLAGS='-g -O2' CYGPATH_W='cygpath -w' DEFS='' DEPDIR='.deps' DL_LIBS='-ldl' DOXYGEN='' DVIPS='' ECHO='echo' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='grep -E' EXEEXT='.exe' F77='' FFLAGS='' FIG2DEV='' GINACLIB_MAJOR_VERSION='1' GINACLIB_MICRO_VERSION='0' GINACLIB_MINOR_VERSION='4' GINACLIB_VERSION='1.4.0' GINSH_LIBS='-ltermcap ' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' LATEX='' LDFLAGS='' LEX='${SHELL} /home/ginac-1.4.0/missing --run flex' LEXLIB='' LEX_OUTPUT_ROOT='' LIBOBJS='' LIBS='' LIBTERMCAP='-ltermcap' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LN_S='ln -s' LTLIBOBJS='' LT_RELEASE='1.4' LT_VERSION_INFO='0:0:0' MAKEINDEX='' MAKEINFO='${SHELL} /home/ginac-1.4.0/missing --run makeinfo' OBJEXT='o' PACKAGE='ginac' PACKAGE_BUGREPORT='<ginac-list@ginac.de>' PACKAGE_NAME='GiNaC' PACKAGE_STRING='GiNaC 1.4.0' PACKAGE_TARNAME='ginac' PACKAGE_VERSION='1.4.0' PATH_SEPARATOR=':' PDFLATEX='' PKG_CONFIG='/cygdrive/c/GTK/bin/pkg-config' RANLIB='ranlib' SET_MAKE='' SHELL='/bin/sh' STRIP='strip' VERSION='1.4.0' YACC='yacc' ac_ct_AR='ar' ac_ct_CC='gcc' ac_ct_CXX='g++' ac_ct_F77='' ac_ct_RANLIB='ranlib' ac_ct_STRIP='strip' ac_pt_PKG_CONFIG='/cygdrive/c/GTK/bin/pkg-config' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='#' am__fastdepCXX_TRUE='' am__include='include' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='i686-pc-cygwin' build_alias='' build_cpu='i686' build_os='cygwin' build_vendor='pc' datadir='${prefix}/share' exec_prefix='NONE' host='i686-pc-cygwin' host_alias='' host_cpu='i686' host_os='cygwin' host_vendor='pc' includedir='${prefix}/include' infodir='${prefix}/info' install_sh='/home/ginac-1.4.0/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' mkdir_p='mkdir -p --' oldincludedir='/usr/include' prefix='NONE' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define ARCHIVE_AGE 2 #define ARCHIVE_VERSION 2 #define HAVE_DLFCN_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_LIBDL 1 #define HAVE_MEMORY_H 1 #define HAVE_RUSAGE #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 HAVE_UNISTD_H 1 #define PACKAGE "ginac" #define PACKAGE_BUGREPORT "<ginac-list@ginac.de>" #define PACKAGE_NAME "GiNaC" #define PACKAGE_STRING "GiNaC 1.4.0" #define PACKAGE_TARNAME "ginac" #define PACKAGE_VERSION "1.4.0" #define SIZEOF_INT 4 #define SIZEOF_LONG 4 #define SIZEOF_LONG_DOUBLE 12 #define SIZEOF_LONG_LONG 8 #define SIZEOF_VOID_P 4 #define STDC_HEADERS 1 #define VERSION "1.4.0" #endif #ifdef __cplusplus extern "C" void std::exit (int) throw (); using std::exit; configure: exit 1
Hello! On Tue, Oct 09, 2007 at 09:27:52AM -0300, Pablo Cavalcanti wrote:
This is my first email to this list. I am trying to install GiNaC in cygwin and an error always stops the ./configure. I am not very used to GNU/Linux systems, but I guess that CLN installation didn't have troubles. But it seems that GiNaC installation can't find CLN. Well, this is the error:
checking for pkg-config... /cygdrive/c/GTK/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for CLN... configure: error: Package requirements (cln >= 1.1.6) were not met. Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively you may set the CLN_CFLAGS and CLN_LIBS environment variables to avoid the need to call pkg-config. See the pkg-config man page for more details.
Reading the message-history I found some tips.
I tried setting some variables but always got the same error. My attempts:
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure
Is there cln.pc file in the /usr/local/lib/pkgconfig directory? I've got a similar problem when compiling CLN on ReactOS (with MinGW tools) and cross-compiling on Linux. For some weird reason cln.pc does not get installed, so I had to copy it manually. Could you also try the following (this should work even without cln.pc being installed into the right directory): CLN_LIBS="-L/usr/local/lib -lcln" CLN_CFLAGS="-I/usr/local/include" ./configure or (if you've compiled CLN with GMP) CLN_LIBS="-L/usr/local/lib -lcln -lgmp" CLN_CFLAGS="-I/usr/local/include" ./configure Unfortunately, all you further attempts are incorrect (I'll explain why). [snipped]
As I also read, It's important to send the config.log for you too. I pasted at the end of this email.
There is nothing unusual in the config.log (modulo pkg-config failing to find cln.pc, of course).
./configure PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
FOO=bar ./configure starts the configure script with environment variable FOO set to "bar". ./configure FOO=bar starts the configure script and passes "FOO=bar" command line argument. It does NOT set any environment variables at all. One might ask "why ./configure CPPFLAGS='-DFOO' works?". Well, the configure script parses command line and extracts some "important" flags (such as CFLAGS, CXXFLAGS, etc.) and set corresponding environment variable[s] on its own. This is somewhat confusing. so to be really sure pass environment variables in a usual way: FOO=bar BAR=baz ./configure
./configure PKG_CONFIG_PATH=/usr/local/lib/pkgconfig CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" CLN_CFLAGS="-I/usr/local/include/cln"
First of all, CLN_CFLAGS does not get set. Secondly, the configure script expects CLN_LIBS along with CLN_CFLAGS. It says: "Alternatively you may set the CLN_CFLAGS _AND_ CLN_LIBS environment variables" So correct variant would be CLN_LIBS="-L/usr/local/lib -lcln" CLN_CFLAGS="-I/usr/local/include" ./configure -I/usr/local/include/cln is incorrect too, since GiNaC does #include <cln/cl_something.h> Best regards, Alexei P.S. Sorry for long delay and thanks for a sensible report. -- All science is either physics or stamp collecting.
participants (2)
-
Alexei Sheplyakov
-
Pablo Cavalcanti