[Samba] more solaris/samba 3 build problems

Peter T Greening peteman at math.unm.edu
Wed Oct 22 15:44:45 GMT 2003


Samba team.. I spent an hour trying to post to the samaba news group at 
gmane.org.  my browser seems retarded, and I need to do work.  I also 
spent about 20 minutes trying to figure out the bugzilla deal, but its 
beyond me, plus i am getting very frustraited trying to send this damm 
bug report.  so.. here.. here is the bug report.  please post it, 
whatever.





Hi all,
I am attempting to build samba on a solaris 8/sparc environment, 
specificaly a
 >uname -a
SunOS llull 5.8 Generic_108528-15 sun4u sparc SUNW,Sun-Blade-100
with nfs mounted build, source, and target trees.  We are building in 
/math/scratch/build/samba-3. source is in 
/usr/local/src/samba/samba-3.0, and output(prefix) is going to 
/usr/local/pkg/samba/samba-3.0.
the configure call looks like this:
/usr/local/src/samba/samba-3.0.0/source/configure \
   --prefix=/usr/local/pkg/samba/samba-3.0.0 \
   --with-privatedir=/etc/samba \
   --with-lockdir=/var/lock/samba \
   --with-piddir=/var/run \
   --with-configdir=/etc/samba \
   --with-logfilebase=/math/log/rahab/samba
It has a few warnings, but nothing huge

configure: WARNING: net/if.h: present but cannot be compiled
configure: WARNING: net/if.h: check for missing prerequisite headers?
configure: WARNING: net/if.h: proceeding with the preprocessor's result
configure: WARNING: security/pam_modules.h: present but cannot be compiled
configure: WARNING: security/pam_modules.h: check for missing 
prerequisite headers?
configure: WARNING: security/pam_modules.h: proceeding with the 
preprocessor's result
configure: WARNING: netinet/ip.h: present but cannot be compiled
configure: WARNING: netinet/ip.h: check for missing prerequisite headers?
configure: WARNING: netinet/ip.h: proceeding with the preprocessor's result
configure: WARNING: Sufficient support for iconv function was not found.
     Install libiconv from http://freshmeat.net/projects/libiconv/ for 
better charset compatibility!
configure: WARNING: running as non-root will disable some tests
configure: WARNING: ldap.h: present but cannot be compiled
configure: WARNING: ldap.h: check for missing prerequisite headers?
configure: WARNING: ldap.h: proceeding with the preprocessor's result
configure: WARNING: libldap is needed for LDAP support
configure: WARNING: Active Directory Support requires LDAP support

Build(make) does not get far, here is a complete output of make
 >make
Using FLAGS =  -g -O2 -I/usr/local/src/samba/samba-3.0.0/source/popt 
-Iinclude -I/usr/local/src/samba/samba-3.0.0/source/include 
-I/usr/local/src/samba/samba-3.0.0/source/ubiqx 
-I/usr/local/src/samba/samba-3.0.0/source/smbwrapper  -I. 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/local/src/samba/samba-3.0.0/source
       LIBS = -lsec -lgen -lresolv -lsocket -lnsl -ldl
       LDSHFLAGS = -G
       LDFLAGS =
Compiling /usr/local/src/samba/samba-3.0.0/source/dynconfig.c
In file included from 
/usr/local/src/samba/samba-3.0.0/source/include/includes.h:337,
                  from 
/usr/local/src/samba/samba-3.0.0/source/dynconfig.c:21:
/usr/local/include/compat.h:6: warning: #warning "This header is 
obsolete, use ap_compat.h instead"
In file included from 
/usr/local/src/samba/samba-3.0.0/source/include/includes.h:902,
                  from 
/usr/local/src/samba/samba-3.0.0/source/dynconfig.c:21:
/usr/local/src/samba/samba-3.0.0/source/include/safe_string.h:124: 
warning: `pstrcat' redefined
/usr/local/include/ap_compat.h:300: warning: this is the location of the 
previous definition
Compiling /usr/local/src/samba/samba-3.0.0/source/smbd/build_options.c
In file included from 
/usr/local/src/samba/samba-3.0.0/source/include/includes.h:337,
                  from 
/usr/local/src/samba/samba-3.0.0/source/smbd/build_options.c:22:
/usr/local/include/compat.h:6: warning: #warning "This header is 
obsolete, use ap_compat.h instead"
In file included from 
/usr/local/src/samba/samba-3.0.0/source/include/includes.h:902,
                  from 
/usr/local/src/samba/samba-3.0.0/source/smbd/build_options.c:22:
/usr/local/src/samba/samba-3.0.0/source/include/safe_string.h:124: 
warning: `pstrcat' redefined
/usr/local/include/ap_compat.h:300: warning: this is the location of the 
previous definition
Linking bin/smbd
ld: fatal: file bin/smbd: open failed: No such file or directory
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `bin/smbd'

Any assistiance would be greatly apreciated, and as allways thank you 
Samba Team for your wonderfull (and very usefull) product.




More information about the samba mailing list