0

CentOS でlibwurfl ( https://github.com/filosganga/libwurfl ) をビルドしようとしています。すべての依存ライブラリをインストールしましたが、libwurfl の構成の実行に問題があります。問題が見つからない Apache ヘッダーに関する問題が常に発生しています。

以下に示すように --with-apxs を使用すると、

./configure --with-apxs=/usr/sbin/apxs/

出力:

checking for apr.h... yes
checking httpd.h usability... no
checking httpd.h presence... no
checking for httpd.h... no
configure: error: Apache headers not found.

--with-apache を追加すると

./configure --with-apxs=/usr/sbin/apxs/ --with-apache=/usr/include/httpd/ 

出力:

checking for apxs... no
checking apr.h usability... no
checking apr.h presence... no
checking for apr.h... no
configure: error: Apache Portable Runtime headers not found.

上記の両方の場所にヘッダーが表示されます。

ポインタはありますか?

ありがとう!

4

1 に答える 1

0

apr-1.5.2 と httpd 2.2.31 をインストールして構成した後、Ubuntu 14.04 でコンパイルしました。次に、次のようにコンパイルしました。./configure --with-apache='/usr/local/apache2'

于 2015-09-14T16:10:15.820 に答える