LINUX.ORG.RU

комиляция mod_chm проблема с apxs2


0

0

пытаюсь скомпилить mod_chm
[haba mod_chm]# ./configure --with-apxs2=/usr/sbin/apxs
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking for apxs2... no
configure: error: apxs2 could not be found.

система fedora 4
httpd-devel установлен

anonymous

Ответ на: комментарий от Anoxemian

апач у меня второй
[haba ~]$ httpd -v
Server version: Apache/2.0.54To install:
Server built: Jan 17 2006 06:36:00
в README к mod_chm написано

To install:
./configure --with-apxs2=/path/to/dir/with/apxs2
make
make install

anonymous
()
Ответ на: комментарий от anonymous

для установки apache(httpd и httpd-devel) пользовался yum репозиториями

anonymous
()
Ответ на: комментарий от Anoxemian

>Значит apxs от первого апача.
ну это достаточно странно
httpd и httpd-devel из одного дистибутива (и yum ставит самую последнюю версию)
apxs появился после установки httpd-devel
>Он написан на перле. У тебя перл установлен?
perl стоит

anonymous
()
Ответ на: комментарий от anonymous

apxs тоже работает
[haba ~]$ apxs
Usage: apxs -g [-S <var>=<val>] -n <modname>
apxs -q [-S <var>=<val>] <query> ...
apxs -c [-S <var>=<val>] [-o <dsofile>] [-D <name>[=<value>]]
[-I <incdir>] [-L <libdir>] [-l <libname>] [-Wc,<flags>]
[-Wl,<flags>] [-p] <files> ...
apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.