From owner-freebsd-perl@FreeBSD.ORG Fri Sep 20 19:52:01 2013 Return-Path: Delivered-To: perl@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 50CBE42F for ; Fri, 20 Sep 2013 19:52:01 +0000 (UTC) (envelope-from papowell@astart.com) Received: from astart2.astart.com (99-111-96-109.uvs.sndgca.sbcglobal.net [99.111.96.109]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1307F2DBD for ; Fri, 20 Sep 2013 19:52:00 +0000 (UTC) Received: from laptop_84.private (localhost [127.0.0.1]) by astart2.astart.com (8.14.4/8.14.4) with ESMTP id r8KJaqmX060776; Fri, 20 Sep 2013 12:36:52 -0700 (PDT) (envelope-from papowell@astart.com) Message-ID: <523CA410.5010309@astart.com> Date: Fri, 20 Sep 2013 12:37:52 -0700 From: Patrick Powell 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: perl@FreeBSD.org Subject: Fwd: Re: addPrefixes missing? References: <523B5A7D.9020607@astart.com> In-Reply-To: <523B5A7D.9020607@astart.com> X-Forwarded-Message-Id: <523B5A7D.9020607@astart.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "Mark Overmeer, Markov Solutions" , "papowell@astart.com" X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: papowell@astart.com List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Sep 2013 19:52:01 -0000 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: 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 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 CC: Mark Overmeer, Markov Solutions , 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