mod_wsgi용 apache2-dev 설치

mod_wsgi용 apache2-dev 설치

저는 Linux를 처음 접했지만 Debian 7.8에서 실행되는 Apache 웹 서버에 배포하라는 요청을 받은 Python3 Django 애플리케이션을 개발했습니다.

이를 위해 나는 다음을 사용하여 mod_wsgi를 설치하라는 Django 지침을 따르고 있습니다.이 튜토리얼.

./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 bu running 설치를 시도 apt-get install apache2-dev했지만 E: Unable to locate package apache2-dev.

apxs2는 어디서 구할 수 있나요?

답변1

apache2-dev는 apache2-threaded-dev에서 제공하는 가상 패키지라고 생각합니다. 이를 설치하면 필요한 것을 얻을 수 있습니다.

관련 정보