AW: Compiling Kerberos
c.barbat at osram.de
Mon Feb 21 04:07:24 EST 2005
fortunately I can give an affirmative answer to your question. :-)
And here are some hints/details on how it worked for me:
2.1 Configuration of Kerberos
1. Download krb5-1.3.5.tgz from http://web.mit.edu/kerberos/www/
(Read the security advisories for the known vulnerabilities. Newer releases
than 1.3.5 may also work. I didn't test them, a colleague was successful with 1.3.6)
2. Untar and compile it as a shared library:
tar xvzf krb5-1.3.5.tgz
a.) For 32bit instances (e.g. on solaris, linux):
b.) For 64bit instances (solaris):
./configure CC="cc -xarch=v9 -D_XOPEN_SOURCE=500 -D__EXTENSIONS__" --enable-shared
then as root:
3. Edit /etc/krb5.conf appropriately.
2.2 Configuration of the external SAP SNC Adapter
1. Download bc_snc_adapter_101.zip from
2. Unzip it:
3. Modify the provided sncadapt/Makefile:
XNAME = snckrb5
4. For a Solaris instance modify the provided sncadapt/build.SunOS:
a.) For 32bit instances:
b.) For 64bit instances:
CFLAGS="-xarch=v9 -Xa -g -DXDEBUG=1"
To compile for 64bit, your path should contain /opt/SUNWspro/SC5.0/bin
5. Compile it:
7. Copy the resulting file snckrb5.so to the appropriate location:
cp snckrb5.so /usr/local/lib
It could be that you have both instances 32bit and 64bit on the same machine. In this case you need to install the 64bit version to a different directory, then you can specify the location with --prefix=<your_path> to configure.
I wish you good luck and a nice day,
Von: Sheryl Bruggy [mailto:sbruggy at scu.edu.au]
Gesendet: Montag, 21. Februar 2005 07:37
An: Barbat, Calin
Betreff: Compiling Kerberos
I have just read your email to the Kerberos mailing list about trying to
compile Kerberos on a sparcv9 architecture.
I am getting the same errors, and have tried different compilers flags etc
with no luck.
Did you end up with a successful 64-bit compilation?
Systems/Network Administrator - Unix
Southern Cross University
More information about the Kerberos