AW: Compiling Kerberos
Barbat, Calin
c.barbat at osram.de
Mon Feb 21 04:07:24 EST 2005
Dear Sheryl,
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
cd krb5-1.3.5/src
a.) For 32bit instances (e.g. on solaris, linux):
./configure --enable-shared
b.) For 64bit instances (solaris):
./configure CC="cc -xarch=v9 -D_XOPEN_SOURCE=500 -D__EXTENSIONS__" --enable-shared
make
then as root:
make install
3. Edit /etc/krb5.conf appropriately.
2.2 Configuration of the external SAP SNC Adapter
1. Download bc_snc_adapter_101.zip from
http://www.sap.com/partners/icc/scenarios/technology/bc-snc.aspx
2. Unzip it:
unzip bc_snc_adapter_101.zip
3. Modify the provided sncadapt/Makefile:
XNAME = snckrb5
4. For a Solaris instance modify the provided sncadapt/build.SunOS:
a.) For 32bit instances:
VENLIB="-L/usr/local/lib -lgssapi_krb5"
b.) For 64bit instances:
CFLAGS="-xarch=v9 -Xa -g -DXDEBUG=1"
VENLIB="-L/usr/local/lib -lgssapi_krb5"
To compile for 64bit, your path should contain /opt/SUNWspro/SC5.0/bin
5. Compile it:
cd sncadapt
make
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,
Calin.
-----Ursprüngliche Nachricht-----
Von: Sheryl Bruggy [mailto:sbruggy at scu.edu.au]
Gesendet: Montag, 21. Februar 2005 07:37
An: Barbat, Calin
Betreff: Compiling Kerberos
Dear Calin,
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?
Regards
Sheryl Bruggy
Systems/Network Administrator - Unix
Southern Cross University
._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
More information about the Kerberos
mailing list