[Samba] Building 3.0.21x on AIX 5.2
David Shapiro
David.Shapiro at bcbsnc.com
Mon Feb 27 13:51:16 GMT 2006
Note: do not use binutils
#!/bin/ksh -x
export LIBPATH=/usr/lib:/usr/local/lib:/opt/freeware/lib
env "CC=gcc" \
CFLAGS="-DPAM_AUTHTOK_RECOVER_ERR=PAM_AUTHTOK_RECOVERY_ERR
-DPAM_EXTERN=extern -D_LINUX_SOURCE_
COMPAT" \
CPPFLAGS="-I/usr/local/bdb/include -I/usr/local/ssl/include
-I/usr/local/include -I/usr/include
" \
LDFLAGS="-L/usr/local/bdb/lib -L/usr/local/cyrus-sasl/lib
-L/usr/local/ssl/lib -L/usr/local/ope
nldap/lib -L/usr/lib -L/usr/local/lib" \
../configure --prefix=/usr/local/samba
--with-shared-modules=idmap_ad,idmap_rid --with-ads --with-ldap
--with-pam --with-krb5=/usr/local/heimdal-krb5 --with-winbind
--with-acl-support --with-utmp --with-quotas --with-sendfile-support
--with-aio-support --enable-shared=yes --disable-static
/usr/local/bin/gmake
/usr/local/bin/gmake install
for i in WINBIND pam_winbind.so; do
if [ -f /usr/lib/security/$i ]; then
mv /usr/lib/security/$i /usr/lib/security/$i.old
chmod 555 nsswitch/$i
cp nsswitch/$i /usr/lib/security
rm /usr/lib/security/$i.old
else
cp nsswitch/$i /usr/lib/security
fi
done
# Add to /usr/lib/security config file
WINBIND:
program = /usr/lib/security/WINBIND
options = authonly
David Shapiro
Unix Team Lead
919-765-2011
>>> "Tim Evans" <tkevans at tkevans.com> 2/27/2006 7:57:54 AM >>>
On Mon, 27 Feb 2006 07:18:25 -0500, William Jojo wrote
>
> I'm not able to create this on my 5.2 box, but I'm using gcc 3.4.4.
> Can you tell me more about your installation? Compiler, additional
products?
Thanks for your reply.
gcc is 3.3.2, as delivered in IBM's /opt/freeware directory.
lslpp -L | grep -i gcc
gcc 3.3.2-3 C R GNU Compiler
Collection
configure options:
configured by ./configure, generated by GNU Autoconf 2.59,
with options \"'--with-acl-support' '--with-utmp'
'--with-sendfile-support' '-
-with-syslog' '--with-quotas' 'CC=gcc -D_LINUX_SOURCE_COMPAT'\"
Do you want the config.log?
--
Tim Evans, TKEvans.com, Inc. | 5 Chestnut Court
tkevans at tkevans.com | Owings Mills, MD 21117
http://www.tkevans.com/ | 443-394-3864
http://www.come-here.com/News/ |
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list