----- Original Message ----- From: "Tim Evans" <[EMAIL PROTECTED]> To: "David Shapiro" <[EMAIL PROTECTED]>; "William Jojo" <[EMAIL PROTECTED]>; <[email protected]>; <[EMAIL PROTECTED]>; "Tim Evans" <[EMAIL PROTECTED]> Sent: Monday, February 27, 2006 12:02 PM Subject: Re: [Samba] Building 3.0.21x on AIX 5.2
> On Mon, 27 Feb 2006 08:51:16 -0500, David Shapiro wrote > > Note: do not use binutils > > Could you be more specific here, please? > > > #!/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 > > I really only need the default configuration. The configure script used to > work properly by itself, with no arguments. Much, if not most, of the above > is stuff I either don't need, directories I don't have/use, or what I think > are normal defaults. This could be the crux. The notes you are following are simply the notes I used to build the binaries. As such, they provide a means for others to build as I did with as few dependencies at runtime as possible. However, this may not be ideal for *you*. Try something simpler like: env CC="gcc -g -D_LINUX_SOURCE_COMPAT" \ CPPFLAGS="-I/usr/local/include -I/usr/local/BerkeleyDB.4.3/include" \ LDFLAGS="-L/usr/local/lib -L/usr/local/BerkeleyDB.4.3/lib" \ ./configure --with-acl-support --with-utmp \ --with-ldap --with-ads=no --with-aio=yes \ --with-libiconv=/usr/local --with-sendfile-support \ --prefix=/samba/3.0.21c --with-quotas If you don't want to use LDAP and BerkeleyDB, just remove them. You can safely turn off AIO and sendfile support as they are performance enhancers. Cheers, Bill > -- > Tim Evans, TKEvans.com, Inc. | 5 Chestnut Court > [EMAIL PROTECTED] | 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
