[Samba] install failing on bsd

jean-paul natola jnatola at hotmail.com
Thu Oct 12 19:33:09 GMT 2006


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

http://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




More information about the samba mailing list