You are not logged in.

#1 2009-07-31 20:36:03

poopship21
Member
Registered: 2009-05-13
Posts: 177

retrieve source for installed package: apache [SOLVED]

i am using CPAN shell to build the mod_perl dependency Apache::Registry and it is asking for the apache source.  i need the source for apache 2.2.11-3, obviously could be gotten from apache.org but its more robust if pacman or abs can just check the pkgbuild for the version of apache that was compiled into the package that i got via pacman. 

yeah i tried

$ yaourt -Sy mod_perl

and followed the steps at http://perl.apache.org/docs/1.0/guide/g … erl_Server
under "Configuring and starting the mod_perl server" but it broke httpd.conf according to /var/log/httpd/error_log

Last edited by poopship21 (2009-08-02 17:15:52)

Offline

#2 2009-07-31 21:35:32

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: retrieve source for installed package: apache [SOLVED]

Hello poopship21!

Okay, but what's in that log files ?

Offline

#3 2009-08-01 01:00:53

poopship21
Member
Registered: 2009-05-13
Posts: 177

Re: retrieve source for installed package: apache [SOLVED]

first of all let me say that there is obviously something else going on here because the first thing i did was change "PerlSendHandler" to "PerlSendHeader" and run "sudo /etc/rc.d/httpd restart".  no matter what i still got this:

syntax error on line 492 of /etc/httpd/conf/httpd.conf:
Invalid command 'PerlSendHandler', perhaps misspelled or defined by a module not included in the server configuration
[Fri Jul 31 15:24:37 2009] [error] Can't locate Apache/Registry.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /etc/httpd) at (eval 2) line 3.\n
[Fri Jul 31 15:24:37 2009] [error] Can't load Perl module Apache::Registry for server myserver.org:0, exiting...
[Fri Jul 31 15:24:40 2009] [error] Can't locate Apache/Registry.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /etc/httpd) at (eval 2) line 3.\n
[Fri Jul 31 15:24:40 2009] [error] Can't load Perl module Apache::Registry for server myserver.org:0, exiting...
[Fri Jul 31 15:24:44 2009] [error] Can't locate Apache/Registry.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /etc/httpd) at (eval 2) line 3.\n
[Fri Jul 31 15:24:44 2009] [error] Can't load Perl module Apache::Registry for server myserver.org:0, exiting...
[Fri Jul 31 15:24:45 2009] [error] Can't locate Apache/Registry.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /etc/httpd) at (eval 2) line 3.\n
[Fri Jul 31 15:24:45 2009] [error] Can't load Perl module Apache::Registry for server myserver.org:0, exiting...
[Fri Jul 31 15:24:46 2009] [error] Can't locate Apache/Registry.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /etc/httpd) at (eval 2) line 3.\n
[Fri Jul 31 15:24:46 2009] [error] Can't load Perl module Apache::Registry for server myserver.org:0, exiting...
[Fri Jul 31 15:32:35 2009] [error] Can't locate Apache/Registry.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /etc/httpd) at (eval 2) line 3.\n
[Fri Jul 31 15:32:35 2009] [error] Can't load Perl module Apache::Registry for server myserver.org:0, exiting...

Offline

#4 2009-08-01 15:18:00

poopship21
Member
Registered: 2009-05-13
Posts: 177

Re: retrieve source for installed package: apache [SOLVED]

for some reason the version of mod_perl that was installed from the CPAN shell was not the most current one for the version of apache that i have (ie not mod_perl 2.x).  due to these problems i decided to ditch the arch-repo-based apache and install both httpd and mod_perl from source (the apache.org 2.2.12 tarball was more current anyway).  as expected, this worked with the apache.org documentation on mod_perl installation and all my cgi is happy.  thanks

Last edited by poopship21 (2009-08-02 17:15:35)

Offline

Board footer

Powered by FluxBB