From owner-freebsd-stable Sun Sep 1 23:59:48 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D397737B400 for ; Sun, 1 Sep 2002 23:59:42 -0700 (PDT) Received: from nippur.irb.hr (nippur.irb.hr [161.53.128.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6126543E4A for ; Sun, 1 Sep 2002 23:59:41 -0700 (PDT) (envelope-from mario.pranjic@irb.hr) Received: from localhost (keeper@localhost) by nippur.irb.hr (8.9.3/8.9.3) with ESMTP id IAA23873 for ; Mon, 2 Sep 2002 08:59:39 +0200 (MET DST) Date: Mon, 2 Sep 2002 08:59:39 +0200 (MET DST) From: Mario Pranjic To: Subject: apache+perl+mason problem Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi! I've installed apache+mod_ssl from ports. I've installed mod_perl and mod_php for apache. I intend to use Mason (p5-HTML-Mason-1.12.1). I've installed Mason from ports. pkg_tree shows: p5-HTML-Mason-1.13 |\__ p5-libapreq-1.0 |\__ p5-Test-Simple-0.47 |\__ p5-Scalar-List-Utils-1.0701 |\__ p5-Params-Validate-0.24 |\__ p5-File-Spec-0.82 |\__ p5-Carp-Assert-0.17 |\__ p5-Devel-StackTrace-1.00 | \__ p5-Test-Simple-0.47 |\__ p5-Class-Fields-0.14 | \__ p5-Carp-Assert-0.17 |\__ p5-Class-Data-Inheritable-0.02 | |\__ p5-Carp-Assert-0.17 | \__ p5-Class-Fields-0.14 | \__ p5-Carp-Assert-0.17 |\__ p5-Class-Container-0.07 | |\__ p5-Scalar-List-Utils-1.0701 | \__ p5-Params-Validate-0.24 \__ p5-Exception-Class-1.05 |\__ p5-Test-Simple-0.47 |\__ p5-Devel-StackTrace-1.00 | \__ p5-Test-Simple-0.47 |\__ p5-Carp-Assert-0.17 |\__ p5-Class-Fields-0.14 | \__ p5-Carp-Assert-0.17 \__ p5-Class-Data-Inheritable-0.02 |\__ p5-Carp-Assert-0.17 \__ p5-Class-Fields-0.14 \__ p5-Carp-Assert-0.17 Now, in httpd.conf I wrote: # -------------- # -- mod_perl -- # -------------- Alias /perl/ /services/perl/ SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI PerlSendHeader on # ----------------- # -- HTML::Mason -- # ----------------- PerlSetVar MasonCompRoot /services/bib PerlSetVar MasonDataDir /services/mason ## PerlModule Apache::DBI PerlModule HTML::Mason::ApacheHandler SetHandler perl-script PerlHandler HTML::Mason::ApacheHandler But, when I try to start apache, I get the following: Syntax error on line 1095 of /usr/local/etc/apache/httpd.conf: Can't locate HTML/Mason/ApacheHandler.pm in @INC (@INC contains: /usr/local/lib/site_perl/5.00503/i386-freebsd /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 . /usr/local/ /usr/local/lib/perl) at (eval 4) line 3. Can anyone give me a hint what I did wrong? Thanks a lot! 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-stable" in the body of the message