Date: Mon, 2 Sep 2002 11:36:46 +0200 (MET DST) From: Mario Pranjic <mario.pranjic@irb.hr> To: <freebsd-ports@FreeBSD.ORG> Subject: p5-HTML-Mason-1.13 and mod_perl problem Message-ID: <Pine.GSO.4.32.0209021129040.23856-100000@nippur.irb.hr>
next in thread | raw e-mail | index | archive | help
Hi! I've installed p5-HTML-Mason-1.13, along with mod_perl and apache from ports. In httpd.conf I added: <IfModule mod_perl.c> # -------------- # -- mod_perl -- # -------------- Alias /perl/ /services/perl/ <Location /perl> SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI PerlSendHeader on </Location> # ----------------- # -- HTML::Mason -- # ----------------- PerlSetVar MasonCompRoot /services/bib PerlSetVar MasonDataDir /services/mason ## PerlModule Apache::DBI PerlModule HTML::Mason::ApacheHandler <Directory /services/bib> <FilesMatch "(\.htm|\.html|\.txt|\.cgi|^[^\.]+)$"> SetHandler perl-script PerlHandler HTML::Mason::ApacheHandler </FilesMatch> </Directory> </IfModule> But, when I try to start apache, I get the following error: Syntax error on line 1107 of /usr/local/etc/apache/httpd.conf: Can't locate object method "rel2abs" via package "File::Spec" at /usr/local/lib/perl5/site_perl/5.005/HTML/Mason/Resolver/File.pm line 20. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.005/HTML/Mason/ApacheHandler.pm line 201. Obviously, there is a problem finding "rel2abs" method. But, why? Any ideas? Thanks for help! Mario Pranjic, dipl.ing. sistem administrator Knjiznica, Institut Rudjer Boskovic ------------------------------------- e-mail: mario.pranjic@irb.hr ICQ: 72059629 tel: +385 1 45 60 954 (interni: 1293) ------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.32.0209021129040.23856-100000>