From owner-freebsd-ports@FreeBSD.ORG Thu Apr 15 08:19:37 2004 Return-Path: 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 AF25A16A4CE for ; Thu, 15 Apr 2004 08:19:37 -0700 (PDT) Received: from aphrodite.gwi.net (aphrodite.gwi.net [207.5.128.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BFD743D2F for ; Thu, 15 Apr 2004 08:19:35 -0700 (PDT) (envelope-from ah54@harrisonfamily.com) Received: from andy (murdoc.gwi.net [207.5.142.8]) by aphrodite.gwi.net (8.12.9p2/8.12.9) with SMTP id i3FFJYtl059862 for ; Thu, 15 Apr 2004 11:19:34 -0400 (EDT) (envelope-from ah54@harrisonfamily.com) Date: Thu, 15 Apr 2004 11:19:34 -0400 From: Andy Harrison To: "freebsd-ports@freebsd.org" Message-Id: <20040415111934.6c95d0a0@andy> X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i386-portbld-freebsd4.9) X-System-Info-OS: FreeBSD 4.9-RELEASE-p3 X-System-Info-httpd: apache-1.3.28 X-System-Info-WM: kde-3.2.1 X-System-Info-RT: rt-3-0-6 X-System-Info-DB: PostgreSQL-7.3.5 X-Homepage: http://www.nachoz.com X-PGP-Key: GnuPG http://www.nachoz.com/andy.pub Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: mod_perl installation and non-standard perl path X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2004 15:19:37 -0000 For reasons I don't want to trouble you with, I had to install the latest perl port into /usr/local/rt3/perl/ and now I need to get mod_perl to compile against that version. I edited the Makefile, added MOD_PERLCONFIG=/usr/local/rt3/perl/bin/perl to CONFIGURE_ARGS and I edited the shebang line in /usr/local/bin/apxs to point to my new installation of perl. Then, I tried using this cli in the mod_perl port directory. bash-2.05b# PERL5LIB=/usr/local/rt3/perl/lib/site_perl/5.8.2/i386-freebsd PREFIX=/usr/local/rt3/perl SITE_PERL=/usr/local/rt3/perl/lib/site_perl make While pieces of the compile output show that it is using /usr/local/rt3/perl/*, most of it shows that it's pulling from /usr/local/lib/perl5/* for libs. I even combed through the work directory and manually changed the references to the perl binary to /usr/local/rt3/perl/bin/perl with no luck. Same results every time. And yes, I've been doing a make clean in between compiles. Any advice? -- Andy Harrison (full headers for details)