waf build issue 4.0.6 samba3 fileserver for AIX with AFS support
Andrew Bartlett
abartlet at samba.org
Wed May 29 19:25:20 MDT 2013
On Tue, 2013-05-28 at 11:30 -0500, John P Janosik wrote:
> 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?
No, and Yes. It certainly looks like we may have missed the
fake-kaserver code. Please file a bug, so we don't forget to add it
back, or if you can provide a patch.
The --with-vfs-afsacl has changed to using the generic:
--with-shared-modules=SHARED_MODULES
Comma-separated list of names of modules to build shared
eg --with-shared-modules=vfs_afsacl
> 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
>
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
More information about the samba-technical
mailing list