さかにゃ日記 Information(臨時連絡):
現在臨時連絡はありません。 まぁ暇なときでかまわないので、 一度くらいは通常のInformationをご覧ください。
この日記中のamazon.co.jpへのリンクはアソシエイト・プログラムが適用されています。
最近さかにゃ日記経由でAmazonで発注していただいた商品リスト
mod_sslがコンパイルできない件について。 調べるのめんどいから放置(ぇー
全然別件だが、 -I/usr/sfw/include とか -L/usr/sfw/lib とかが configureで追加されるのも気に食わない。
Making all in ssl /usr/local/src/apache2/httpd-2.0.54/srclib/apr/libtool --silent --mode=compile gcc -mtune=ultrasparc -O -pipe -s -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/local/src/apache2/httpd-2.0.54/srclib/apr/include -I/usr/local/src/apache2/httpd-2.0.54/srclib/apr-util/include -I/usr/local/include -I. -I/usr/local/src/apache2/httpd-2.0.54/os/unix -I/usr/local/src/apache2/httpd-2.0.54/server/mpm/worker -I/usr/local/src/apache2/httpd-2.0.54/modules/http -I/usr/local/src/apache2/httpd-2.0.54/modules/filters -I/usr/local/src/apache2/httpd-2.0.54/modules/proxy -I/usr/local/src/apache2/httpd-2.0.54/include -I/usr/local/src/apache2/httpd-2.0.54/modules/generators -I/usr/local/include/openssl -I/usr/sfw/include -I/usr/local/src/apache2/httpd-2.0.54/modules/dav/main -prefer-non-pic -static -c mod_ssl.c && touch mod_ssl.lo In file included from mod_ssl.h:92, from mod_ssl.c:27: /usr/local/include/openssl/ssl.h:742: error: parse error before "X509_VERIFY_PARAM" /usr/local/include/openssl/ssl.h:742: warning: no semicolon at end of struct or union /usr/local/include/openssl/ssl.h:750: error: parse error before '}' token /usr/local/include/openssl/ssl.h:891: error: parse error before "X509_VERIFY_PARAM" /usr/local/include/openssl/ssl.h:891: warning: no semicolon at end of struct or union /usr/local/include/openssl/ssl.h:971: error: parse error before '}' token In file included from mod_ssl.h:92, from mod_ssl.c:27: /usr/local/include/openssl/ssl.h:1515: error: parse error before "EC_KEY" /usr/local/include/openssl/ssl.h:1516: error: parse error before ')' token /usr/local/include/openssl/ssl.h:1518: error: parse error before "EC_KEY" /usr/local/include/openssl/ssl.h:1519: error: parse error before ')' token In file included from mod_ssl.h:93, from mod_ssl.c:27: /usr/local/include/openssl/err.h:309: error: parse error before '*' token /usr/local/include/openssl/err.h:309: warning: data definition has no type or storage class /usr/local/include/openssl/err.h:312: error: parse error before '*' token In file included from mod_ssl.h:98, from mod_ssl.c:27: /usr/local/include/openssl/rand.h:95: error: parse error before '*' token /usr/local/include/openssl/rand.h:96: error: parse error before '*' token /usr/local/include/openssl/rand.h:96: warning: data definition has no type or storage class /usr/local/include/openssl/rand.h:100: error: parse error before '*' token /usr/local/include/openssl/rand.h:100: warning: data definition has no type or storage class *** Error code 1 make: Fatal error: Command failed for target `mod_ssl.lo'_
これか?
違うな。-I/usr/sfw/include がいらんことをしているようだ。 build/config_vars.mk をいぢって捨て。
_
パッチは上記のやつだけでなくこれも必要っぽいが………とりあえず2.0.55待ちにしたほうがよさげだ。
参考:
ssl_engine_pphrase.c:684: error: `PEM_F_DEF_CALLBACK' undeclared (first use in this function) ssl_engine_pphrase.c:684: error: (Each undeclared identifier is reported only once ssl_engine_pphrase.c:684: error: for each function it appears in.)_ 結論
っ[httpd-2.0.54-ssl0.9.8.patch]
あと、build/config_vars.mk のsfw関連は捨てる(for Solaris10)
|
|