Kadet Posted April 5, 2007 Posted April 5, 2007 (edited) проблема в следующем, ставлю я апач ./configure --enable-module=so make make install потом пытаюсь поставить пхп: [root@frya /usr/ports/distfiles/php-4.4.6]# ./configure --with-apxs2=/usr/local/apache2/bin/apxs начинает чтото конфигурить, потом выдает: Configuring SAPI modules checking for AOLserver support... no checking for Apache 1.x module support via DSO through APXS... no checking for Apache 1.x module support... no checking for mod_charset compatibility option... no checking for Apache 2.0 filter-module support via DSO through APXS... no checking for Apache 2.0 handler-module support via DSO through APXS... Sorry, I cannot run apxs. Possible reasons follow: 1. Perl is not installed 2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs 3. Apache was not built using --enable-so (the apxs usage page is displayed) The output of /usr/local/apache2/bin/apxs follows: ./configure: /usr/local/apache2/bin/apxs: not found configure: error: Aborting 1. Перл у меня стоит, он помоему поумолчанию стоит 2. apxs лежит на месте, куда указано, сам проверял 3. апач поставлен как надо нужна помощь в решении этой проблемы фря стоит 6.2 Edited April 5, 2007 by Kadet Вставить ник Quote
csa Posted April 6, 2007 Posted April 6, 2007 поискать в configure место, где "checking for Apache 2.0 handler-module support via DSO through APXS... ", и посмотреть, чего ему не хватает для жизни configure - это shell-скрипт можно проделать указанные там операции вручную и показать результат, если проблема не решится Вставить ник Quote
PommeFritz Posted April 7, 2007 Posted April 7, 2007 проверьте путь в первой строке файла /usr/local/apache2/bin/apxs где задается интерпретатор на соответствие тому, где у вас лежит сам интерпретатор: head -n 1 /usr/local/apache2/bin/apxs && which perl Вставить ник Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.