Instale o apache2-dev para mod_wsgi

Instale o apache2-dev para mod_wsgi

Sou completamente novo no Linux, mas desenvolvi um aplicativo Python3 Django que me pediram para implantar em um servidor web Apache rodando no Debian 7.8.

Para fazer isso estou seguindo as diretrizes do Django me dizendo para instalar o mod_wsgi usandoeste tutorial.

Quando executo ./configure é isso que recebo:

$ ./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

Eu tentei instalar o apache2-dev bu em execução, apt-get install apache2-devmas isso me deu E: Unable to locate package apache2-dev.

Onde posso obter o apxs2?

Responder1

Eu acho que o Apache2-dev é um pacote virtual fornecido pelo Apache2-threaded-dev. A instalação deve fornecer o que você precisa.

informação relacionada