From owner-freebsd-ports Thu Dec 19 0: 0: 8 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEA9637B401 for ; Thu, 19 Dec 2002 00:00:06 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64CA743EDC for ; Thu, 19 Dec 2002 00:00:05 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id gBJ7xtQn080818; Thu, 19 Dec 2002 07:59:55 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id gBJ7xmLJ080817; Thu, 19 Dec 2002 07:59:48 GMT Date: Thu, 19 Dec 2002 07:59:48 +0000 From: Matthew Seaman To: John Long Cc: ports@FreeBSD.ORG Subject: Re: Can't locate Apache/Constants.pm in @INC Message-ID: <20021219075948.GA80493@happy-idiot-talk.infracaninophi> References: <5.1.0.14.2.20021218175519.0252b820@mail.securities-pricing.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.1.0.14.2.20021218175519.0252b820@mail.securities-pricing.com> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-3.3 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_01_02, USER_AGENT,USER_AGENT_MUTT version=2.43 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Dec 18, 2002 at 07:22:12PM -0800, John Long wrote: > I assume that it is looking for > > Module Apache::Constants (D/DO/DOUGM/mod_perl-1.27.tar.gz) > > However I have installed from ports > Apache/1.3.27 (Unix) mod_ssl/2.8.12 OpenSSL/0.9.6g > server which is running just fine. > > Locate tells me there is no Constants.pm on the system so maybe this apache build > is not quite complete? I tried to cpan, get Apache::Constants.pm but it is failing on test > and it wanted to do a configure to apache but that does not seem to be wise. > > I am a little leery to install mod-perl for fear it will mess up my system. What would be > the best / easiest way to get the constants package in there? Apache::Constants is provided by mod_perl --- and the www/mod_perl port is the best way to install it. The port will install mod_perl as a DSO without attempting to recompile apache: arbitrary:/var/log:% pkg_info -W /usr/local/lib/perl5/site_perl/5.6.1/mach/Apache/Constants.pm /usr/local/lib/perl5/site_perl/5.6.1/mach/Apache/Constants.pm was installed by package mod_perl-1.27 and it works just fine if you install the www/mod_perl port as a dependency of apache+mod_ssl: arbitrary:/var/log:% pkg_info -r mod_perl-1.27 Information for mod_perl-1.27: Depends on: Dependency: perl-5.6.1_11 Dependency: apache+mod_ssl-1.3.27+2.8.12 although you do need to use 'pkgdb -F' to fix up the dependency information --- the port assumes it's being installed against the straight apache-1.3.27 port. Whilst I have installed perl-5.6.1, mod_perl will work fine with the bundled perl-5.004 on FreeBSD. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message