config.status: erro: não é possível localizar o arquivo de entrada: 'Makefile.in'

1

Estou tentando instalar o mod_WSGI no Ubuntu 12.04. Aqui está o conjunto de comandos que estou seguindo:

wget http://modwsgi.googlecode.com/files/mod_wsgi-3.4.tar.gz
tar xvfz mod_wsgi-3.4.tar.gz
cd mod_wsgi-3.4
./configure
make
make install
echo "LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so" > /etc/apache2/mods-available/wsgi.load
a2enmod wsgi
a2dissite default

No entanto, quando eu faço ./configure, isso me dá essa saída:

checking for apxs2... no
checking for apxs... no
checking Apache version... ./configure: line 1747: apxs: command not found
./configure: line 1747: apxs: command not found
./configure: line 1748: apxs: command not found
./configure: line 1751: /: Is a directory

checking for python... /usr/bin/python
./configure: line 1920: apxs: command not found
configure: creating ./config.status
config.status: error: cannot find input file: 'Makefile.in'

Estou seguindo este tutorial caso você esteja curioso: link

    
por user171453 15.06.2014 / 20:09

1 resposta

1

Acredito que apxs está incluído no apache2-dev . Eu sugiro que você faça:

sudo apt-get install apache2-dev

Depois que ele e suas dependências estiverem instalados, tente configure novamente. Eu tenho:

chili@T410:~/mod_wsgi-3.4$ ./configure
checking for apxs2... /usr/bin/apxs2 
checking Apache version... 2.X 
checking for python... /usr/bin/python
configure: creating ./config.status
config.status: creating Makefile
    
por chili555 16.06.2014 / 01:16