mod_perl 1.28 with apache 1.3.28 questions

2003-08-22 Thread paul beard
I have been trying to get mod_perl and apache to play nicely 
together and they refuse. I have a couple of problems.

1. I can't build and install mod_perl 1.28. I get and Error 1 when 
make checks to see if any version is installed. I can then go into 
work/mod_perl-1.28 and make install, but something else seems to 
be wrong. I never get it to work with apache if I do that.

[/usr/ports/www/mod_perl]# make install
===  Installing for mod_perl-1.28
===   mod_perl-1.28 depends on file: /usr/local/sbin/apxs - found
===   mod_perl-1.28 depends on file: 
/usr/local/lib/perl5/site_perl/5.8.0/LWP.pm - found
===   Generating temporary packing list
===  Checking if www/mod_perl already installed
*** Error code 1

Stop in /usr/ports/www/mod_perl.

[/usr/ports/www/mod_perl]# pkg_info | grep mod_perl
mod_perl-1.28   Embeds a Perl interpreter in the Apache server
I get the same error, whether or not it's installed.

2. I can install from the packaged version but it is built against 
perl 5.005 as best I can tell (I enable perl-status and check in a 
browser: Embedded Perl version 5.00503 for Apache/1.3.28 (Unix) 
mod_perl/1.28 DAV/1.0.3 process 12540 ) I'm running 5.8 and I'm 
not sure that's the best way to proceed.

So ideally, I'd like to install from source through the ports 
system. As a side note, I have been through my ports/packages 
database with pkgdb: all seems to be clean, after after a few 
mismatches were cleaned up. I have also tried portinstall and 
port_upgrade: no joy there, either.

Any help?

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Non-sequiturs make me eat lampshades.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mod_perl 1.28 with apache 1.3.28 questions

2003-08-22 Thread paul beard
KONDOU, Kazuhiro wrote:
do you want to make mod_perl with Perl 5.[68] on  5.x system?
you must rewrite PERL5/PERL5/PERL_VERSION/PERL_VER in
/usr/ports/Mk/bsd.port.mk and rebuild mod_perl with portupgrade -f.
 /usr/ports/Mk/bsd.port.mk  doesn't look like anything I want to 
mess with: it reads like it has the No User Serviceable Parts 
Inside label.

if you execute cvsup/cvsync. these programs discards your changes.
if you want to save your changes in bsd.port.mk, i recommend to
use 'cvs up' from anonymous CVS repo. to sync ports tree.
more easy way, use 5.x system. :)
Well, I'm not ready for that yet. This is a production system for 
me, and I'm not tackling the 5.x learning curve just yet.

People have been running mod_perl on 4.x systems, so there must be 
a way.

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Keep emotionally active.  Cater to your favorite neurosis.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]