[Samba] Fwd: RE: Problems 'make'ing on Solaris 9/10
gaiseric.vandal at gmail.com
Mon May 17 15:56:07 MDT 2010
Thanks for the advice. I am continuing to work on trying to compile
Samba 3.4.8 or 3.5.2.
I am now using the GCC4 compiler from blastwave. The sunfreeware one
appears to be 32-bit only. Since I am running 64-bit OS I would like to
stick with 64-bit as much as possible.
I am making decent progress with Samba 3.4.8
If I set
I can not compile. If I set
it can compile. I think it has problems with libtdb unless libtdb is
I also need to leave the "--with-netapi" option out completely.
I can not compile with "--with-ads=yes." I think this may be related to
shared library support problems. I don't actually need ads support- I
just need to configure trusts with Active Directory domains.
I have symlinked "/usr/ccs/bin/ld -> /opt/csw/bin/ld" - since "make"
attempts to pass options to ld that are not legit for non-gnu ld. I
haven't tried your recommended changes yet- I was trying to track down
what would or wouldn't compile with ld symlinked.
I will let you know what happens once I do try the changes you recommended.
On 05/12/2010 03:38 PM, Klaus Kreuzwieser wrote:
> if you can't wait for 3.5.3 here is a way to build Samba 3.5.2 on
> Solaris 10 without any system modifications (we used gcc 3.4.6).
> Install all dependencies from sunfreeware.com.
> Edit source3/configure script and replace "LD=ld" with
> export PATH LD_LIBRARY_PATH CPPFLAGS LDFLAGS
> ./configure --enable-socket-wrapper
> --prefix=/usr/local/opt/samba-3.5.2 --with-acl-support --with-ads
> --with-aio-support --with-automount --with-krb5=/usr/local --with-ldap
> Edit the created Makefile, replace LD flags "-G" with "-fPIC -shared"
> and all "-lthread" with "-lthread -lintl".
> /usr/local/bin/make -j5
> /usr/local/bin/make install
> That's it.
More information about the samba