Subject: RE: Help: SASL doesn't want to build with heimdal
From: Rob Tanner (rtanner+cyrus at linfield dot edu)
Date: Fri May 23 2003 - 19:12:32 EDT
Well, I added both the heimdal lib path and include path and reran
autoconf. There absolutely is no mit kerberos on the system, yet
configure-run still picks mit. I did a make just to see if configure
did the right thing but just always says "mit". Nope, the make failed
because the mit libraries aren't installed.
--On Friday, May 23, 2003 06:02:01 PM +0200 "Klyne, Simon"
<Simon dot Klyne at commerzbankib dot com> wrote:
> search in configure.in for 'CMU_ADD_LIBPATH("/usr/local/lib")' which
> adds: "-L/usr/local/lib -R/usr/local/lib"
> to your build env before your "/usr/heimdal/lib"
> so what is happening is that configure is finding your MTI kerberos
> libraries before your heimdal libs ...
> IMHO the CMU_ADD_LIBPATH should be deleted and the library paths etc
> left to those of us configuring and building the software
> -----Original Message-----
> From: Rob Tanner [mailto:rtanner+cyrus at linfield dot edu]
> Sent: Friday, May 23, 2003 17:03
> To: Etienne Goyer; cyrus-sasl at lists dot andrew dot cmu dot edu
> Subject: Re: Help: SASL doesn't want to build with heimdal
> I did it that way at first, and then at your suggestion, I did it
> again. The configure run still wants to use mit instead of heimdal.
> What I notice in the configure script is that it tests for heimdal
> and then defaults to mit, but what I can't figure out precisely
> (since reading configure scripts is not my forte) is what it's
> looking for that it doesn't find.
> One thing I noticed, and maybe you can shed some light. In the
> heimdal source tree, after the build, there are many more library
> components then ever show up in /usr/heimdal/lib after a make
> install. Is there something else I need to do in the heimdal
> installation that otherwise wasn't obvious to me in the docs?
> --On Friday, May 23, 2003 09:04:39 AM -0400 Etienne Goyer
> <etienne dot goyer at linuxquebec dot com> wrote:
>> I am not quite sure, but I think you need to specify
>> "--with-gssapi=/usr/heimdal" instead of
>> "--with-gssapi=/usr/heimdal/lib" to configure. At least, that's how
>> I do it and It Work For Me (TM).
>> On Thu, May 22, 2003 at 04:58:47PM -0700, Rob Tanner wrote:
>>> I've built and installed heimdal-0.6 kerberos5 and now trying to
>>> build Cyrus SASL 2.1.13 on Solaris 2.7. The problem is the
>>> configure run doesn't recognize heimdal and wants to build against
>>> MIT instead. I do not have the MIT libraries installed, although
>>> for whatever reason, the include files are on the system. When I
>>> removed them, the configure disables gssappi.
>>> I'm using the following pre-scripted configure process:
>>> # ! /usr/local/bin/bash
>>> export CPPFLAGS="-I/usr/local/ssl/include -I/usr/heimdal/include"
>>> export LDFLAGS="-L/usr/local/ssl/lib -L/usr/heimdal/lib"
>>> make distclean
>>> ./configure \
>>> --with-saslauthd \
>>> --with-pwcheck \
>>> --with-openssl \
>>> --enable-gssapi=/usr/heimdal/lib \
>>> --enable-plain \
>>> Any ideas?
>>> Rob Tanner
>>> Linfield College
>>> McMinnville, Oregon
>>> rtanner+cyrus at linfield dot edu
>> Etienne Goyer Linux Québec Technologies Inc.
>> http://www.LinuxQuebec.com etienne dot goyer at linuxquebec dot com
> Rob Tanner
> Linfield College
> McMinnville, Oregon
> rtanner+cyrus at linfield dot edu
rtanner+cyrus at linfield dot edu