jan
2002-Feb-28 07:00 UTC
[Samba] compile problems on netbsd with samba-latest & openldap-2.0.23 resume
dear list, don't really want to annoy you but the "only" platform on which samba && openldap (2.0.19) is working seems to be debian 2.2r3 kernel 2.4.16 i686 unkown ... Everything else (FreeBSD, NetBSD) fails. Is it me, openldap, samba, the used platform or what else ? Compile procedure on debian looks like this : export LDFLAGS="-L/usr/local/ssl/openssl/lib -L/usr/local/openldap-2.0.19/lib" export CPPFLAGS="-I/usr/local/ssl/include/openssl -I/usr/local/openldap-2.0.19/i nclude" ./configure --prefix=/usr/local/ldap-samba \ --with-privatedir=/usr/local/ldap-samba/private \ --with-lockdir=/usr/local/ldap-samba/var/locks \ --with-swatdir=/usr/local/ldap-samba/swat \ --with-configdir=/usr/local/ldap-samba/lib \ --with-codepagedir=/usr/local/ldap-samba/lib/codepages \ --with-logfilebase=/usr/local/ldap-samba/var \ --with-smbmount --with-pam --with-ldapsam --with-ssl --with-quotas and this one rulez !! regards, Jan> dear list, > > same problem on FreeBSD-4.5 GENERIC i386 > > configure:13019: gcc -o conftest -DHAVE_CRYPT_DECL > -I/usr/local/ssl/include -O -I/usr/local/openldap-2.0.23/include > -L/usr/local/ssl/lib -L/usr/local/openldap-2.0.23/lib conftest.c -lssl > -lcrypto -lldap -llber -lpam 1>&5 > configure: failed program was: > #line 13015 "configure" > #include "confdefs.h" > #include "./tests/summary.c" > > > What am I doing wrong ? > > thanks for any tips & tricks > > > Jan > > > > > >> dear list, >> >> i have problems when compiling openldap-2.0.23 and the latest samba >> version (2.2.3a) on netbsd (8500/180 powerpc). >> Openldap compile procedure is running fine but when trying to compile >> samba --with-ldapsam I get just this message : >> >> config.log : >> >> configure:13019: gcc -o conftest -O >> -I/usr/local/openldap-2.0.23/include -L/usr/local/openldap-2.0.23/lib >> conftest.c -lldap -llber -lresolv -lcrypt 1>&5 >> configure: failed program was: >> #line 13015 "configure" >> #include "confdefs.h" >> #include "./tests/summary.c" >> >> I also used netbsd's package mechanism but this also fails (edit >> Makefile and add CONFIGURE_ARGS+=--with-ldapsam). >> >> ./configure script says --with-ldapsam=yes but afterwards it is >> stopping. >> >> checking configure summary >> configure: error: summary failure. Aborting config >> *** Error code 1 >> Stop. >> *** Error code 1 >> Stop. >> >> >> I saw in one mailing list that there were people who had the same >> problem .(http://marc.theaimsgroup.com/?l=samba&m=101318366813217&w=2) >> >> >> Strange because openldap-2.0.19 & samba-2.2.3a is running fine on a >> debian 2.2.r3 machine (kernel-2.4.16) ?! >> >> Can someone help me out ? >> >> >> thanks, >> >> >> Jan >> >> > > >
Gerald Carter
2002-Mar-01 05:59 UTC
[Samba] compile problems on netbsd with samba-latest & openldap-2.0.23 resume
On Thu, 28 Feb 2002, jan wrote:> dear list, > > don't really want to annoy you but the "only" platform on which samba && > openldap (2.0.19) is working seems to be debian 2.2r3 kernel 2.4.16 i686 > unkown ... > > Everything else (FreeBSD, NetBSD) fails. > Is it me, openldap, samba, the used platform or what else ?The configure tests were written on Linux systems so probably every linux distro will work. Check the last 100 or so lines of config.log to locate the failure. My guess is that it is looking for -lresolv and fails to find it on *BSD. I need to setup a FreeBSD box here so I can test this. cheers, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
Possibly Parallel Threads
- compile problems on netbsd with samba-latest & openldap-2.0.23
- configure: error: Active Directory support requires ldap_initialize
- Samba 3.4.2 on Solaris 9 build problem
- Error in configure Last CVS and 3.0.alpha21 on Solaris 8
- Compiling Samba against OpenLDAP 2.0.27