Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@www.apache.org Received: (qmail 88935 invoked from network); 26 Mar 2004 00:38:07 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 26 Mar 2004 00:38:07 -0000 Received: (qmail 30650 invoked by uid 500); 26 Mar 2004 00:37:52 -0000 Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 30625 invoked by uid 500); 26 Mar 2004 00:37:52 -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 30611 invoked from network); 26 Mar 2004 00:37:52 -0000 Received: from unknown (HELO mail2.speakeasy.net) (216.254.0.202) by daedalus.apache.org with SMTP; 26 Mar 2004 00:37:52 -0000 Received: (qmail 27594 invoked from network); 26 Mar 2004 00:37:59 -0000 Received: from dsl092-190-153.sfo1.dsl.speakeasy.net (HELO [192.168.1.21]) (davidw@[66.92.190.153]) (envelope-sender ) by mail2.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 26 Mar 2004 00:37:59 -0000 In-Reply-To: <406378AB.7070009@stason.org> References: <89A627EE-7E7F-11D8-B366-000A95972D84@kineticode.com> <40634DBC.5090200@stason.org> <3B22E255-7EA8-11D8-B366-000A95972D84@kineticode.com> <40636CB7.7010508@stason.org> <9A4C1DD4-7EB6-11D8-B366-000A95972D84@kineticode.com> <406371DA.5060001@stason.org> <65A2757A-7EB8-11D8-B366-000A95972D84@kineticode.com> <40637348.7030503@stason.org> <406378AB.7070009@stason.org> Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: apreq Developers From: David Wheeler Subject: Re: Building on Red Hat 9 Date: Thu, 25 Mar 2004 16:37:58 -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 4:26 PM, Stas Bekman wrote: > MakeMaker doesn't know how to deal with .dylib target? It hasn't built > it. Do you have a rule to build .dylib in Makefile? > > May be it has to be .so and then renamed to .dylib post build (just > before you test it?). > > How does it work with other CPAN .xs modules? I have no idea, I don't know much about XS. FWIW, I see this in DBI's Makefile.PL: my %opts = ( NAME=> 'DBI', VERSION_FROM=> 'DBI.pm', EXE_FILES => [ "dbish$ext_pl", "dbiproxy$ext_pl" ], DIR => [], dynamic_lib => { OTHERLDFLAGS => "$::opt_g" }, clean => { FILES=> "\$(DISTVNAME) Perl.xsi " ."dbish$ext_pl dbiproxy$ext_pl ndtest.prt" }, dist => { DIST_DEFAULT=> 'clean distcheck disttest ci tardist', PREOP => '$(MAKE) -f Makefile.old distdir', COMPRESS => 'gzip -v9', SUFFIX => 'gz', }, ); Could it be that "dynamic_lib" parameter is what we want? Regards, David