RE: [squid-users] Slightly OT, but relating to Squid: CompilingOpenLDAP

From: Scott Wrosch <swrosch@dont-contact.us>
Date: Thu, 27 Feb 2003 09:25:45 -0500

Hmmm.. I just tried using up2date, and it said "None of the packages
you requested were found, or they were already updated."

Here's a snippet of the errors I'm getting:

[root@linux-fs LDAP]# pwd
/root/squid-2.5.STABLE1-20030225/helpers/basic_auth/LDAP
[root@linux-fs LDAP]# make
source='squid_ldap_auth.c' object='squid_ldap_auth.o' libtool=no \
depfile='.deps/squid_ldap_auth.Po'
tmpdepfile='.deps/squid_ldap_auth.TPo' \
depmode=gcc3 /bin/sh ../../../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -g
-O2 -Wall -c `test -f squid_ldap_auth.c || echo './'`squid_ldap_auth.c
squid_ldap_auth.c:53:18: lber.h: No such file or directory
squid_ldap_auth.c:54:18: ldap.h: No such file or directory
make: *** [squid_ldap_auth.o] Error 1
[root@linux-fs LDAP]# make install
source='squid_ldap_auth.c' object='squid_ldap_auth.o' libtool=no \
depfile='.deps/squid_ldap_auth.Po'
tmpdepfile='.deps/squid_ldap_auth.TPo' \
depmode=gcc3 /bin/sh ../../../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -g
-O2 -Wall -c `test -f squid_ldap_auth.c || echo './'`squid_ldap_auth.c
squid_ldap_auth.c:53:18: lber.h: No such file or directory
squid_ldap_auth.c:54:18: ldap.h: No such file or directory
make: *** [squid_ldap_auth.o] Error 1
[root@linux-fs LDAP]#

Maybe I'm just missing something.

Thanks again for any assistance though!

Scott Wrosch
desk 248.333.7700 x227
email swrosch@marketingassociates.com

> -----Original Message-----
> From: Henrik Nordstrom [mailto:hno@squid-cache.org]
> Sent: Wednesday, February 26, 2003 12:07 PM
> To: Scott Wrosch
> Cc: squid-users@squid-cache.org
> Subject: Re: [squid-users] Slightly OT, but relating to Squid:
> CompilingOpenLDAP
>
> ons 2003-02-26 klockan 16.08 skrev Scott Wrosch:
>
> > Anyways, I tried compiling the helpers that come with Squid, but
have
> > been unsuccessful. Apparently the OpenLDAP that I have installed
> > doesn't have everything I need. I'm running a RedHat 7.3 system,
and
> > apparently it was part of the initial install.
>
> You are most likely missing the openldap-devel rpm package then..
>
> > With that being said, I went ahead and downloaded the source for
> > OpenLDAP, with intent on building that. But then when running
> > configure, it gripes about BerkeleyDB being not available.
>
> It is generally better to use the RedHat LDAP packages unless you have
a
> specific reason to upgrade the LDAP libraries.. The LDAP libraries are
a
> pretty much integral part of the Linux distribution.
>
> --
> Henrik Nordstrom <hno@squid-cache.org>
> MARA Systems AB, Sweden
Received on Thu Feb 27 2003 - 07:26:01 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:44 MST