SL6には入っているけど作ってみる( ´ω`)
Nettleがlibhogweedを作るのに必要・・・と思う。
./configure
GnuTLSが使うlibnettleとlibhogweedの作成。
./configure --enable-shared --disable-openssl
./configure --prefix=/usr/local/gnutls \ --enable-threads \ --disable-openssl-compatibility \ --with-libnettle-prefix=/usr/local
Apacheで使うのに必要。2.2対応。
CPPFLAGS="-I/usr/local/gnutls/include" \ LDFLAGS="-L/usr/local/gnutls/lib" \ PKG_CONFIG_PATH=/usr/local/gnutls/lib/pkgconfig \ ./configure --with-apxs=/usr/local/apache2/bin/apxs
2.4以降に対応するには以下の変更が必要。
src/gnutls_hooks.c if (c->remote_addr->hostname || apr_strnatcmp(c->remote_ip,c->local_ip) == 0) { ↓ if (c->client_addr->hostname || apr_strnatcmp(c->client_ip,c->local_ip) == 0) {