Instale o apache2-dev para mod_wsgi

0

Sou completamente novo no Linux, mas desenvolvi uma aplicação 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 que me dizem para instalar o mod_wsgi usando este tutorial .

Quando eu executo ./configure, é isso que eu 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 arquivo apache2-dev executando apt-get install apache2-dev , mas ele apenas me dá E: Unable to locate package apache2-dev .

Onde posso obter o apxs2?

    
por Johan Gov 13.03.2015 / 20:21

1 resposta

1

Eu acho que o apache2-dev é um pacote virtual fornecido pelo apache2-threaded-dev. Instalar isso deve dar a você o que você precisa.

    
por 13.03.2015 / 20:45