Compiling Samba 2.2.8 on HPUX 11.0
Orwig, Paul
PORWIG at PacificLife.com
Thu Mar 20 23:01:58 GMT 2003
To get a clean compile of Samba 2.2.8 on HPUX 11.00 I do the following:
(NOTE: I use gcc to compile. The "fix" forces the HPUX ld for linking. )
vi +493 /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/include/stdio.h (
Comment out snprintf line )
from samba-2.2.8/source directory:
./configure --prefix=/samba --with-pam --with-winbind --with-smbwrapper
Edit Makefile:
Change SHLD=${CC}
to SHLD=/usr/bin/ld
Search for SHLD and change "-shared" to "-b" (NOTE: the entry for
smbwrapper was already changed.?. )
save and run make
My "fix" is neither pretty nor proper.
What is needed to fix the configure script to handle HPUX 11.0 properly??
Paul Orwig
Pacific Life Annuities
Newport Beach, Ca.
More information about the samba-technical
mailing list