Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2013 12:37:52 -0700
From:      Patrick Powell <papowell@astart.com>
To:        perl@FreeBSD.org
Cc:        "Mark Overmeer, Markov Solutions" <Mark@Overmeer.net>, "papowell@astart.com" <papowell@astart.com>
Subject:   Fwd: Re: addPrefixes missing?
Message-ID:  <523CA410.5010309@astart.com>
In-Reply-To: <523B5A7D.9020607@astart.com>
References:  <523B5A7D.9020607@astart.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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@astart.com)
Message-ID: 	<523B5A7D.9020607@astart.com>
Date: 	Thu, 19 Sep 2013 13:11:41 -0700
From: 	Patrick Powell <papowell@astart.com>
Reply-To: 	papowell@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@lists.scsys.co.uk>
CC: 	Mark Overmeer, Markov Solutions <Mark@Overmeer.net>, 
papowell@astart.com <papowell@astart.com>
Subject: 	Re: addPrefixes missing?
References: 	<523B13A6.60304@astart.com> 
<20130919155726.GC21185@moon.overmeer.net>
In-Reply-To: 	<20130919155726.GC21185@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@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







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?523CA410.5010309>