|Main Archive Page > Month Archives > samba-users archives|
I will give that I try.
After looking at your configure command, I had another try at compiling
Samba 3.4.8 with GCC (Sunfreeware GCC3 or Blastwave GCC4.)
Setting "--enable-shared" or "--enable-shared=yes" had caused
problems. I think in this case I had not specified
"--with-shared-modules=...." Setting "--enable-shared=no" would then
cause "--with-shared-modules" statement to be ignored.
Setting "--enable-shared=yes --with-shared-modules=....." was OK. I
try to add one option at a time to configure to try to isolate which was
the problem, but in this case it looked like it was a matter of the
appropriate combination. Adding "--with-pam=yes" fixes the "make
I am using sunfreeware open ldap and Solaris kerberos. The solaris ldap
client lacks the functionality required for Active Directory support
(not that I need it at the moment.)
I have the sunfreeware versions of swing, binutils, libiconv, libintl,
libtool gcc, openldap, swig etc installed. I symlinked bash rather
than installing the sunfreeware version. Sunfreware libtool has the
bash path hard coded. I was using the sun version of python (2.4.)
--with-acl support is enabled by default.
I notice that I had a typo in the "--with-shared-modules" ("modules="
which seems to have been ignored by configure.
If I added "--enable-shared=vfs_zfsacl" that was also ignored. But I
had added that by mistake in the past to try to get zfsacl to build and
hadn't realized the syntax was wrong.
The following is the working configuration (including a typo that was
# ls -l /usr/ccs/bin/ld
lrwxrwxrwx 1 root root 17 May 24 22:22 /usr/ccs/bin/ld ->
# ls -l /usr/local/bin/bash
lrwxrwxrwx 1 root root 13 May 13 16:42
/usr/local/bin/bash -> /usr/bin/bash
CPPFLAGS="-I /usr/local/include -I/usr/local/ssl/include -I/usr/include"
CPPFLAGS="-I /usr/local/samba-3.4.8-x32/include $CPPFLAGS"
LDFLAGS="-L/usr/local/ssl/lib -R/usr/local/ssl/lib \
-L/usr/local/lib -R/usr/local/lib -L/usr/lib -R/usr/lib"
./configure --prefix=/usr/local/samba-3.4.8-x32 \
Thanks again for your help.
On 05/24/2010 03:52 AM, Jean-Jacques Moulis wrote:
> On Sun, 23 May 2010 22:08:51 -0400 Gaiseric Vandal<email@example.com> wrote:
> GV> I was hoping someone could post, or point me to, a clear set of instructions
> GV> for compiling Samba 3.5.3 (or even 3.4.8) on Solaris 10. Or even just
> GV> confirmation that Solaris 3.5.3 really can compile on Solaris 10 with active
> GV> directory, nsswitch and zfs support. (I notice that Samba and Blastwave
> GV> versions of Samba 3.4.x do not include zfs and nsswitch support.)
> I compiled and use 3.5.2 on solaris10 5.10 Generic_142901-08 i86pc
> with the following configuration
> (compiler sun studio 12)
> the machine run as PDC
> # libiconv is installed in /export/samba
> CC='cc -m64 -fast' \
> CXX='CC -m64 -fast' \
> env LDFLAGS="-R/export/samba/lib -R/usr/sfw/lib/64 -R/usr/sfw/64 \
> -L/export/samba/lib -L/usr/sfw/lib/64 -L/usr/sfw/64" \
> ./configure \
> --prefix=/export/samba \
> --with-configdir=/export/samba/etc \
> --with-privatedir=/export/samba/etc/private \
> --with-lockdir=/export/samba/etc/tdb \
> --with-piddir=/var/run \
> --with-logfilebase=/var/log \
> --disable-cups \
> --without-ads \
> --without-ldap \
> --with-libiconv=/export/samba \
> --with-acl-support \
> --with-shared-modules=vfs_zfsacl,vfs_shadow_copy2 \
> make -f Makefile-noincludes
> I will try 3.5.3 in a near future an let you know
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba