Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@www.apache.org Received: (qmail 70053 invoked from network); 25 Mar 2004 22:03:32 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 25 Mar 2004 22:03:32 -0000 Received: (qmail 25918 invoked by uid 500); 25 Mar 2004 22:03:19 -0000 Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 25899 invoked by uid 500); 25 Mar 2004 22:03:19 -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 25886 invoked from network); 25 Mar 2004 22:03:19 -0000 Received: from unknown (HELO mail4.speakeasy.net) (216.254.0.204) by daedalus.apache.org with SMTP; 25 Mar 2004 22:03:19 -0000 Received: (qmail 21162 invoked from network); 25 Mar 2004 22:03:25 -0000 Received: from dsl092-190-153.sfo1.dsl.speakeasy.net (HELO [192.168.1.21]) (davidw@[66.92.190.153]) (envelope-sender ) by mail4.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 25 Mar 2004 22:03:25 -0000 In-Reply-To: <40634DBC.5090200@stason.org> References: <89A627EE-7E7F-11D8-B366-000A95972D84@kineticode.com> <40634DBC.5090200@stason.org> Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <3B22E255-7EA8-11D8-B366-000A95972D84@kineticode.com> Content-Transfer-Encoding: 7bit Cc: apreq Developers From: David Wheeler Subject: Re: Building on Red Hat 9 Date: Thu, 25 Mar 2004 14:03:21 -0800 To: Stas Bekman X-Mailer: Apple Mail (2.613) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Mar 25, 2004, at 1:23 PM, Stas Bekman wrote: >> IIRC, Stas said there were some issues getting this to work for Mac >> OS X folks. I was thinking that this was because OS X doesn't use .o >> for dynamic libraries, but using Config{so} doesn't work, either: >> cc: Request.dylib: No such file or directory >> make[1]: *** [../blib/arch/auto/Apache/Request/Request.bundle] >> Error 1 >> So I'm not sure what the issue is. But it's annoying that it has to >> be coded one way on Mac OS X and another way on Red Hat. Does it >> work as-is on other Linux boxes? The error I get on Red Hat 9 in >> similar to this (during make test): > > In which case, my patch is wrong to hardcode .o/.a. What is the right > extension on OS X? It's "dylib". I tried making the line: 'OBJECT' => "Cookie.$Config{so} $root/libapreq.a", Which, correctly gets "dylib", but as you can see from the error above, it still doesn't work. > Hmm, what's: > > ldd > /root/.cpan/build/libapreq-1.1/blib/arch/auto/Apache/Request/ > Request.so Sorry, I just copied that from an old posting in the archives. Let me try to regenerate the true error...here you go: [Thu Mar 25 11:12:42 2004] [notice] Accept mutex: sysvsem (Default: sysvsem) [Thu Mar 25 11:12:42 2004] [error] Can't load '/home/david/libapreq-1.3/blib/arch/auto/Apache/Cookie/Cookie.so' for module Apache::Cookie: libapreq.so.1: cannot open shared object file: No such file or directory at /usr/local/lib/perl5/5.8.3/i686-linux/DynaLoader.pm line 229. at /usr/local/lib/perl5/site_perl/5.8.3/i686-linux/mod_perl.pm line 14 Compilation failed in require at /home/david/libapreq-1.3/t/response/TestApReq/big_input.pm line 9. BEGIN failed--compilation aborted at /home/david/libapreq-1.3/t/response/TestApReq/big_input.pm line 9. Compilation failed in require at (eval 10) line 3. [Thu Mar 25 11:12:42 2004] [error] Undefined subroutine &TestApReq::big_input::handler called. Regards, David