Problem installing mod_perl

Andrew Pantyukhin infofarmer at gmail.com
Sun Mar 5 20:01:16 UTC 2006


On 3/5/06, Joachim Dagerot <jd at dagerot.com> wrote:
> When I'm trying to install p5-apache-DBI I'm getting problems with the
> mod_perl extension.
>
> I have now de-installed apache and installed apache22. Now when trying
> to install mod_perl I get these error messages in the beginning. I
> have cvsuped and are really stucked here. Any help is much
> appreciated.
>
>
> bash-2.05b# cd www/mod_perl
> bash-2.05b# make install
> ===>  Building for mod_perl-1.29_1
> (cd ./apaci && PERL5LIB=/usr/ports/www/mod_perl/work/mod_perl-1.29/lib: make)
> cc -DPIC -fPIC -O -pipe -I/usr/local/lib/perl5/5.8.5/mach/CORE
> -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.5/BSDPAN" -DHAS_FPSETMASK
> -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include
> -DMOD_PERL_VERSION=\"1.29\"
> -DMOD_PERL_STRING_VERSION=\"mod_perl/1.29\"
> -DMOD_PERL_PREFIX=\"/usr/local/lib/perl5/site_perl/5.8.5/i386-freebsd-64int\"
> -I/usr/local/include/apache22 -DMOD_PERL -O -pipe -O -pipe   -c
> mod_perl.c && mv mod_perl.o mod_perl.lo
> In file included from mod_perl.c:58:
> mod_perl.h:79:20: EXTERN.h: No such file or directory
> mod_perl.h:80:18: perl.h: No such file or directory
> mod_perl.h:84:18: XSUB.h: No such file or directory
> mod_perl.h:103:24: patchlevel.h: No such file or directory
> In file included from mod_perl.h:162,
>                  from mod_perl.c:58:
> apache_inc.h:120:20: httpd.h: No such file or directory
> apache_inc.h:121:26: http_config.h: No such file or directory
> apache_inc.h:122:28: http_protocol.h: No such file or directory
> apache_inc.h:123:23: http_log.h: No such file or directory
> apache_inc.h:124:24: http_main.h: No such file or directory
> apache_inc.h:125:24: http_core.h: No such file or directory
> apache_inc.h:126:27: http_request.h: No such file or directory
> apache_inc.h:127:26: util_script.h: No such file or directory
> apache_inc.h:128:31: http_conf_globals.h: No such file or directory
> apache_inc.h:129:24: http_vhost.h: No such file or directory
> In file included from mod_perl.c:58:
> mod_perl.h:248: error: syntax error before "table"
> mod_perl.h:254: error: syntax error before '*' token
> mod_perl.h:254: warning: data definition has no type or storage class
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>

Try mod_perl2 :-)


More information about the freebsd-questions mailing list