This is the mail archive of the cygwin@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: configuring cygwin-setup: ../cfgaux/configure: No such file or directory


--- Max Bowsher wrote:
> Perry Pupp wrote:
...

> > 
> > $ cd setup
> > 
> > $ sh bootstrap.sh
> > Running bootstrap.sh in libgetopt++
> > ./bootstrap.sh: not found
> 
> Well, that obviously isn't right.
> Is there no libgetopt++/bootstrap.sh in your
> checkout?
> 

** (from bld subdirectory, where last trace left off)

$ cd ..

$ ls libgetopt++/
COPYING  CVS  ChangeLog  Makefile.am  README 
bootstrap.sh  configure.in  include  src  tests

$ ls -l libgetopt++/
total 31
-rw-rw-rw-    1 username    mkgroup     17992 Apr 26 
2002 COPYING
drwxrwxrwx+   2 username    mkgroup      4096 Oct  6
16:17 CVS
-rw-rw-rw-    1 username    mkgroup      4801 Mar 18 
2003 ChangeLog
-rw-rw-rw-    1 username    mkgroup      1194 Mar 18 
2003 Makefile.am
-rw-rw-rw-    1 username    mkgroup      3238 Apr 13 
2002 README
-rw-rw-rw-    1 username    mkgroup       925 Mar  8 
2003 bootstrap.sh
-rw-rw-rw-    1 username    mkgroup       780 Mar 18 
2003 configure.in
drwxrwxrwx+   4 username    mkgroup      4096 Oct  6
16:17 include
drwxrwxrwx+   3 username    mkgroup      4096 Oct  6
16:17 src
drwxrwxrwx+   3 username    mkgroup         0 Oct  6
16:17 tests

$ cd libgetopt++/

$ sh bootstrap.sh
configure.in: installing `cfgaux/install-sh'
configure.in: installing `cfgaux/mkinstalldirs'
configure.in: installing `cfgaux/missing'
Makefile.am: installing `cfgaux/compile'
Makefile.am: installing `cfgaux/depcomp'
Autotool bootstrapping complete.

$ ls
COPYING  ChangeLog    Makefile.in  aclocal.m4     
bootstrap.sh  configure     include  tests
CVS      Makefile.am  README       autom4te.cache 
cfgaux        configure.in  src

$ cd ..

$ cat bootstrap.sh
#! /bin/sh
# Used to setup the configure.in, autoheader and
Makefile.in's if configure
# has not been generated. This script is only needed
for developers when
# configure has not been run, or if a Makefile.am in a
non-configured directory
# has been updated


bootstrap() {
  if "$@"; then
    true # Everything OK
  else
    echo "$1 failed"
    echo "Autotool bootstrapping failed. You will need
to investigate and correct" ;
    echo "before you can develop on this source tree"
    exit 1
  fi
}

# Make sure we are running in the right directory
if [ ! -f cygpackage.cc ]; then
  echo "You must run this script from the directory
containing it"
  exit 1
fi

# Run bootstrap in required subdirs, iff it has not
yet been run
if [ ! -f libgetopt++/configure ]; then
  echo "Running bootstrap.sh in libgetopt++"
  (
    cd libgetopt++
    ./bootstrap.sh
  )
  echo "Continuing with bootstrap in current
directory"
fi

# Make sure cfgaux exists
mkdir -p cfgaux

# Bootstrap the autotool subsystems
bootstrap aclocal
# bootstrap autoheader
bootstrap libtoolize --automake
bootstrap autoconf
bootstrap automake --foreign --add-missing

echo "Autotool bootstrapping complete."


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

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


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