[Samba] Solaris 10 Configuration file

Gaiseric Vandal gaiseric.vandal at gmail.com
Wed Jun 23 05:42:29 MDT 2010


You can download talloc and tdb from talloc.samba.org and tdb.talloc.org.  I
might configure them both "--with-prefix=/usr/local/samba-extras."
LD_LIBRARY_PATH should include /usr/local/samba-extras/lib, while
PKG_CONFIG_PATH should include /usr/local/samba-extras/pkgconfig.

I am not sure if these HAVE to be compiled separately but it does seem to be
an option.

You may have more luck with the GCC compiler  (from the Sun Freeware CD,
Sunfreeware.com or from blastwave.
If you are skipping LDAP and Kerberos you can prob skip the CPPLAGS and
LDFLAGS.


The gnu make (/usr/ccs/bin/make) on Solaris 10 may be too old.   You may
want to install a newer gmake and symlink it to /usr/ccs/bin/make. 

I have had  a fair amount of trouble compiling Samba 3.5.x. on Solaris 10.
I ended up sticking with Samba 3.4.8 on my production solaris 10 machine.
I had better luck with on a test machine running the latest  OpenSolaris
developer release-  which optionally includes GCC4 and more recent gnu make.




-----Original Message-----
From: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org]
On Behalf Of Erickson, Dennis
Sent: Tuesday, June 22, 2010 4:58 PM
To: samba at samba.org
Subject: [Samba] Solaris 10 Configuration file

I download  the samba-3.5.3.tar and need to create the executables for
Solaris 10. I do not have the gcc compiler and would like to use the
SUNWspro/bin/cc compiler.  What I need is a "MyConfigure" script that will
create a usable Makefile. I don't need anything fancy like ldap, ads etc. I
do have gnumake. For example what environment variables are necessary (PATH,
LD_LIBRARY_PATH, CPPFLAGS, LDFLAGS, PKG_CONFIG_PATH)?  Here is what I get so
far:

SAMBA VERSION: 3.5.3
-
-
#    define SAMBA_VERSION_STRING SAMBA_VERSION_OFFICIAL_STRING
LIBREPLACE_LOCATION_CHECKS: START
LIBREPLACE_LOCATION_CHECKS: END
LIBREPLACE_CC_CHECKS: START
LIBREPLACE_CC_CHECKS: END
LIBREPLACE_BROKEN_CHECKS: START
LIBREPLACE_BROKEN_CHECKS: END
LIBREPLACE_NETWORK_CHECKS: START
bge2       IP=xxx.xx.xx.xx NETMASK=255.255.255.0
bge1       IP= xxx.xx.xx.xx NETMASK=255.255.255.0
bge0       IP= xxx.xx.xx.xx  NETMASK=255.255.255.0
lo0        IP=127.0.0.1 NETMASK=255.0.0.0
LIBREPLACE_NETWORK_CHECKS: END
checking for Isilon OneFS... no
Package talloc was not found in the pkg-config search path.
Perhaps you should add the directory containing `talloc.pc'
to the PKG_CONFIG_PATH environment variable
No package 'talloc' found
Package tdb was not found in the pkg-config search path.
Perhaps you should add the directory containing `tdb.pc'
to the PKG_CONFIG_PATH environment variable
No package 'tdb' found
OK
configure: WARNING: Disabling Active Directory support (requires
ldap_initialize)
configure: WARNING: No python found
configure: WARNING: No python-config found

This creates a Makefile but it errors out. I did not find a talloc.pc or
tdb.pc anywhere on my system. Am I missing a prerequisite?

Dennis Erickson
Senior System Support Engineer
Montana-Dakota Utilities Co.
701-222-7648

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba



More information about the samba mailing list