nepenthesのインストール(Vine Linux 3.2)で嵌った・・・
結論から言うと、libcurlの問題だった
Vine Linuxのapt-getで入手できるlibcurlだけでは駄目。
下記のようにして、上書きするとconfigureでのエラーが出なくなる。
apt-get install curl curl-devel wget http://curl.haxx.se/download/curl-7.16.0.tar.gz tar zxvf curl-7.16.0.tar.gz cd curl-7.16.0 ./configure --prefix=/usr --with-ssl=/usr/bin --enable-http --enable-ftp --enable-file --enable-telnet make make install
また、makeでのエラー対策としては~/nepenthes-dev/modules/download-curl/download-curl.cppの改変が必要
# 50行目近辺に次の行を追加 #define CURLOPT_SOURCE_USERPWD 100123 # 263行目近辺を書き換え # CURLOPT_SOURCE_USERPWDのまえにキャストを追加 curl_easy_setopt(pCurlHandle, (CURLoption)CURLOPT_SOURCE_USERPWD,(char *)down->getDownloadUrl()->getAuth().c_str());
変なエラーは今のところ出てないのでコレでOKなはず。
追記:
libcurlのバージョンが古い場合に発生する事が判明
マクロの自体が、無くなった様な感じがする
最新のリビジョン 749では問題なくコンパイルできる事を確認