This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: Problem building Setup.exe
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Christian Gross <christianhgross at yahoo dot ca>
- Cc: cygwin-apps at cygwin dot com
- Date: Fri, 25 Jul 2003 09:05:49 -0400 (EDT)
- Subject: Re: Problem building Setup.exe
- Reply-to: cygwin-apps at cygwin dot com
On Fri, 25 Jul 2003, Christian Gross wrote:
> Hello
>
> I downloaded the Setup.exe program from the CVS
> sources. Then in order I did the following:
>
> ./bootstrap
> ./setup/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
>
> The bootstrap was successful, but the configure was
> not. Here is the error.
>
> checking dynamic linker characteristics... Win32 ld.exe
> checking sys/cdefs.h usability... no
> checking sys/cdefs.h presence... no
> checking for sys/cdefs.h... no
> checking for unistd.h... (cached) yes
> checking for string... (cached) yes
> checking for string.h... (cached) yes
> checking getopt.h usability... yes
> checking getopt.h presence... yes
> checking for getopt.h... yes
> checking for an ANSI C-conforming const... yes
> checking whether byte ordering is bigendian... no
> updating cache ../config.cache
> configure: creating ./config.status
> config.status: creating \
> .infig.status: error: cannot find input file: \
> configure: error: /bin/bash '.././setup/libgetopt++/configure' failed for libgetopt++
>
> Could somebody please tell me what the problem is?
>
> Thanks
> Christian Gross
Well, Christian, it doesn't seem like you're calling the right programs
here... Judging by the path in the second command, you're running this
from a directory one level up from setup's source. AFAIK, there is no
bootstrap script there, especially not one called "bootstrap". There is a
"bootstrap.sh" script *in* the setup source directory, and that's the one
you should be calling, IIRC. So, your sequence (starting at the same
directory you were before) should be:
cd setup
./bootstrap.sh
./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
Although I, personally, prefer to build in a separate directory, just to
keep a clean source copy, e.g.
cd setup
./bootstrap.sh
cd ../build
../setup/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
Hope this helps,
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton