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: Problem building Setup.exe


On Fri, 25 Jul 2003, Christian (SerpentMage) wrote:

> 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 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:
>
> Yes you are right there.  However, the bootstrap.sh script does get
> called.  It was a typo in the email.
>
> I still get the error...
>
> Thanks...
> Christian

Christian,

Please make sure your mailer honors the Reply-To: field.  We should keep
this discussion on the list, so this appears in the archives.

FYI, I was able to CVS checkout and build setup from scratch just now by
using the command sequence below (with the exact output).  I'm also
attaching my "cygcheck -c" output, just in case, so you can compare our
configurations.

A wild guess: you *do* have gcc-mingw and mingw-runtime installed, right?
	Igor

[pechtcha:/tmp/test] cvs -z3 -d :pserver:anoncvs@sources.redhat.com:/cvs/cygwin-apps checkout setup
<see attached checkout.log>
[pechtcha:/tmp/test] cd setup/
[pechtcha:/tmp/test/setup] chmod a+x bootstrap.sh libgetopt++/bootstrap.sh
[pechtcha:/tmp/test/setup] ./bootstrap.sh
<see attached bootstrap.log>
[pechtcha:/tmp/test/setup] mkdir ../build
[pechtcha:/tmp/test/setup] cd ../build
[pechtcha:/tmp/test/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
<see attached configure.log>
[pechtcha:/tmp/test/build] make
<see attached make.log.gz>
[pechtcha:/tmp/test/build] ls -l setup.exe
-rwx--x--x    1 igor     Administ 11209768 Jul 25 11:02 setup.exe*
[pechtcha:/tmp/test/build]

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

Attachment: checkout.log
Description: Text document

Attachment: bootstrap.log
Description: Text document

Attachment: configure.log
Description: Text document

Attachment: make.log.gz
Description: Binary data

Attachment: cygcheck-cv.out
Description: Text document


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