RE: KRB5 1.5 or 1.6 compiled on AIX 5.2/5.3 - Kerberos

This is a discussion on RE: KRB5 1.5 or 1.6 compiled on AIX 5.2/5.3 - Kerberos ; Exact same errors specifying --without-tcl. I removed the config.cache, config.log, and etc the reran configure. From my configure line - ../configure --prefix=/usr/local/kerberos --enable-dns-for-realm --without-tcl --with-vague-errors Then after make... making all in lib/rpc/unit-test... Target "all" is up to date. cc -I../../../include ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: RE: KRB5 1.5 or 1.6 compiled on AIX 5.2/5.3

  1. RE: KRB5 1.5 or 1.6 compiled on AIX 5.2/5.3


    Exact same errors specifying --without-tcl. I removed the config.cache,
    config.log, and etc the reran configure. From my configure line -

    ../configure --prefix=/usr/local/kerberos --enable-dns-for-realm
    --without-tcl --with-vague-errors

    Then after make...

    making all in lib/rpc/unit-test...
    Target "all" is up to date.
    cc -I../../../include -I./../../../include -I.
    -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE=1 -g -qhalt=e -O
    _THREAD_SAFE -c client.c
    cc -I../../../include -I./../../../include -I.
    -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE=1 -g -qhalt=e -O
    _THREAD_SAFE -c rpc_test_clnt.c
    cc -L../../../lib
    -blibpath:/usr/local/kerberos/lib::/usr/lib:/lib -g -qhalt=e -O
    -D_THREAD_SAFE -o c
    nt client.o rpc_test_clnt.o -lgssrpc -lgssapi_krb5 -lkrb5 -lk5crypto
    -lcom_err -lkrb5support -lpthreads
    ld: 0706-006 Cannot find or open library file: -l k5crypto
    ldpen(): A file or directory in the path name does not exist.
    ld: 0706-006 Cannot find or open library file: -l com_err
    ldpen(): A file or directory in the path name does not exist.
    ld: 0706-006 Cannot find or open library file: -l krb5support
    ldpen(): A file or directory in the path name does not exist.
    make: 1254-004 The error code from the last command is 255.

    Stop.
    make: 1254-004 The error code from the last command is 1.

    Stop.
    make: 1254-004 The error code from the last command is 1.

    Stop.
    make: 1254-004 The error code from the last command is 1.

    Stop.

    Any other ideas I might try ? I cannot find a configure option to turn
    off the making of the tests.

    All help is greatly appreciated.

    Lamar


    -----Original Message-----
    From: Russ Allbery [mailto:rra@stanford.edu]
    Sent: Thursday, January 25, 2007 10:38 PM
    To: Saxon, Lamar
    Cc: kerberos@mit.edu
    Subject: Re: KRB5 1.5 or 1.6 compiled on AIX 5.2/5.3

    Lamar.Saxon@americredit.com writes:

    > Has any been able to successfully compile KRB5 v1.5.1, v1.5.2, or v1.6
    > on AIX 5.2 or 5.3 ? If so, can you send me you configs ? I have

    posted
    > this message before, but no one seems to be able to help. I have
    > successfully compiled KRB5 1.4.4 on AIX 4.3 / 5.2 / 5.3; but since the
    > release of 1.5.1 and beyond, I am cannot get it to work. All of the
    > versions seem to error out here:


    > making all in lib/rpc/unit-test...


    > Target "all" is up to date.


    > cc -L../../../lib
    > -blibpath:/usr/local/kerberos/lib::/usr/lib:/lib -D_LARGE_FILES -DLANL
    > -DL


    > ANL_ICN -qhalt=e -O -D_THREAD_SAFE -o client client.o

    rpc_test_clnt.o
    > -lgssrpc -lgssapi_krb5 -lkr


    > b5 -lk5crypto -lcom_err -lkrb5support -lpthreads


    > ld: 0706-006 Cannot find or open library file: -l k5crypto


    You can't build the test suite until you install Kerberos. If you don't
    already have Kerberos installed, don't build the test suite (which I
    think
    may be implicit in whether Tcl exists).

    > My configuration is simply:


    > ./configure --prefix=/usr/local/kerberos --enable-dns-for-realm
    > --with-tcl=/usr/local --with-vague-errors


    --without-tcl will probably fix this problem at least.

    --
    Russ Allbery (rra@stanford.edu)




    Privileged and Confidential. This e-mail, and any attachments there to, is intended only for use by the addressee(s) named herein and may contain privileged or confidential information. If you have received this e-mail in error, please notify me immediately by a return e-mail and delete this e-mail. You are hereby notified that any dissemination, distribution or copying of this e-mail and/or any attachments thereto, is strictly prohibited.

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


  2. Re: KRB5 1.5 or 1.6 compiled on AIX 5.2/5.3

    Lamar.Saxon@americredit.com writes:

    > Exact same errors specifying --without-tcl. I removed the config.cache,
    > config.log, and etc the reran configure. From my configure line -


    > ./configure --prefix=/usr/local/kerberos --enable-dns-for-realm
    > --without-tcl --with-vague-errors


    > Then after make...


    > making all in lib/rpc/unit-test...
    > Target "all" is up to date.
    > cc -I../../../include -I./../../../include -I.
    > -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE=1 -g -qhalt=e -O
    > _THREAD_SAFE -c client.c
    > cc -I../../../include -I./../../../include -I.
    > -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE=1 -g -qhalt=e -O
    > _THREAD_SAFE -c rpc_test_clnt.c
    > cc -L../../../lib
    > -blibpath:/usr/local/kerberos/lib::/usr/lib:/lib -g -qhalt=e -O
    > -D_THREAD_SAFE -o c
    > nt client.o rpc_test_clnt.o -lgssrpc -lgssapi_krb5 -lkrb5 -lk5crypto
    > -lcom_err -lkrb5support -lpthreads
    > ld: 0706-006 Cannot find or open library file: -l k5crypto
    > ldpen(): A file or directory in the path name does not exist.
    > ld: 0706-006 Cannot find or open library file: -l com_err
    > ldpen(): A file or directory in the path name does not exist.
    > ld: 0706-006 Cannot find or open library file: -l krb5support
    > ldpen(): A file or directory in the path name does not exist.


    Hm, looks like I'm wrong and that directory is built as part of a normal
    build for me. I didn't remember that happening, but it must just be that
    the checks don't run except with make check.

    I think there's something wrong with the linker flags that are being
    passed in to cc for AIX that, due to AIX's bizarre linking, mean that it's
    unable to find the libraries in the regular source tree.

    I have no idea how to fix that, though. AIX is very strange.

    --
    Russ Allbery (rra@stanford.edu)
    ________________________________________________
    Kerberos mailing list Kerberos@mit.edu
    https://mailman.mit.edu/mailman/listinfo/kerberos


  3. Re: KRB5 1.5 or 1.6 compiled on AIX 5.2/5.3

    In article <87odoloa0a.fsf@windlord.stanford.edu>,
    rra@stanford.edu (Russ Allbery) wrote:

    > I think there's something wrong with the linker flags that are being
    > passed in to cc for AIX that, due to AIX's bizarre linking, mean that it's
    > unable to find the libraries in the regular source tree.
    >
    > I have no idea how to fix that, though. AIX is very strange.


    Yeah. If you have to build Kerberos on AIX, and don't need
    any of the features introduced in MIT's 1.5 release, 1.4 could
    be worth a try, configured to build static libraries instead of
    shared.

    Donn Cave, donn@u.washington.edu

+ Reply to Thread