can't build 1.5 with --enable-static - Kerberos

This is a discussion on can't build 1.5 with --enable-static - Kerberos ; 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 ...

+ Reply to Thread
Results 1 to 6 of 6

Thread: can't build 1.5 with --enable-static

  1. 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'

    ________________________________________________
    Kerberos mailing list Kerberos@mit.edu
    https://mailman.mit.edu/mailman/listinfo/kerberos


  2. Re: can't build 1.5 with --enable-static

    On Wed, 9 Aug 2006, Andreas Hasenack wrote:

    > From: Andreas Hasenack
    > To: kerberos@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@bath.ac.uk Phone: +44 1225 386101
    ________________________________________________
    Kerberos mailing list Kerberos@mit.edu
    https://mailman.mit.edu/mailman/listinfo/kerberos


  3. Re: can't build 1.5 with --enable-static

    On Thursday 10 August 2006 05:34, Dennis Davis wrote:
    > 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


    This worked just fine, thanks!
    ________________________________________________
    Kerberos mailing list Kerberos@mit.edu
    https://mailman.mit.edu/mailman/listinfo/kerberos


  4. Re: can't build 1.5 with --enable-static

    >>>>> "Andreas" == Andreas Hasenack 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.

    ---Tom
    ________________________________________________
    Kerberos mailing list Kerberos@mit.edu
    https://mailman.mit.edu/mailman/listinfo/kerberos


  5. Re: can't build 1.5 with --enable-static

    On Tuesday 15 August 2006 23:34, Tom Yu wrote:
    > >>>>> "Andreas" == Andreas Hasenack 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}
    ________________________________________________
    Kerberos mailing list Kerberos@mit.edu
    https://mailman.mit.edu/mailman/listinfo/kerberos


  6. Re: can't build 1.5 with --enable-static

    On Wed, 16 Aug 2006, Andreas Hasenack wrote:

    > From: Andreas Hasenack
    > To: kerberos@mit.edu
    > Date: Wed, 16 Aug 2006 07:24:58 -0300
    > Subject: Re: can't build 1.5 with --enable-static
    >
    > On Tuesday 15 August 2006 23:34, Tom Yu wrote:


    ....

    > > 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 \


    ....

    I too see this when using both --enable-shared and --enable-static.
    However it seems to be Operating System and/or platform dependent.
    Of the three systems I've built krb5-1.5 on, it happens on:

    (1) OpenBSD3.9, i386 platform.
    (2) SunOS5.10, i386 platform.

    but it *doesn't* happen on:

    (3) SunOS5.8, sparc platform.

    They're all using versions of gcc, perl5 of some description and the
    OS-native version of make. But, as usual, I haven't a clue why two
    should give this problem and one doesn't.
    --
    Dennis Davis, BUCS, University of Bath, Bath, BA2 7AY, UK
    D.H.Davis@bath.ac.uk Phone: +44 1225 386101
    ________________________________________________
    Kerberos mailing list Kerberos@mit.edu
    https://mailman.mit.edu/mailman/listinfo/kerberos


+ Reply to Thread