I just tried this at home too and generated the following in my config.log:
[EMAIL PROTECTED] ~/src/Scribus $ CFLAGS="-fdata-sections" CXXFLAGS="-fdata-sections" LDFLAGS="-Wl, --enable-runtime-pseudo-reloc, --script, $QTDIR/mkspecs/cyg win-g++/i386pi.x-no-rdata" ./configure --prefix=/opt/scribus/1.3 checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking target system type... i686-pc-cygwin checking for a BSD-compatible install... /usr/bin/install -c checking for -p flag to install... yes checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for pkg-config... no checking for libart2-config... /usr/bin/libart2-config checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. [EMAIL PROTECTED] ~/src/Scribus $
Config.log: ...
configure:2584: $? = 0 configure:2586: gcc -v </dev/null >&5 Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/specs Configured with: /gcc/gcc-3.3.3-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,java,objc,pascal --enable-nls --without-included-gettext --enable-libgcj --with-system-zlib --enable-interpreter --enable-threads=posix --enable-java-gc=boehm --enable-sjlj-exceptions --disable-version-specific-runtime-libs --disable-win32-registry Thread model: posix gcc version 3.3.3 (cygwin special) configure:2589: $? = 0 configure:2591: gcc -V </dev/null >&5 gcc: `-V' option must have argument configure:2594: $? = 1 configure:2617: checking for C compiler default output file name configure:2620: gcc -fdata-sections -Wl, --enable-runtime-pseudo-reloc, --script, /opt/qt/3.3/mkspecs/cygwin-g++/i386pi.x-no-rdata conftest.c >&5 gcc: /opt/qt/3.3/mkspecs/cygwin-g++/i386pi.x-no-rdata: No such file or directory cc1: error: unrecognized option `-fenable-runtime-pseudo-reloc,' cc1: error: unrecognized option `-fscript,' configure:2623: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "scribus" | #define VERSION "1.3.0cvs" | #define HAVE_LIBART 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2662: error: C compiler cannot create executables See `config.log' for more details. ...
It looks to me like there are problems here:
configure:2589: $? = 0 configure:2591: gcc -V </dev/null >&5 gcc: `-V' option must have argument configure:2594: $? = 1
Does anybody know where I can edit the file that contains the instruction: gcc -V </dev/null >&5 ???
I checked cygwin and there isn't any directory for /dev and I'm not quite sure a possible equivalent exists.
Any ideas?
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/