mod_wsgi用のapache2-devをインストールする

mod_wsgi用のapache2-devをインストールする

私は Linux の初心者ですが、Debian 7.8 で実行されている Apache Web サーバーにデプロイするように依頼された Python3 Django アプリケーションを開発しました。

そのために、私はDjangoのガイドラインに従ってmod_wsgiをインストールします。このチュートリアル

./configure を実行すると、次の結果が出力されます:

$ ./configure --with-python=/usr/local/bin/python3
checking for apxs2... no
checking for apxs... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for prctl... yes
checking Apache version... ./configure: line 2765: apxs: command not found
./configure: line 2765: apxs: command not found
./configure: line 2766: apxs: command not found
./configure: line 2769: /: Is a directory

./configure: line 2964: apxs: command not found
configure: creating ./config.status
config.status: creating Makefile

apache2-dev をインストールして実行しようとしましたapt-get install apache2-devが、次のエラーが表示されるだけですE: Unable to locate package apache2-dev

apxs2はどこで入手できますか?

答え1

apache2-dev は、apache2-threaded-dev によって提供される仮想パッケージだと思います。これをインストールすれば、必要なものが手に入るはずです。

関連情報