can't build 1.5 with --enable-static
Dennis Davis
D.H.Davis at bath.ac.uk
Thu Aug 10 04:34:20 EDT 2006
On Wed, 9 Aug 2006, Andreas Hasenack wrote:
> From: Andreas Hasenack <ahasenack at terra.com.br>
> To: kerberos at mit.edu
> Date: Wed, 9 Aug 2006 21:45:15 -0300
> Subject: can't build 1.5 with --enable-static
>
> building static db library
> set -x; objlist=`set -x && perl -p -e 'BEGIN { $SIG{__WARN__} = sub {die
> @_} }; $e=$ARGV; $e =~ s/OBJS\...$//; s/^/ /; s/ $//; s/ / $e/g;'
> hash/OBJS.ST btree/OBJS.ST db/OBJS.ST mpool/OBJS.ST recno/OBJS.ST
> clib/OBJS.ST` && ar cq libdb.a $objlist
> ++ set -x
> ++ perl -p -e 'BEGIN { $SIG{__WARN__} = sub {die @_} }; $e=$ARGV; $e =~
> s/OBJS\...$//; s/^/ /; s/ $//; s/ / $e/g;' hash/OBJS.ST btree/OBJS.ST
> db/OBJS.ST mpool/OBJS.ST recno/OBJS.ST clib/OBJS.ST
> Can't open hash/OBJS.ST: No such file or directory.
> + objlist=
> make[2]: *** [libdb.a] Error 2
> make[2]: Leaving directory
> `/build/svn/krb5/BUILD/krb5-1.5/src/plugins/kdb/db2/libdb2'
I've reported this as a bug. Presumably it'll be fixed in the
upcoming 1.5.1 release.
In the meantime try fixing this by running the following simple
script after the configuration and *before* the main build:
#!/bin/sh
for i in \
./plugins/kdb/db2/libdb2/hash \
./plugins/kdb/db2/libdb2/db \
./plugins/kdb/db2/libdb2/mpool \
./plugins/kdb/db2/libdb2/btree \
./plugins/kdb/db2/libdb2/recno \
./plugins/kdb/db2/libdb2/clib
do
(cd $i; make OBJS.ST)
done
--
Dennis Davis, BUCS, University of Bath, Bath, BA2 7AY, UK
D.H.Davis at bath.ac.uk Phone: +44 1225 386101
More information about the Kerberos
mailing list