How do I compile 64 bit Samba on Solaris 8?

Dennis, David M. dmd at seattleu.edu
Tue Jul 30 15:41:02 GMT 2002


Regarding compiling on solaris:

1) make sure the environment variable CC is set to the proper compiler.  If
gcc then $CC needs 'gcc' and if Forte on Sun then $CC=cc .

2) ensure the proper paths, the Sun Companion CD puts gcc in
/opt/sfw/bin/gcc .  

3) LD_LIBRARY_PATH must include non-standard Solaris libs, /usr/local/lib is
NOT standard on Solaris.

4) If you have Forte your PATH should be something like /opt/SUNWspro/bin
ahead of everything, and /opt/sfw/bin or /usr/local/bin last .
LD_LIBRARY_PATH should likewise have /opt/SUNWspro/lib ahead of everything
else.

There was also just recently a patch posted for smbwrapper for samba, if
your compile is failing with that email me and I'll send it along.

Hope that helps, anyone feel free to add corrections to the above, I am
still learning these myself!

-Dave


+----------------------------------------------------------
+ David M. Dennis
+ Network Administrator, IT
+ Seattle University
+ 206-296-5543, x5543
+----------------------------------------------------------


-----Original Message-----
From: John Emmert [mailto:a5d9lf4y001 at sneakemail.com]
Sent: Tuesday, July 30, 2002 10:18 AM
To: samba-technical at lists.samba.org
Subject: How do I compile 64 bit Samba on Solaris 8?


I haven't found any docs on how to do this. Can someone point me in the
right direction? I've got Forte compiler 6.2 and the sun linker and
assembler in my path, but not gcc. Is it an option I give to configure? Do I
have to use gcc?

-----------------------------------------------------
Protect yourself from spam, use http://sneakemail.com




More information about the samba-technical mailing list