RPM Community Forums

Mailing List Message of <rpm-devel>

Using --with-tcl=external passed to db/dist/configure

From: Jeff Johnson <jbj@jbj.org>
Date: Sun 10 May 2009 - 19:39:06 CEST
Message-Id: <EF85DE81-3D73-4FB5-A89C-D6B1868887BD@jbj.org>
The fix will be either to change --with-tcl, or filter
configure args in db3/configure more carefully.

Here's the failure symptom:

=== configuring in db3 (/X/src/wdj52/db3)
configure: running /bin/sh ./configure --disable-option-checking '-- 
prefix=/usr'  '--verbose' '--verbose' '--with-db=internal' '--with-db- 
tools-integrated' '--with-zlib=external' '--with-bzip2=external' '-- 
with-xz=internal' '--with-file=internal' '--with-lua=internal' '--with- 
tcl=external' '--with-sqlite=external' '--with-syck=internal' '--with- 
beecrypt=external' '--with-openssl=external' '--with-nss=external' '-- 
with-gcrypt=external' '--with-neon=external' '--with-pcre=internal' '-- 
with-uuid=system' '--with-xar=internal' '--with-popt=external' '--with- 
keyutils=external' '--with-pthreads' '--with-libelf' '--with-selinux'  
'--with-ficl=/usr/lib:/usr/include/ficl' '--with-js=internal' '--with- 
python' '--with-pythonembed=/usr/lib:/usr/include/python2.5' '--with- 
perl' '--with-perlembed=/usr/lib/perl5/5.10.0/i386-linux-thread-multi/ 
CORE' '--with-ruby=/usr/lib/ruby/1.8/i386-linux' '--with-build- 
extlibdep' '--with-build-maxextlibdep' '--enable-build-pic' '--enable- 
build-versionscript' '--enable-build-warnings' '--enable-build-debug'  
'--enable-maintainer-mode' '--with-path-lib=/usr/lib/rpm' --cache- 
file=/dev/null --srcdir=.
./../db/dist/configure: line 1325: =external: command not found
export CC=""
export CFLAGS=""

And here's db/dist/configure context (the eval is line #1325):

   *=*)
     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
     # Reject names that are not valid shell variable names.
     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    { (exit 1); exit 1; }; }
     eval $ac_envvar=\$ac_optarg
     export $ac_envvar ;;

My guess (unverified, but likely) is that --with-tcl=external is
the root of the flaw.

Should I filter in db3/configure or change to --with-tclembed?

73 de Jeff
Received on Sun May 10 19:39:29 2009
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.