[postgis-users] configure problem on cygwin/postgresql

annett.frick annett.frick at lup-umwelt.de
Tue Jan 27 05:21:37 PST 2004


hi norman,

thanks for the tip, but it doesn't work- I did as you said but the same problem
occurs:

It was created by configure, which was
generated by GNU Autoconf 2.57.  Invocation command line was

  $ ./configure --disable-shared CC=c++ CFLAGS=-O2 -W -Wall CXXFLAGS=-O2 -Wall -W

configure:1978: checking for gcc
configure:2004: result: c++
configure:2248: checking for C compiler version
configure:2251: c++ --version </dev/null >&5
c++ (GCC) 3.3.1 (cygming special)
Copyright (C) 2003 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:2254: $? = 0
configure:2256: c++ -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/specs
Configured with: /GCC/gcc-3.3.1-3/configure --with-gcc --with-gnu-ld --with-gnu-as --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/sbin --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,f77,pascal,java,objc --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls --without-included-gettext --enable-interpreter --enable-sjlj-exceptions --disable-version-specific-runtime-libs --enable-shared --disable-win32-registry --enable-java-gc=boehm --disable-hash-synchronization --verbose --target=i686-pc-cygwin --host=i686-pc-cygwin --build=i686-pc-cygwin
Thread model: posix
gcc version 3.3.1 (cygming special)
configure:2259: $? = 0
configure:2261: c++ -V </dev/null >&5
c++: `-V' option must have argument
configure:2264: $? = 1
configure:2288: checking for C compiler default output
configure:2291: c++ -O2 -W -Wall   conftest.c  >&5
configure:2294: $? = 1
configure: failed program was:
| #line 2267 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "geos"
| #define VERSION "1.0"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2333: error: C compiler cannot create executables
See `config.log' for more details.

any other idea??
thanks
annett
-- 
annett.frick <annett.frick at lup-umwelt.de>




More information about the postgis-users mailing list