Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps AT cygwin DOT com Delivered-To: mailing list cygwin-apps AT cygwin DOT com Message-ID: <3CD056A1.C312FED7@yahoo.com> Date: Wed, 01 May 2002 16:57:05 -0400 From: Earnie Boyd Reply-To: Earnie Boyd X-Accept-Language: en MIME-Version: 1.0 To: Earnie Boyd Subject: Error in libgetopt++ from the setup build directory [WAS: Re: Error in configuring setup.] References: <3CD00BC7 DOT FCEE131E AT yahoo DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Earnie Boyd wrote: > > Upon Robert's insistance I've installed the autotools. :( Now after > about 10 iterations of aclocal, libtoolize, autoconf I: > > mkdir bld > cd bld > ../configure > > And toward the configure ends with: > > configure: configuring in libgetopt++ > configure: running /bin/sh ../cfgaux/configure 'CFLAGS=-O0 -g' > 'CXXFLAGS=-O0 -g' --cache-file=/dev/null --srcdir=../../libgetopt++ > ../cfgaux/configure: Can't open ../cfgaux/configure: No such file or > directory > configure: error: /bin/sh ../cfgaux/configure failed for libgetopt++ > sed: can't read confdefs.h: No such file or directory > Ok, I finally found the bootstrap.sh files in setup/ and setup/libgetopt++ directories and executed them. I successfully configured. However now from the build process for libgetopt++ I get: g++ -DPACKAGE=\"setup\" -DVERSION=\"0\" -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -I. -I.. -I../bz2lib -I../libgetopt++/include -Werror -Winline -Wall -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wcomments -O0 -g -c -o desktop.o `test -f ../desktop.cc || echo '../'`../desktop.cc In file included from ../libgetopt++/include/getopt++/BoolOption.h:19, from ../desktop.cc:54: ../libgetopt++/include/getopt++/Option.h:25: #error " required" make[2]: *** [desktop.o] Error 1 make[2]: Leaving directory `/prjz/cygwin/rt/src/cygwin-apps/setup/bld' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/prjz/cygwin/rt/src/cygwin-apps/setup/bld' make: *** [all] Error 2 It appears that the configure process missed setting HAVE_STRING. Earnie.