info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


From: root
Subject: (no subject)
Date: Mon, 13 Aug 2001 05:20:19 -0400

>From address@hidden  Fri Feb 16 06:43:06 2001
>Return-Path: <address@hidden>
Received: from fencepost.gnu.org (fencepost.gnu.org [199.232.76.164])
        by gateway.camelot.jp (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id 
GAA01390
        for <address@hidden>; Fri, 16 Feb 2001 06:43:03 +0900
Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org)
        by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
        id 14TW4P-00020F-00; Thu, 15 Feb 2001 16:36:09 -0500
Received: from unknown.abilizer.com ([64.209.84.200] 
helo=exchange.perksatwork.com)
        by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
        id 14TW3o-0001zl-00
        for <address@hidden>; Thu, 15 Feb 2001 16:35:32 -0500
Received: by perkz.perksatwork.com with Internet Mail Service (5.5.2653.19)
        id <15K7Z25J>; Thu, 15 Feb 2001 13:42:01 -0800
Message-ID: <address@hidden>
From: Tracy Brown <address@hidden>
To: "'address@hidden'" <address@hidden>
Subject: RE: Kerberos support: Makefile mod
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
X-Mailer: Internet Mail Service (5.5.2653.19)
Sender: address@hidden
Errors-To: address@hidden
X-BeenThere: address@hidden
X-Mailman-Version: 2.0
Precedence: bulk
List-Help: <mailto:address@hidden>
List-Post: <mailto:address@hidden>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/info-cvs>,
        <mailto:address@hidden>
List-Id: Announcements and discussions for the CVS version control system 
<info-cvs.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/info-cvs>,
        <mailto:address@hidden>
List-Archive: <http://mail.gnu.org/pipermail/info-cvs/>
Date: Thu, 15 Feb 2001 13:41:58 -0800
Status: O
Content-Length: 3424
Lines: 110

Regarding compiling CVS-1.11 with krb51.2.1 I found that the Makefile was
incorrect with it's referece to the crypto libraries. To fix this I modified
the LIBS reference in the src/Makefile.

For example:

-- the configure --
./configure --with-gssapi=/usr/local/krb5 --enable-encrypt --enable-server
<...snip...>
default place for GSSAPI is /usr/local/krb5
checking for krb5.h... yes
checking for gssapi.h... no
checking for gssapi/gssapi.h... yes
checking for gssapi/gssapi_generic.h... yes
<...snip...>

The LIBS reference in src/Makefile:
-- orig --
LIBS =  -L/usr/local/krb5/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err

-- modified --
LIBS =  -L/usr/local/krb5/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err

The problem item is the -lcrypto - it needs to be changed to -lk5crypto
since the library in the krb5 lib directory is: libk5crypto.a

Hope this helps folks using Kerberos V5

Cheers, Tracy.

-----Original Message-----
From: Derek R. Price [mailto:address@hidden
Sent: Wednesday, February 14, 2001 7:46 AM
To: Furmaniuk, Michael
Cc: 'address@hidden'
Subject: Re: Kerberos support


You may have installed liraries into a non-standard location.

The short version of the answer is that you should use the find command to
find
where each of those libraries is installed on your system, then make sure
that
each of those paths is available to the compiler minus the 'lib' directory.

Normally this is possible simply by supplying the single --with-gssapi=<dir>
option, so I am suspicious that you are specifying a different location from
the one you installed GSSAPI to.

Derek

--
Derek Price                      CVS Solutions Architect (
http://CVSHome.org )
mailto:address@hidden     OpenAvenue ( http://OpenAvenue.com )
--
"I tried to think but nothing happened!"
            - Curly

"Furmaniuk, Michael" wrote:

>   I thought so too, but from some experimentation if I leave out the
> "include/gssapi" directory I get the same compile error but with more
> library files it cannot find.  The error then shows as:
>
> -L/usr/local/lib -lgssapi -lkrb5 -lasn1 -ldes -lroken  -o cvs
> ld: fatal: library -lgssapi: not found
> ld: fatal: library -lasn1: not found
> ld: fatal: library -ldes: not found
> ld: fatal: library -lroken: not found
> ld: fatal: File processing errors. No output written to cvs
> collect2: ld returned 1 exit status
>
> -----Original Message-----
> From: Derek R. Price [mailto:address@hidden
> Sent: Wednesday, February 14, 2001 9:32 AM
> To: Furmaniuk, Michael
> Cc: 'address@hidden'
> Subject: Re: Kerberos support
>
> "Furmaniuk, Michael" wrote:
>
> >  ./configure --cache-file=/home/mfurmani/cvs.build
--prefix=/usr/local/bin
> > --enable-client --enable-encryption --enable-server
> --includedir=/usr/local
> > --libdir=/usr/local --with-gssapi=/usr/local/include/gssapi
--without-krb4
>
> This is wrong.  At the least I expect you wanted to specify
> "--with-gssapi=/usr/local".  From there the compilers and such should be
> able
> to find the lib and include directories it looks for, assuming you
provided
> the
> directory above where you found the includes.
>
> Derek


_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs

_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs




reply via email to

[Prev in Thread] Current Thread [Next in Thread]