waf build issue 4.0.6 samba3 fileserver for AIX with AFS support

John P Janosik jpjanosi at us.ibm.com
Tue May 28 10:30:41 MDT 2013


I've been meaning to try to build Samba without autoconf in the source3 
directory for a while now and was finally prompted by the recent 
discussion about dropping autoconf.  It doesn't appear that the options I 
need, --with-fake-kaserver --with-vfs-afsacl, are in the top level 
configure.  I currently support a few Samba/CTDB clusters that are 
exporting data from IBM AFS.  I build on AIX 6.1 TL6 with IBM XL/C 11.1. 
The clusters are at various levels, but the latest one is running CTDB 
1.2.62 + Samba 4.0.5.  Should I open a bug report or are these options 
intentionally dropped?

I used to use the following to configure the build in source3:


export CC=cc
export CFLAGS="-I/usr/afsws/include -I /usr/smb_cluster/include"
export LDFLAGS="-bI:/usr/afsws/lib/afs/afs.exp"
./configure --without-ldap --without-krb5 --with-libiconv=/usr/smb_cluster 
--prefix=/usr/smb_cluster --without-winbind --with-cluster-support=yes 
--without-libsmbclient --with-fake-kaserver --with-vfs-afsacl
make

I tried the following to show that the last two configure options that I 
need are not present:

[root at rchutl02] > ./configure --without-ldap 
--with-libiconv=/usr/smb_cluster --prefix=/usr/smb_cluster 
--without-winbind --with-cluster-support --with-vfs-afsacl
./buildtools/wafsamba/samba_utils.py:397: DeprecationWarning: the md5 
module is deprecated; use hashlib instead
  import md5
waf [command] [options]

Main commands (example: ./waf build -j4)
  build       : build all targets
  clean       : removes the build files
  configure   : configures the project
  ctags       : build 'tags' file using ctags
  dist        : makes a tarball for distribution
  distcheck   : test that distribution tarball builds and installs
  distclean   : removes the build directory
  etags       : build TAGS file using etags
  install     : installs the build files
  pep8        : run pep8 validator
  pydoctor    : build python apidocs
  reconfigure : reconfigure if config scripts have changed
  test        : Run the test suite (see test options below)
  testonly    : run tests without doing a build first
  uninstall   : removes the installed files
  wafdocs     : build wafsamba apidocs
  wildcard_cmd: called on a unknown command

waf: error: no such option: --with-vfs-afsacl
[root at rchutl02] > ./configure --without-ldap 
--with-libiconv=/usr/smb_cluster --prefix=/usr/smb_cluster 
--without-winbind --with-cluster-support --with-fake-kaserver 
--with-vfs-afsacl
./buildtools/wafsamba/samba_utils.py:397: DeprecationWarning: the md5 
module is deprecated; use hashlib instead
  import md5
waf [command] [options]

Main commands (example: ./waf build -j4)
  build       : build all targets
  clean       : removes the build files
  configure   : configures the project
  ctags       : build 'tags' file using ctags
  dist        : makes a tarball for distribution
  distcheck   : test that distribution tarball builds and installs
  distclean   : removes the build directory
  etags       : build TAGS file using etags
  install     : installs the build files
  pep8        : run pep8 validator
  pydoctor    : build python apidocs
  reconfigure : reconfigure if config scripts have changed
  test        : Run the test suite (see test options below)
  testonly    : run tests without doing a build first
  uninstall   : removes the installed files
  wafdocs     : build wafsamba apidocs
  wildcard_cmd: called on a unknown command

waf: error: no such option: --with-fake-kaserver

John Janosik
jpjanosi at us.ibm.com


More information about the samba-technical mailing list