GSSAPIのライブラリを知るためにkrb5-configを絶対パスで実行するため、 構築するbit数に応じて実行するkrb5-configを変えます。
# cp /usr/local/kerberos/bin/{sparcv9,sparcv8plus,amd64,i386}/krb5-config /usr/local/kerberos/bin
以下のスクリプトを実行します。
#!/bin/sh
if [ $# -eq 1 ]; then
. ../setup-pre.sh $1
else
. ../setup-pre.sh
fi
./configure $CONFDIRS \
--enable-http \
--enable-ftp \
--enable-file \
--enable-ldap \
--enable-ldaps \
--enable-proxy \
--enable-dict \
--enable-telnet \
--enable-tftp \
--enable-manual \
--enable-ipv6 \
--enable-thread \
--enable-nonblocking \
--enable-crypto-auth \
--enable-cookies \
--with-ldap-lib=ldap \
--with-lber-lib=lber \
--with-gssapi=$krb5path \
--with-ssl=$sslpath \
--with-zlib=$zlibpath \
--without-libssh2 \
--with-random=/dev/random
% ./setup.sh [i386|amd64|sparcv8plus|sparcv9]
makeしてインストールします。
% gmake # gmake install
ISA自動起動リンクを作るために、以下のスクリプトを実行します。
#!/bin/sh
#
BINPROG="curl"
if [ "${BINPROG}" != "" ]; then
cd /usr/local/bin
for prog in ${BINPROG}
do
rm -f $prog
ln /usr/lib/isaexec $prog
echo $prog
done
fi
|
Copyright ©2000-2018 T.Hiraga <hiraga@next-hop.net> All Rights Reserved. Last modified: $Date: 2009/09/07 06:53:05 $ |