can't build 1.5 with --enable-static

Andreas Hasenack ahasenack at terra.com.br
Wed Aug 16 06:24:58 EDT 2006


On Tuesday 15 August 2006 23:34, Tom Yu wrote:
> >>>>> "Andreas" == Andreas Hasenack <ahasenack at terra.com.br> writes:
>
> Andreas> building static db library
> Andreas> set -x; objlist=`set -x && perl -p -e 'BEGIN { $SIG{__WARN__} =
> sub {die Andreas> @_} }; $e=$ARGV; $e =~ s/OBJS\...$//; s/^/ /; s/ $//; s/
> / $e/g;' Andreas> hash/OBJS.ST btree/OBJS.ST db/OBJS.ST mpool/OBJS.ST
> recno/OBJS.ST Andreas> clib/OBJS.ST` && ar cq libdb.a $objlist
> Andreas> ++ set -x
> Andreas> ++ perl -p -e 'BEGIN { $SIG{__WARN__} = sub {die @_} }; $e=$ARGV;
> $e =~ Andreas> s/OBJS\...$//; s/^/ /; s/ $//; s/ / $e/g;' hash/OBJS.ST
> btree/OBJS.ST Andreas> db/OBJS.ST mpool/OBJS.ST recno/OBJS.ST clib/OBJS.ST
> Andreas> Can't open hash/OBJS.ST: No such file or directory.
> Andreas> + objlist=
> Andreas> make[2]: *** [libdb.a] Error 2
> Andreas> make[2]: Leaving directory
> Andreas> `/build/svn/krb5/BUILD/krb5-1.5/src/plugins/kdb/db2/libdb2'
>
> Is this with --disable-shared?  We don't currently support building
> with exclusively static libraries.

No, I have shared enabled too. This is the configure line:

./configure --enable-shared \
            --enable-static \
            --localstatedir=%{_localstatedir}/kerberos \
            --enable-kdc-replay-cache \
            --enable-dns-for-realm \
            --libdir=%{krbdir}/lib \
            --without-krb4 \
            --prefix=%{_prefix} \
            --mandir=%{_mandir} \
            --infodir=%{_infodir} \
            --datadir=%{_datadir} \
            --includedir=%{_includedir}



More information about the Kerberos mailing list