curl-7.19.6

使用するGSSAPIのライブラリ

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