Bug 165421 - cannot work www/mod_perl2 version 2.0.5_1,3
Summary: cannot work www/mod_perl2 version 2.0.5_1,3
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Philip M. Gollucci
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-23 14:30 UTC by Andrei Lavreniyuk
Modified: 2012-02-29 04:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Lavreniyuk 2012-02-23 14:30:14 UTC
# /usr/local/etc/rc.d/apache22 start
Performing sanity check on apache22 configuration:
httpd: Syntax error on line 54 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"
Starting apache22.
httpd: Syntax error on line 54 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"
/usr/local/etc/rc.d/apache22: WARNING: failed to start apache22


---

httpd.conf:

LoadModule perl_module libexec/apache22/mod_perl.so

PerlModule Apache2::compat
AddHandler cgi-script .cgi .pl
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-02-23 14:30:31 UTC
Responsible Changed
From-To: freebsd-ports-bugs->apache

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Philip M. Gollucci freebsd_committer freebsd_triage 2012-02-23 16:52:58 UTC
Responsible Changed
From-To: apache->pgollucci

I will take it.
Comment 3 Philip M. Gollucci 2012-02-29 03:14:16 UTC
please provider your perl -V

I don't really need it though -- you have an unsupported set of options
for perl to use with mod_perl.

In particular you need USE_PERLIO.  I don't think the port should check
for this b/c any version of per since 2008 has a PERLIO layer you should
be using and especially not disabling.

It turns out that lang/perl* don't provide an option to disable it
(good), so you've done it yourself which is BAD(tm)!



-- 
------------------------------------------------------------------------
Philip M. Gollucci (pgollucci@ridecharge.com)
p: 703.579.6947
Director Operations - RideCharge Inc. / Taxi Magic / Sedanmagic
                      http://taximagic.com / http://sedanmagic.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

"The only thing we do consistently is being INconsistent"
Comment 4 Philip M. Gollucci freebsd_committer freebsd_triage 2012-02-29 03:14:30 UTC
State Changed
From-To: open->closed

Bad PR