Hi You just have to install the openldap2-devel-package from the SLES11-SP1-SDK-DVD: zypper install openldap2-devel Then you should be able to compile squid. Regards, Tom 2011/2/8 Chad Naugle <Chad.Naugle@xxxxxxxxxxx>: > I have not attempted to install DVD2 yet personally, but there is a > chance that I am wrong, and that the "-devel" packages are all part of > the SDK release, which is a separate download of 2 DVD's in itself. I > do not personally like this approach that SLES 11 SP1 is going, because > SLES 10 SP3 (SP4 is probably coming out soon ?) it is much easier to > compile / install Squid with LDAP functionality, by simply installing > all the "-devel" packages right from the same DVD. > >>>> <Michael_Grasso@xxxxxxxxxxxxxxxxx> 2/8/2011 12:16 PM >>> > 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@xxxxxxxxxxx> > > > > To: <Michael_Grasso@xxxxxxxxxxxxxxxxx> > > > > Cc: <squid-users@xxxxxxxxxxxxxxx> > > > > Date: 02/08/2011 12:08 PM > > > > Subject: Re: 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@xxxxxxxxxxxxxxxxx> 2/8/2011 11:47 AM >>> > Great. Thank you. > > > > > > From: "Chad Naugle" <Chad.Naugle@xxxxxxxxxxx> > > > > To: <Michael_Grasso@xxxxxxxxxxxxxxxxx> > > > > Cc: <squid-users@xxxxxxxxxxxxxxx> > > > > Date: 02/08/2011 11:31 AM > > > > Subject: Re: 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@xxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxx> > > > > To: <Michael_Grasso@xxxxxxxxxxxxxxxxx> > > > > Cc: <squid-users@xxxxxxxxxxxxxxx> > > > > Date: 02/08/2011 11:10 AM > > > > Subject: Re: 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@xxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxx> > > > > To: <Michael_Grasso@xxxxxxxxxxxxxxxxx> > > > > Cc: <squid-users@xxxxxxxxxxxxxxx> > > > > Date: 02/08/2011 10:58 AM > > > > Subject: Re: 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@xxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxx> > > > > To: <Michael_Grasso@xxxxxxxxxxxxxxxxx>, > <squid-users@xxxxxxxxxxxxxxx> > > > Date: 02/08/2011 10:47 AM > > > > Subject: Re: 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@xxxxxxxxxxxxxxxxx> 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." > > > > > > 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." >