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.
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
