From owner-freebsd-questions Fri Feb 2 10:30:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from midas.ifour.com.br (unknown [200.238.229.70]) by hub.freebsd.org (Postfix) with SMTP id 2798037B401 for ; Fri, 2 Feb 2001 10:29:53 -0800 (PST) Received: (qmail 99818 invoked from network); 2 Feb 2001 15:24:21 -0000 Received: from unknown (HELO ifour.com.br) (192.168.1.11) by 192.168.1.10 with SMTP; 2 Feb 2001 15:24:21 -0000 Message-ID: <3A7AFC5E.4C67914A@ifour.com.br> Date: Fri, 02 Feb 2001 16:28:46 -0200 From: Gustavo Vieira Goncalves Coelho Rios X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.2-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Chris Hill Cc: questions@FreeBSD.ORG Subject: Re: p5-HTML-Embperl References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Chris Hill wrote: > > On Fri, 2 Feb 2001, Gustavo Vieira Goncalves Coelho Rios wrote: > > > I installed apache by hand, without using ports, so it's installed in > > /usr/local/apache. > > The problem is that embperl is seeking for /usr/local/include/apache and > > it should not, but instead, seek for /usr/local/apache/include. > > > > How may i specify that it should seek into this directory? > > The first thing I would try is to make a symlink in the place where > embperl is looking, and have the link point to the place where you want > it to look. > > NB, I have never encountered your situation and this is only a > suggestion/guess. That is, it may not work. > > Good luck. > > -- > Chris Hill chris@monochrome.org > ** [ Busy expunging <-> ] > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message Thanks for your time and cooperation. Now i known where is the problem. It's related to the patch-aa provided by the author of the module. This patch forces the building process to seek in /usr/local/include/apache. The biggest problem is that it brakes flexibility, i.e., if you have apache installed somewhere not in the defaults by the apache port, you run into problem. Take a closer look into the patch-aa: --- Makefile.PL.orig Mon Nov 13 10:14:28 2000 +++ Makefile.PL Tue Dec 19 12:09:13 2000 @@ -26,7 +26,7 @@ %neededmodules = ( 'mod_perl.c' => { name => 'perl_module', - path => ['$apache_src/modules/perl/libperl.so', ' $EPBINDIR/modules/libperl.so', '$apache_src/mod_perl.so'], + path => ['/usr/local/libexec/apache/libperl.so', '$EPBINDIR/modules/libperl.so', '$apache_src/mod_perl.so'], win32path => ['$mpdll', '$mpdll/apachemoduleperl.dll', '$EPBINDIR/modules/apachemoduleperl.dll'], file => 'libperl.so', win32file => 'apachemoduleperl.dll', @@ -468,23 +468,7 @@ #### look in which subdir the include files resides #### - if (-e "$apache_src/httpd.h") - { - $inc_dir = $apache_src ; - } - elsif (-e "$apache_src/main/httpd.h") - { - $inc_dir = "$apache_src/main" ; - } - elsif (-e "$apache_src/include/httpd.h") - { - $inc_dir = "$apache_src/include" ; - } - elsif (-e "$ENV{APACHE_HDR}/httpd.h") - { - $inc_dir = "$ENV{APACHE_HDR}" ; - } - + $inc_dir = "/usr/local/include/apache"; if ($win32) { The line "$inc_dir = "/usr/local/include/apache";" is the problem. It should not be there. IMHO, this patch should not exist, 'cause it is not making thing easier for those who don't have apache installed by ports, and removing this patch would be no problem for those who of you whom installed apache from ports. In others worlds, by removing this patch, it will be possible to please greeks and trojans. Am i correct ? Who should i ask to "correct" this "bug" ? Thanks in advance! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message