I am trying to compile and install mod_perl with apache so I can use apache:asp.
I run Makefile.PL with this command.
Code:
perl Makefile.PL APACHE_SRC=../apache_2.2.9/src \
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 \
APACI_ARGS='--prefix=/usr/local/httpd_perl'
then I run make.
I get this error.
[error]
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
make[1]: *** [mod_perl.so] Error 1
make[1]: Leaving directory `/usr/src/mod_perl/src/modules/perl'
make: *** [modperl_lib] Error 2
[/error]
It does not seem to be finding perl but I do nt know why or what to do about it?
could this be the problem? APACI_ARGS='--prefix=/usr/local/httpd_perl'
I do not have the slightest ideal what that means or if I need it.