This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Uncompilable setup.exe... again


Hello Mr Bowsher,

First of all : thank you for answering so quickly !

Here is is exactly what I've done so far :
- as explained in http://sources.redhat.com/cygwin-apps/setup.html, I've
cvs'ed the source of setup (cvs -z3 -d :pserver:anoncvs@sources.redhat.com:/cvs/cygwin-apps
co setup)
- cd setup/libgetopt++/ && ./bootstrap.sh
- cd ..
- ./configure -C --enable-dependencies --disable-shared --host=i686-pc-mingw32
--build=i686-pc-cygwin 'CC=gcc -mno-cygwin' 'CXX=g++ -mno- cygwin' --enable-maintainer-mode
- make
Here is the output (and the error message...) :

[...]
Making all in libgetopt++
make[2]: Entering directory `/cygdrive/d/cvs_dir_setup/setup/libgetopt++'
source='src/GetOption.cc' object='src/GetOption.lo' libtool=yes \
depfile='src/.deps/GetOption.Plo' tmpdepfile='src/.deps/GetOption.TPlo'
\
depmode=gcc /bin/bash ./cfgaux/depcomp \
/bin/bash ./libtool --mode=compile g++ -mno-cygwin -DHAVE_CONFIG_H -I. -I.
-I./include -I.
/include    -g -O2 -c -o src/GetOption.lo `test -f 'src/GetOption.cc' ||
echo './'`src/Get
Option.cc
 g++ -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I./include -I./include -g -O2
-c src/GetOption.c
c -Wp,-MD,src/.deps/GetOption.TPlo -o src/GetOption.o
In file included from include/getopt++/GetOption.h:19,
                 from src/GetOption.cc:19:
include/getopt++/OptionSet.h:20: iosfwd: No such file or directory
In file included from src/GetOption.cc:20:
include/getopt++/Option.h:23: string: No such file or directory
make[2]: *** [src/GetOption.lo] Error 1
make[2]: Leaving directory `/cygdrive/d/cvs_dir_setup/setup/libgetopt++'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/d/cvs_dir_setup/setup'
make: *** [all] Error 2


I then installed gcc-3.2-1.tar.bz2 and gcc-mingw-3.2-20020817-1.tar.bz2
(that I downloaded with the setup.exe program !!!). Then what I did was
:
- get a clean version of setup dir
- ./configure .... as above
This time, the message was :

yann@G06DW07 /cygdrive/d/cvs_dir_setup/setup
$ ./configure -C --enable-dependencies --disable-shared --host=i686-pc-mingw32
--build=i6
86-pc-cygwin 'CC=gcc -mno-cygwin' 'CXX=g++ -mno-cygwin' --enable-maintainer-mode
configure: creating cache config.cache
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for i686-pc-mingw32-strip... no
checking for strip... strip
checking whether to enable maintainer-specific portions of Makefiles...
yes
checking Whether to build inilint... no
checking Whether to enable rsync support... no
checking for i686-pc-mingw32-g++... g++ -mno-cygwin
checking for C++ compiler default output... configure: error: C++ compiler
cannot create e
xecutables

yann@G06DW07 /cygdrive/d/cvs_dir_setup/setup
$ ls

What I am doing wrong ? Should I update my Cygwin version too ?

Yann Crausaz
-----------------------------------------------
Yann Crausaz
EIVD - University of Applied Sciences of Western Switzerland
Route de Cheseaux 1
1400 Yverdon-les-Bains
Switzerland
mailto:yann.crausaz@eivd.ch
mailto:yann_crausaz@bluemail.ch
-----------------------------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]