[Samba] Solaris_build

jerry jerry at samba.org
Mon Apr 6 19:36:23 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jamen,

> I'm sure it has to do with environment variables, but I'm not sure which
> ones to change and change to what. I know I had to adjust them for
> OpenLDAP to get installed correctly, so I'm guessing that this is
> conflicting with the Samba configure options. Here's what I have
> currently (these are just the variables I set for OpenLDAP):
> 
> LDFLAGS=-L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/ssl/lib
> -R/usr/local/BerkeleyDB.4.2/lib -R/usr/local/ssl/lib
> CC=gcc
> CPPFLAGS=-I/usr/local/BerkeleyDB.4.2/include -I/usr/local/ssl/include
> LD_LIBRARY_PATH=/usr/local/BerkeleyDB.4.2/lib
> SASL_PATH=/usr/local/lib/sasl2

You don't really need anything of these fro building
Samba.  If you installed the openldap client and headers
in /usr/local/{include,lib}, then set:

  CPPFLAGS="-I/usr/local/include"
  CFLAGS="-I/usr/local/include"
  LDFLAGS="-L/usr/local/lib"

> 
> I'm not sure what to look for in the log. It's huge, so if there's a
> keyword or something that I can search for, it would greatly help.

Start with "krb5_mk_req_extended".  The configure error is not
always obvious.  Sometimes the test program in configure can fail
due to bad linking or missing libs.

Have you installed the MIT krb5 libs?  or are you relying on
the native solaris libs?  And which release of Solaris?





cheers, jerry
- --
=====================================================================
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJ2lm3IR7qMdg1EfYRAuY/AKCsKDGEDe+yhIqiVKZekIlIJSd3wgCeNAmN
DE14oqwTvIj1YcJJ1tft5bM=
=yU0S
-----END PGP SIGNATURE-----


More information about the samba mailing list