[Samba] SASL build error on solaris 8

subramanian.ponnusamy at iflexsolutions.com subramanian.ponnusamy at iflexsolutions.com
Thu Jan 20 15:02:45 GMT 2005


Hi,
 
My ultimate goal is to deploy a source-built Samba 3.0.1 on Solaris 8 that can join an Active Directory.  According to the docs, Samba requires Kerberos and OpenLDAP and OpenLDAP requires SASL.  Hence my problem.
 
 
when i try to build cyrus-sasl-2.1.15 i have got the following configure warnings
 
configure: warning: No DES support for DIGEST-MD5
configure: warning: OpenSSL not found -- OTP will be disabled
configure: warning: OpenSSL not found -- SRP will be disabled
configure: warning: No DES library found for Kerberos V4 support
configure: warning: OpenSSL not found -- NTLM will be disabled
configure: warning: No DES library found for Kerberos V4 support
 
when i try to make i have got the following error
 
/usr/ccs/bin/make  all-recursive
Making all in include
Making all in sasldb
Making all in plugins
Making all in lib
/bin/sh ../libtool --mode=link gcc  -Wall -W -Wall -g -O2 -L/usr/local/lib -R/usr/local/lib  -L/usr/local/lib -L/usr/local/lib -o libsasl2.la -rpath =/usr/local/lib -version-info 2:15:0 auxprop.lo canonusr.lo checkpw.lo client.lo  common.lo config.lo external.lo md5.lo saslutil.lo server.lo  seterror.lo dlopen.lo plugin_common.lo -ldl -lresolv -lsocket -lnsl -lresolv -lresolv -lresolv  -lsocket
libtool: link: only absolute run-paths are allowed
*** Error code 1
make: Fatal error: Command failed for target `libsasl2.la'
Current working directory /export/home/fmg/ads/cyrus-sasl-2.1.15/lib
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /export/home/fmg/ads/cyrus-sasl-2.1.15
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'
 
 
 
If anybody has a success story, or even a hints, I’d be most grateful.
 
 
 
Here’s my component & installation summary
set GCC=/usr/local/bin/gcc; set cc=$gcc
Get M4 build M4
            Set GCC=/usr/local/bin/gcc
            set cflags = -I /usr/local/include -l/usr/local/lib
            sh configure
            sh make
1) Install/build AutoConf 2.57
            sh configure --prefix=/usr/local
            make
            make install
2) Install/build AutoMake 1.7.2
            sh configure --prefix=/usr/local
            make
            make install
            sh configure --prefix=/usr/local
            make
            make install
3) repeat step 1 then repeat step 2
4) Install libtool
            download from sunfreeware.com
            gunzip ...filename
            pkgadd -d pgkname -s /var/spool/pkg/
            pkgadd
5) Install/build Berkeleydb
            /db4.1.5
            cd /dist
            .configure --prefix=/usr/local
            make
            make install
6) Flex                   NOTE: Flex used lex and yacc
            cd flex
            autoconf
            configure --prefix=/usr/local
            make
            make install
            cd ..
7) Bison                  NOTE: Bison used lex and yacc
            cd bison
            autoconf
            configure --prefix=/usr/local
            make
            make install
8) Repeat Step1. then. Step2.
            Now both tools use each other
            cd ..
9)  Build KRB5 1.3.1
            cd krb5 /src
            configure -- enable-dns -- enable-dns-for-kdc -- enable-dns-for-realm --without-tcl \
                        --prefix=/usr/local --exec_prefix=/usr/local --libdir=/usr/local/lib
            make
            make install
10) Build & Install SASL
            cd syrus_sasl_2.1.15
            ./configure --prefix=/usr/local \
                                    --exec_prefix=/usr/local \
                                    --enable-login \
                                    --enable-ntlm \
                                    --enable-gssapi=/usr/local \
                                    --libdir =/usr/local/lib \
                                    --with-openssl=/usr/local/ssl
 
 

 


DISCLAIMER:
This message contains privileged and confidential information and is intended only for the individual named.If you are not the intended recipient you should not disseminate,distribute,store,print, copy or deliver this message.Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted,corrupted,lost,destroyed,arrive late or incomplete or contain viruses.The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.


More information about the samba mailing list