www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/05/01/16:59:07

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
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 <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <Cygwin-Apps AT cygwin DOT com>
X-Accept-Language: en
MIME-Version: 1.0
To: Earnie Boyd <Cygwin-Apps AT cygwin DOT com>
Subject: Error in libgetopt++ from the setup build directory [WAS: Re: Error in
configuring setup.]
References: <3CD00BC7 DOT FCEE131E AT yahoo DOT com>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019