Skip Menu |

This queue is for tickets about the Business-Shipping CPAN distribution.

Report information
The Basics
Id: 36144
Status: resolved
Priority: 0/
Queue: Business-Shipping

People
Owner: db [...] kavod.com
Requestors: sprout [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: 3.0.0



Subject: Installation problems
Date: Fri, 23 May 2008 13:31:48 -0700
To: bug-business-shipping [...] rt.cpan.org
From: Father Chrysostomos <sprout [...] cpan.org>
Hello. I have just come across your modules. I think this will save me a lot of time. Thank you for your work. However... B:S:DataFiles won’t install easily on Mac OS X, because cp on this system does not support long options. The attached patch fixes that. Then I’m also having a problem with Business::Shipping’s test suite, specifically t/61_Log4perl.t. It dies with the error: Global symbol "$INFO" requires explicit package name at t/ 61_Log4perl.t line 16. Execution of t/61_Log4perl.t aborted due to compilation errors. I am still looking into this. Father Chrysostomos
From: sprout [...] cpan.org
On Fri May 23 16:32:07 2008, sprout@cpan.org wrote: Show quoted text
> Hello. > > I have just come across your modules. I think this will save me a lot > of time. Thank you for your work. However... > > B:S:DataFiles won’t install easily on Mac OS X, because cp on this > system does not support long options. The attached patch fixes that. >
Oops. I forgot the patch (as usual). Here it is.
diff -rup Business-Shipping-DataFiles-1.02/Makefile.PL Business-Shipping-DataFiles-1.02 copy/Makefile.PL --- Business-Shipping-DataFiles-1.02/Makefile.PL 2005-08-02 17:18:13.000000000 -0700 +++ Business-Shipping-DataFiles-1.02 copy/Makefile.PL 2008-05-23 13:09:20.000000000 -0700 @@ -44,8 +44,8 @@ docs : support_files_install : \@echo "Installing data files to $my_globals{DATA_DIR}" \@\$(MKPATH) $my_globals{DATA_DIR} - \@\$(CP) --recursive --force data/* $my_globals{DATA_DIR}/ -}; #/qq + \@\$(CP) -Rf data/* $my_globals{DATA_DIR}/ +}; #/qq # Mac OS X's cp doesn't support long options } sub extra_WriteMakefile_options {
Subject: Re: [rt.cpan.org #36144] Installation problems
Date: Fri, 23 May 2008 22:31:57 -0700
To: bug-Business-Shipping [...] rt.cpan.org
From: Father Chrysostomos <sprout [...] cpan.org>
On May 23, 2008, at 1:32 PM, Bugs in Business-Shipping via RT wrote: Show quoted text
> Then I’m also having a problem with Business::Shipping’s test suite, > specifically t/61_Log4perl.t. It dies with the error: > > Global symbol "$INFO" requires explicit package name at t/ > 61_Log4perl.t line 16. > Execution of t/61_Log4perl.t aborted due to compilation errors. > > I am still looking into this.
This turns out to be a bug in Log::Log4perl that has been around since version 1.04. I’ve submitted a report.
On Fri May 23 16:32:07 2008, sprout@cpan.org wrote: Show quoted text
> B:S:DataFiles won’t install easily on Mac OS X, because cp on this > system does not support long options.
This problem affects Business::Shipping itself as well. Patch attached.
Only in Business-Shipping-2.03 copy/: .DS_Store diff -rup Business-Shipping-2.03/Makefile.PL Business-Shipping-2.03 copy/Makefile.PL --- Business-Shipping-2.03/Makefile.PL 2005-08-14 09:33:12.000000000 -0700 +++ Business-Shipping-2.03 copy/Makefile.PL 2008-05-24 13:43:26.000000000 -0700 @@ -95,8 +95,8 @@ support_files_install : \@echo "Installing configuration files to $my_globals{CONFIG_DIR}" \@\$(MKPATH) $my_globals{LOG_DIR} \@\$(MKPATH) $my_globals{CONFIG_DIR} - \@\$(CP) --recursive --force config/* $my_globals{CONFIG_DIR}/ -}; #/qq + \@\$(CP) -Rf config/* $my_globals{CONFIG_DIR}/ +}; #/qq # Mac OS X’s cp doesn’t support long options } sub extra_WriteMakefile_options {
Thanks for the patch! It will certainly go in the next release.