Re: [squid-users] Squid 3.1.11 LDAP compile error

From: <Michael_Grasso_at_cadc.uscourts.gov>
Date: Tue, 8 Feb 2011 12:16:24 -0500

My system has the same version. I don't have the second SLES 11 DVD so I
will download now.

Thank you.

                                                                                                                         
  From: "Chad Naugle" <Chad.Naugle_at_travimp.com>
                                                                                                                         
  To: <Michael_Grasso_at_cadc.uscourts.gov>
                                                                                                                         
  Cc: <squid-users_at_squid-cache.org>
                                                                                                                         
  Date: 02/08/2011 12:08 PM
                                                                                                                         
  Subject: Re: [squid-users] Squid 3.1.11 LDAP compile error
                                                                                                                         

Perform this:

rpm -q openldap2

Which will report to you what version of openldap is installed, my
system came with:

openldap2-2.4.20-0.4.29

Where the "ldap.h" header is included in the "openldap2-devel" package,
which will have other dependencies, such as "libldap", and other
"-devel" packages.

It appears as if these packages do not exist on DVD1 for SLES 11 SP1,
so I am thinking they might be on DVD2. This is quite different than
SLES 10, where all these files you need are on DVD1.

You also will need "libber", and it's associated "-devel" packages.

Squid should be checking for these files during "./configure", quite
honestly.

>>> <Michael_Grasso_at_cadc.uscourts.gov> 2/8/2011 11:47 AM >>>
Great. Thank you.

  From: "Chad Naugle" <Chad.Naugle_at_travimp.com>

  To: <Michael_Grasso_at_cadc.uscourts.gov>

  Cc: <squid-users_at_squid-cache.org>

  Date: 02/08/2011 11:31 AM

  Subject: Re: [squid-users] Squid 3.1.11 LDAP compile error

Okay, I have been able to reproduce your error.

The problem, which I am searching for a solution right now, is because
SLES 11 SP1 appears to not install the LDAP headers required by
Squid's
Helper. I am searching for the correct RPM's you need to install
prior.

>>> <Michael_Grasso_at_cadc.uscourts.gov> 2/8/2011 11:13 AM >>>
I'm using the two below as well.

--enable-storeio=aufs --enable-removal-policies

  From: "Chad Naugle" <Chad.Naugle_at_travimp.com>

  To: <Michael_Grasso_at_cadc.uscourts.gov>

  Cc: <squid-users_at_squid-cache.org>

  Date: 02/08/2011 11:10 AM

  Subject: Re: [squid-users] Squid 3.1.11 LDAP compile error

Is "--enable-basic-auth-helpers=LDAP" the only configure options, or
what else are you passing to ./configure so I can try to reproduce it?

>>> <Michael_Grasso_at_cadc.uscourts.gov> 2/8/2011 11:04 AM >>>
This is a fresh install on a test server. Your probably right on it
being a
platform specific problem.

Thanks...

  From: "Chad Naugle" <Chad.Naugle_at_travimp.com>

  To: <Michael_Grasso_at_cadc.uscourts.gov>

  Cc: <squid-users_at_squid-cache.org>

  Date: 02/08/2011 10:58 AM

  Subject: Re: [squid-users] Squid 3.1.11 LDAP compile error

I am investigating, but it seems to me that your issue could be
platform
specific, to SLES 11 SP1, because the code has not changed since
3.1.10.
Are you upgrading Squid, or is this the first time you are compiling
Squid?

>>> <Michael_Grasso_at_cadc.uscourts.gov> 2/8/2011 10:55 AM >>>
Sorry, I don't understand your answer. I'm trying to compile squid
with
LDAP support.

Mike Grasso
Data Network Administrator
DC Circuit Court of Appeals
(202) 216-7443

  From: "Chad Naugle" <Chad.Naugle_at_travimp.com>

  To: <Michael_Grasso_at_cadc.uscourts.gov>,
<squid-users_at_squid-cache.org>

  Date: 02/08/2011 10:47 AM

  Subject: Re: [squid-users] Squid 3.1.11 LDAP compile error

Sounds like a fairly basic coding syntax error that any motivated
programmer can quickly resolve themselves.

>>> <Michael_Grasso_at_cadc.uscourts.gov> 2/8/2011 10:39 AM >>>

I'm trying to setup Squid 3.1.11 as a reverse proxy with LDAP
authentication. I compiled Squid with the
--enable-basic-auth-helpers=LDAP
but when I run make, I get the below error. I'm using Suse Linux
Enterprise
server 11 with SP1. Any ideas?

squid_ldap_auth.c:641: error: expected â)â before â*â token
make[3]: *** [squid_ldap_auth.o] Error 1
make[3]: Leaving directory `/opt/squid-3.1.11/helpers/basic_auth/LDAP'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/squid-3.1.11/helpers/basic_auth'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/squid-3.1.11/helpers'
make: *** [all-recursive] Error 1

Thanks,

Mike Grasso
Data Network Administrator
DC Circuit Court of Appeals
(202) 216-7443

Travel Impressions made the following annotations
-------------------------------------------------------------
"This message and any attachments are solely for the intended
recipient
and may contain confidential or privileged information. If you are
not
the intended recipient, any disclosure, copying, use, or distribution
of
the information included in this message and any attachments is
prohibited. If you have received this communication in error, please
notify us by reply e-mail and immediately and permanently delete this
message and any attachments.
Thank you."

Travel Impressions made the following annotations
-------------------------------------------------------------
"This message and any attachments are solely for the intended
recipient
and may contain confidential or privileged information. If you are
not
the intended recipient, any disclosure, copying, use, or distribution
of
the information included in this message and any attachments is
prohibited. If you have received this communication in error, please
notify us by reply e-mail and immediately and permanently delete this
message and any attachments.
Thank you."

Travel Impressions made the following annotations
-------------------------------------------------------------
"This message and any attachments are solely for the intended
recipient
and may contain confidential or privileged information. If you are
not
the intended recipient, any disclosure, copying, use, or distribution
of
the information included in this message and any attachments is
prohibited. If you have received this communication in error, please
notify us by reply e-mail and immediately and permanently delete this
message and any attachments.
Thank you."

Travel Impressions made the following annotations
-------------------------------------------------------------
"This message and any attachments are solely for the intended
recipient
and may contain confidential or privileged information. If you are
not
the intended recipient, any disclosure, copying, use, or distribution
of
the information included in this message and any attachments is
prohibited. If you have received this communication in error, please
notify us by reply e-mail and immediately and permanently delete this
message and any attachments.
Thank you."

Travel Impressions made the following annotations
-------------------------------------------------------------
"This message and any attachments are solely for the intended recipient
and may contain confidential or privileged information. If you are not
the intended recipient, any disclosure, copying, use, or distribution of
the information included in this message and any attachments is
prohibited. If you have received this communication in error, please
notify us by reply e-mail and immediately and permanently delete this
message and any attachments.
Thank you."
Received on Tue Feb 08 2011 - 17:16:31 MST

This archive was generated by hypermail 2.2.0 : Tue Feb 08 2011 - 12:00:02 MST