Fwd: Re: addPrefixes missing?
Patrick Powell
papowell at astart.com
Fri Sep 20 19:52:01 UTC 2013
Thanks for the great job you guys are doing with Perl support on FreeBSD
Ports!
I am using the XML::Compile perl modules. The developer Mark
Overmeer, will be updating
to new versions in the near future.
Also, a dependency needs to be added:
On 09/19/13 08:57, Mark Overmeer wrote:
> * Patrick Powell (papowell at astart.com) [130919 15:09]:
>> Also, most folks are using CPAN for downloading. But no... I gotta
>> use the FreeBSD Ports stuff...
>>
>> #> example.pl
>> Can't locate object method "addPrefixes" via package
>> "XML::Compile::WSDL11" at
>> /usr/local/lib/perl5/site_perl/5.14/XML/Compile/WSDL11.pm line 44.
> addPrefixes was added in XML::Compile::Cache 0.995
>
>> XML::Compile::Cache 0.99.4
> This is a mistake of FreeBSD ports. The old version was 0.994, but
> they apparently translate this into 0.99.4 which is 0.099_004
-------- Original Message --------
From: - Thu Sep 19 13:18:47 2013
X-Account-Key: account1
X-UIDL: 4feb2842000292f7
X-Mozilla-Status: 0011
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:
Return-Path: <papowell at astart.com>
Received: from laptop_84.private (localhost [127.0.0.1]) by
astart2.astart.com (8.14.4/8.14.4) with ESMTP id r8JKAgQV055635; Thu, 19
Sep 2013 13:10:43 -0700 (PDT) (envelope-from papowell at astart.com)
Message-ID: <523B5A7D.9020607 at astart.com>
Date: Thu, 19 Sep 2013 13:11:41 -0700
From: Patrick Powell <papowell at astart.com>
Reply-To: papowell at astart.com
Organization: Astart Technologies
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130714
Thunderbird/17.0.7
MIME-Version: 1.0
To: XML-Compile <xml-compile at lists.scsys.co.uk>
CC: Mark Overmeer, Markov Solutions <Mark at Overmeer.net>,
papowell at astart.com <papowell at astart.com>
Subject: Re: addPrefixes missing?
References: <523B13A6.60304 at astart.com>
<20130919155726.GC21185 at moon.overmeer.net>
In-Reply-To: <20130919155726.GC21185 at moon.overmeer.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Status:
ARGH!!! Right you are. However, I just went in and hand modified the
Makefile:
test84: {179} # diff -c Makefile*
*** Makefile Thu Sep 19 08:52:02 2013
--- Makefile.orig Thu Sep 19 12:15:31 2013
***************
*** 2,8 ****
# $FreeBSD: textproc/p5-XML-Compile-Cache/Makefile 324174 2013-08-02
18:52:07Z mat $
PORTNAME= XML-Compile-Cache
! PORTVERSION= 0.99.5
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
--- 2,8 ----
# $FreeBSD: textproc/p5-XML-Compile-Cache/Makefile 324174 2013-08-02
18:52:07Z mat $
PORTNAME= XML-Compile-Cache
! PORTVERSION= 0.99.4
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
I then did: make clean makesum deinstall reinstall
And Lo! It downloaded XML-Comple-Cache-0.995
However, when I set the version to:
PORTVERSION= 0.995
I got:
===> License ART10 GPLv1 accepted by the user
=> XML-Compile-Cache-0995.tar.gz doesn't seem to exist in
/usr/ports/distfiles/.
=> Attempting to fetch
ftp://ftp.cpan.org/pub/CPAN/modules/by-module/XML/XML-Compile-Cache-0995.tar.gz
fetch:
ftp://ftp.cpan.org/pub/CPAN/modules/by-module/XML/XML-Compile-Cache-0995.tar.gz:
File unavailable (e.g., file not found, no access)
=> Attempting to fetch
http://www.cpan.dk/modules/by-module/XML/XML-Compile-Cache-0995.tar.gz
fetch:
http://www.cpan.dk/modules/by-module/XML/XML-Compile-Cache-0995.tar.gz:
Not Found
=> Attempting to fetch
ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/XML/XML-Compile-Cache-0995.tar.gz
Apparently the FreeBSD port maintainers do not like 3 digit
version/subversion numbers.
The Makefile has the line:
DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
This causes the distribution to be XML-Compile-Cache-0.995
I suspect that this is a DuckTape solution... It works, but it sure is
ugly...
On 09/19/13 08:57, Mark Overmeer wrote:
> * Patrick Powell (papowell at astart.com) [130919 15:09]:
>> Also, most folks are using CPAN for downloading. But no... I gotta
>> use the FreeBSD Ports stuff...
>>
>> #> example.pl
>> Can't locate object method "addPrefixes" via package
>> "XML::Compile::WSDL11" at
>> /usr/local/lib/perl5/site_perl/5.14/XML/Compile/WSDL11.pm line 44.
> addPrefixes was added in XML::Compile::Cache 0.995
>
>> XML::Compile::Cache 0.99.4
> This is a mistake of FreeBSD ports. The old version was 0.994, but
> they apparently translate this into 0.99.4 which is 0.099_004
More information about the freebsd-perl
mailing list