Please help with samba 3.6 build
jiri.sasek at oracle.com
Tue Jan 31 07:27:23 MST 2012
On 01/31/12 02:16 PM, Ira Cooper wrote:
> Our local build procedure is probably not what you want, given that we
> bootstrap ~30 packages before hand, including gcc-4.6.2, and a few other
> things. So my apologies if this doesn't work with Oracle's SunStudio.
> Kerberos and other components. I build my own stuff there just to avoid
Samba is bundled to Solaris distro so no other than default packages are
not allowed to build.
Currently I build on x86 by different compiler (gcc) than on SPARC
because there was (most probably) some structure alignment and "net ads
join" does not working on S11-x86. Studio CC can avoid a big performance
drop on SPARC.
> That said, the configure script is in source3.
As can be seen in Makefile in the link below everything was working (in
source3) before 3.6.x. Currently the make target "everything" try to
compile smbtorture4 which fail as unconfigured at this moment :-(
Which targets are you building?
> I use something similar to:
> ./configure --with-winbind --with-aio-support --with-ads
> --with-configdir=/etc/samba --with-static-modules=vfs_zfsacl
> --with-profiling-data --with-sendfile-support --with-acl-support
> I've been working with a similar script since before 3.5. (the exact
> static modules and other bits change. But the basics stay the same.)
> vfs_zfsacl being static is probably historic, but I see little reason to
> change it at the moment given that we always load it anyway.
vfs_zfsacl was intended to be dynamic to be able to switch between
shares on ufs ("solarisacl" static module) and zfs ...but I can
understand the ufs is not interesting use-case for you on Illumos
> On Tue, Jan 31, 2012 at 3:52 AM, Jiri Sasek<jiri.sasek at oracle.com> wrote:
>> Hi Ira,
>> Thank you for your answer.
>> On 01/31/12 03:54, Ira Cooper wrote:
>> I personally use configure with 3.6.3 on OpenSolaris/NexentaCore.
>> I would like also to use configure. Can you refer me please on your build
>> Thank you in advance,
>> On Mon, Jan 30, 2012 at 9:36 PM, Jiri Sasek - Solaris Prague<
>> jiri.sasek at oracle.com> wrote:
>>> I am trying to update my build Makefile to samba 3.6.3 from the original
>>> samba 3.5.12 (both is build of source3)
>>> I run into the issue with build of "everything" target. It aims to build
>>> smbtorture4. This target fails because of it is not configured. It looks
>>> the problem is in the new build system called waf. I tried to look into the
>>> http://wiki.samba.org/index.php/Waf but text here looks to be outdated.
>>> All of the commands here are failing.
>>> Which only looks to work is:
>>> ../../buildtools/bin/waf configure<parameters>
>>> ...but it looks the waf configure does not store its configure. When I
>>> try to build the "everything" target again it is also not configured and
>>> Can anyone help me with waf?
>>> Thank youu in advance,
>>> My samba-3.5.12 build Makefile is in:
More information about the samba-technical