Hi
try installing openldap from ports.
I get
root@pan# grep -r LDAP_NO_MEMORY /usr/local/include/
/usr/local/include/ldap.h:#define LDAP_NO_MEMORY
(-10)
try also with a cvsup of your ports.
Bye
Valerio
On 10/12/06, jean-paul natola <jnatola@hotmail.com>
wrote:> Hi Everyone
>
> I'm a total newbie so please bear with me
>
> I'm running FreeBSD 5.4 and I hae tried (numerous times) to install
Samba
> based on these instructions
>
> joseph.randomnetworks.com/tag/nsswitch
>
> this is the error I keep getting
>
> Using FLAGS = -O -pipe -D_SAMBA_BUILD_
> -I/usr/ports/net/samba3/work/samba-3.0.23c/source/iniparser/src -Iinclude
> -I/usr/ports/net/samba3/work/samba-3.0.23c/source/include
> -I/usr/ports/net/samba3/work/samba-3.0.23c/source/tdb -I. -DHAVE_CONFIG_H
> -I/usr/local/include -I/usr/ports/net/samba3/work/samba-3.0.23c/source
> -D_SAMBA_BUILD_
> LIBS = -lcrypt -liconv
> LDSHFLAGS = -shared -L/usr/local/lib
> LDFLAGS = -L/usr/local/lib
> PIE_CFLAGS = -fPIE
> PIE_LDFLAGS = -pie
> Compiling sam/idmap_ad.c with -fPIC -DPIC
> sam/idmap_ad.c: In function `ad_idmap_check_attr_mapping':
> sam/idmap_ad.c:62: error: `LDAP_NO_MEMORY' undeclared (first use in
this
> function)
> sam/idmap_ad.c:62: error: (Each undeclared identifier is reported only once
> sam/idmap_ad.c:62: error: for each function it appears in.)
> *** Error code 1
>
> Stop in /usr/ports/net/samba3/work/samba-3.0.23c/source.
> *** Error code 1
>
> Stop in /usr/ports/net/samba3.
>
>
> Can someone shed some light on this for me?
>
> Thanks in advance
>
> j
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: lists.samba.org/mailman/listinfo/samba
>