Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 83280 invoked by uid 500); 8 Aug 2003 16:49:17 -0000 Mailing-List: contact apreq-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list apreq-dev@httpd.apache.org Received: (qmail 83248 invoked from network); 8 Aug 2003 16:49:16 -0000 Received: from erato.logilune.com (HELO mail.logilune.com) (195.154.174.52) by daedalus.apache.org with SMTP; 8 Aug 2003 16:49:16 -0000 Received: from stason.org (localhost.logilune.com [127.0.0.1]) by mail.logilune.com (Postfix) with ESMTP id 6EC1878DE5; Fri, 8 Aug 2003 18:49:17 +0200 (CEST) Message-ID: <3F33D3CC.3080907@stason.org> Date: Fri, 08 Aug 2003 09:46:04 -0700 From: Stas Bekman Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chris Nandor Cc: apreq-dev@httpd.apache.org Subject: Re: libapreq failures with 1.2 and Mac OS X Server References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Chris Nandor wrote: > At 08:53 -0700 2003.08.08, Stas Bekman wrote: > >>Does Mac OS X uses .exp files? I can't see your compilation log, but if it >>does, it probably uses apaci/mod_perl.exp, which defines sv2request_rec and >>perl_request_rec (my guess is that the _ prefix is just an internal thing). > > > Thanks. I am not sure what to do with this information, though. Here's a > build log, if it would help. > > http://pudge.net/tmp/log.txt check your httpd, whether it has these symbols. On my setup: nm /home/httpd/httpd_perl/bin/httpd | grep sv2request_rec 080944f6 T sv2request_rec if you don't have them, it's probably not the apreq's fault. the sv2request_rec symbol originates from: nm ../apache-1.3/src/modules/perl/perl_util.lo | grep sv2req 0000049b T sv2request_rec can you see it? I can see that perl_util.lo from your log links to libperl.a: ar crv libperl.a mod_perl.o perlxsi.o perl_config.o perl_util.o perlio.o mod_perl_opmask.o Apache.o Constants.o ModuleConfig.o Log.o URI.o Util.o Connection.o Server.o File.o Table.o so you should also see it in libperl.a (check that you do), which eventually gets linked to httpd: env LD_RUN_PATH=/usr/local/lib/perl5/5.8.1/darwin/CORE cc -DDARWIN -DMOD_PERL -DUSE_PERL_SSI -pipe -fno-common -DDARWIN -no-cpp-precomp -fno-strict-aliasing -DUSE_HSREGEX -DNO_DL_NEEDED -DPERL_MARK_WHERE=1 -pipe -fno-common -DDARWIN -no-cpp-precomp -fno-strict-aliasing `./apaci` \ -o httpd buildmark.o modules.o modules/perl/libperl.a ^^^^^^^^^^^^^^^^^^^^^^^ modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a -flat_namespace -L/usr/local/lib /usr/local/lib/perl5/5.8.1/darwin/auto/DynaLoader/DynaLoader.a -L/usr/local/lib/perl5/5.8.1/darwin/CORE -lperl -lm -lc ------------------------------------------------------------------------- Also I'm not sure why did you have to install libapreq c lib separately, purphaps there is some sort of collision here. do you use it elsewhere, besides mod_perl? when you were testing mod_perl, you've got: dyld: ../apache_1.3.28/src/httpd can't open library: /usr/local/lib/libapreq.1.dylib (No such file or directory, errno = 2) Have you tried nuking any references to libapreq, and then installing only via 'perl Makefile.PL ...'? instead of doing: ./configure --with-apache-include=/usr/local/apache/include/ make make install perl Makefile.PL -httpd /usr/local/apache/sbin/httpd make make test just do: perl Makefile.PL -httpd /usr/local/apache/sbin/httpd make make test __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:stas@stason.org http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com