[Samba] compile problems on netbsd with samba-latest & openldap-2.0.23 resume

jan jan at seismo.ifg.ethz.ch
Thu Feb 28 07:00:26 GMT 2002


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
>>
>>
>
>
>







More information about the samba mailing list