LINUX.ORG.RU
ФорумAdmin

Траблы с mod_perl 2


0

0

Не получается скомпилить mod_perl 2 для apache 2.0.40.
Ктонибудь знает как решить проблему?


/* Первая фаза проходит нормально */

perl Makefile.PL MP_AP_PREFIX=/usr/local/apache_2.0.40/ MP_INST_APACHE2=1
MP_USE_DSO=1 MP_APXS=/usr/local/apache_2.0.40/bin/apxs

/* При майке валится */
/* Если посмотреть на ошибки выдаваемые gcc, то можно сделать вывод что их
* код вообще не может компилиться */

host:/usr/src/packages/SOURCES/mod_perl-1.99_04 # make

cd "src/modules/perl" && make -f Makefile.modperl
make[1]: Entering directory
`/usr/src/packages/SOURCES/mod_perl-1.99_04/src/modules/perl'
cc -I/usr/src/packages/SOURCES/mod_perl-1.99_04/src/modules/perl
-I/usr/src/packages/SOURCES/mod_perl-1.99_04/xs
-I/usr/local/apache_2.0.40/include -fno-strict-aliasing
-I/usr/local/include -I/usr/lib/perl5/5.6.0/i586-linux/CORE -DMOD_PERL
-O2 -pipe -fpic \
-c mod_perl.c && mv mod_perl.o mod_perl.lo
In file included from modperl_perl_includes.h:42,
from mod_perl.h:5,
from mod_perl.c:1:
/usr/lib/perl5/5.6.0/i586-linux/CORE/perl.h:23: warning: `VOIDUSED'
redefined
/usr/lib/perl5/5.6.0/i586-linux/CORE/config.h:3028: warning: this is the
location of the previous definition
mod_perl.c: In function `modperl_register_hooks':
mod_perl.c:511: warning: passing arg 3 of `ap_register_output_filter'
makes pointer from integer without a cast
mod_perl.c:511: too few arguments to function `ap_register_output_filter'
mod_perl.c:515: warning: passing arg 3 of `ap_register_input_filter' makes
pointer from integer without a cast
mod_perl.c:515: too few arguments to function `ap_register_input_filter'
mod_perl.c:519: warning: passing arg 3 of `ap_register_output_filter'
makes pointer from integer without a cast
mod_perl.c:519: too few arguments to function `ap_register_output_filter'
mod_perl.c:523: warning: passing arg 3 of `ap_register_input_filter' makes
pointer from integer without a cast
mod_perl.c:523: too few arguments to function `ap_register_input_filter'
make[1]: *** [mod_perl.lo] Error 1
make[1]: Leaving directory
`/usr/src/packages/SOURCES/mod_perl-1.99_04/src/modules/perl'
make: *** [modperl_lib] Error 2
host:/usr/src/packages/SOURCES/mod_perl-1.99_04 #

anonymous

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