RE: mod_perl and apache 2.4

"GLG" <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Organization 3DNetProductions.com
Message-ID <02c601d089f2$ce7242b0$6b56c810$@com>
It doesn't matter how I install mod_perl (dynamic or static. Also tried via
Webmin), the end result is always the same. This on FreeBSD 10.1

As soon as I add this line to httpd.conf

LoadModule perl_module libexec/apache22/mod_perl.so

and attempt to restart Apache, I get this...

------------------------------------
apachectl restart

Now reading network conf in..  /etc/rc.conf
Now reading network conf in..  /etc/rc.conf
Performing sanity check on apache22 configuration:
httpd: Syntax error on line 107 of /usr/local/etc/apache22/httpd.conf:
Cannot load /usr/local/libexec/apache22/mod_perl.so into server:
/usr/local/libexec/apache22/mod_perl.so: Undefined symbol
"modperl_io_perlio_restore_stdout"
-------------------------------------

I have verified that mod_perl.so is in place. What on Earth is

'Undefined symbol "modperl_io_perlio_restore_stdout"'???


Is this really a mod_perl list?

Thank you,





-----Original Message-----
From: GLG [mailto:[email protected]] 
Sent: Friday, May 01, 2015 7:12 PM
To: 'mod_perl list'
Subject: RE: mod_perl and apache 2.4

Thanks André. Your info was useful.  I can't say that I solved this yet, but
I did find something strange.

But first, I no longer think there's an issue with libtool. It looks like
there's a fix running.

Secondly, I had to 'pkg install p5-BSD-Resource' dependency manually,
because the automatic installation by mod_perl2 didn't work. 

And third, Can't really do 'make test' either because it has to run as a
priviledged user, and then Apache wants a non-priviledged user for the test
suite. Can't have both. So no dice. 

But see below for where the real problem seems to be: 

Short version:

Notice how gmake is installing mod_perl in ../ ../mach/5.18/ <--- correct
              but later tries to read from ../ ../5.18/mach/ <--- incorrect

Something is backward??? What is the right way to resolve this? I have been
at it way too long. Thanks,

-------------------------------------------------- 
Longer version:

[root@xxxxx /usr/ports/www/mod_perl2]# make install clean
===>  Staging for ap22-mod_perl2-2.0.8_2,3
===>   ap22-mod_perl2-2.0.8_2,3 depends on package: p5-BSD-Resource>=0 -
found
===>   ap22-mod_perl2-2.0.8_2,3 depends on file: /usr/local/sbin/apxs -
found
===>   ap22-mod_perl2-2.0.8_2,3 depends on file: /usr/local/bin/perl5.18.4 -
found
===>   Generating temporary packing list
gmake[1]: Entering directory '/usr/ports/www/mod_perl2/work/mod_perl-2.0.8'

... more stuff here

Installing
/usr/ports/www/mod_perl2/work/stage/usr/local/lib/perl5/site_perl/mach/5.18/

... more of the same here

     find:
/usr/ports/www/mod_perl2/work/stage/usr/local/lib/perl5/site_perl/5.18/mach/
auto: No such file or directory
====> Compressing man pages (compress-man)
===>  Installing for ap22-mod_perl2-2.0.8_2,3
===>  Checking if ap22-mod_perl2 already installed
===>   Registering installation for ap22-mod_perl2-2.0.8_2,3
pkg-static: Unable to access file
/usr/ports/www/mod_perl2/work/stage/usr/local/===>
ap24-mod_perl2-2.0.8_2,3 depends on package: p5-BSD-Resource>=0 - not found:
No such file or directory
pkg-static: Unable to access file
/usr/ports/www/mod_perl2/work/stage/usr/local/===>    Verifying install for
p5-BSD-Resource>=0 in /usr/ports/devel/p5-BSD-Resource: No such file or
directory
pkg-static: Unable to access file
/usr/ports/www/mod_perl2/work/stage/usr/local/===>  Installing for
p5-BSD-Resource-1.2907: No such file or directory

... more of the same here
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.