This is the mail archive of the 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: Problem building Setup.exe

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
"" 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
./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

Although I, personally, prefer to build in a separate directory, just to
keep a clean source copy, e.g.

cd setup
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

Hope this helps,
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,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

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