Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@www.apache.org Received: (qmail 62963 invoked from network); 10 Dec 2003 22:16:51 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 10 Dec 2003 22:16:51 -0000 Received: (qmail 99353 invoked by uid 500); 10 Dec 2003 22:16:38 -0000 Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 99338 invoked by uid 500); 10 Dec 2003 22:16:38 -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 99324 invoked from network); 10 Dec 2003 22:16:38 -0000 Received: from unknown (HELO mail.logilune.com) (195.154.174.52) by daedalus.apache.org with SMTP; 10 Dec 2003 22:16:38 -0000 Received: from stason.org (localhost.logilune.com [127.0.0.1]) by mail.logilune.com (Postfix) with ESMTP id 33DF07A693; Wed, 10 Dec 2003 23:16:42 +0100 (CET) Message-ID: <3FD79CD4.2000204@stason.org> Date: Wed, 10 Dec 2003 14:23:16 -0800 From: Stas Bekman Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030630 X-Accept-Language: en-us, en, he, ru MIME-Version: 1.0 To: Randy Kobes Cc: "Edward J. Sabol" , apreq-dev@httpd.apache.org, Gerald Richter Subject: Re: libapreq2-2.02-dev build problems with Perl 5.6.1 References: <200312100245.hBA2jjOW024631@alderaan.gsfc.nasa.gov> <3FD7799B.7050000@stason.org> 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 X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Gerald, can you please fix ExtUtils-XSBuilder to play nice with CPAN? See the suggestions from Randy below. Thank you. Randy Kobes wrote: > On Wed, 10 Dec 2003, Stas Bekman wrote: > > >>Randy Kobes wrote: >> >>>On Tue, 9 Dec 2003, Edward J. Sabol wrote: >>> >>> >>>>Using Apache 2.0.48, mod_perl 1.99_11, Perl 5.6.1, Red Hat >>>>7.3, I encountered the following problems building >>>>libapreq2-2.02-dev: >>>> >>>>1. Well, first I had to manually install ExtUtils::XSBuilder 0.23. Why >>>> doesn't CPAN.pm see this module? It claims no such module exists >>>> and won't get/make/test/install it, but search.cpan.org >>>> can find it easily enough. >>>> Anyway, this was more of an inconvience than a problem, but I >>>> thought I'd mention it. >>> >>>ExtUtils/XSBuilder.pm doesn't get indexed by PAUSE as a >>>module (it doesn't have a package declaration, among other >>>things). From the CPAN.pm shell, try installing >>>ExtUtils::XSBuilder::WrapXS. >> >>So how about changing the code to require >>ExtUtils::XSBuilder::WrapXS? Where does $VERSION reside? in >>ExtUtils::XSBuilder? or ExtUtils::XSBuilder::WrapXS > > > It's an unusual situation - the version (currently at 0.23) > is defined in ExtUtils::XSBuilder, but the sole purpose of > ExtUtils/XSBuilder.pm is to define $VERSION = 0.23; it > consists of > ================================================= > > > $VERSION = 0.23 ; > ================================================= > Hence, PAUSE doesn't recognize it as a module. > Something like ExtUtils::XSBuilder::WrapXS could be > required instead, as PAUSE does recognize that as a module. > Another option is to use an XSBuilder.pm as > ================================================= > package ExtUtils::XSBuilder; > use strict; > use vars qw($VERSION); > $VERSION = 0.23; > > 1; > __END__ > > =head1 NAME > > ExtUtils::XSBuilder - Automatic XS glue code generation > > ================================================= > with other pod sections as desired - this I think will be > picked up by PAUSE, and also can then be continued to be > used to define the distribution version. It's also more > intuitive to install "ExtUtils::XSBuilder" within CPAN.pm to > install the ExtUtils-XSBuilder distribution. > -- __________________________________________________________________ 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