Skip Menu |
 

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 47166
Status: resolved
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: ken [...] pumastudios.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.33
Fixed in: 0.33_03



Subject: Module::Build Install failure
I'm attempting to install Module::Build to a non-standard CPAN location and have a location for installsitelib set in my CPAN configuration. When Module::Build install runs the following output is produced: CPAN.pm: Going to build E/EW/EWILHELM/Module-Build-0.33.tar.gz # Converted to config HASH(0x22b20) # running Build.PL --install_base /some/path/lib/CPAN --config installsitelib=/some/path/lib/CPAN/lib --config installprivlib=/some/path/lib/CPAN/lib --config installarchlib=/some/path/lib/CPAN/lib/sun4-solaris-64int --config installsitearch=/some/path/lib/CPAN/lib/sun4-solaris-64int --config installprivlib=/some/path/lib/CPAN/lib --config installarchlib=/some/path/lib/CPAN/lib/arch --config installsitearch=/some/path/lib/CPAN/lib/arch --config HASH(0x22b20) --config installscript=/some/path/lib/CPAN/bin --config installbin=/some/path/lib/CPAN/bin --config installsitebin=/some/path/lib/CPAN/bin --config installman1dir=/some/path/lib/CPAN/man/man1 --config installsiteman1dir=/some/path/lib/CPAN/man/man1 --config installman3dir=/some/path/lib/CPAN/man/man3 --config installsiteman3dir=/some/path/lib/CPAN/man/man3 /usr/bin/perl Build.PL --install_base /some/path/lib/CPAN --config installsitelib=/some/path/lib/CPAN/lib --config installprivlib=/some/path/lib/CPAN/lib --config installarchlib=/some/path/lib/CPAN/lib/sun4-solaris-64int --config installsitearch=/some/path/lib/CPAN/lib/sun4-solaris-64int --config installprivlib=/some/path/lib/CPAN/lib --config installarchlib=/some/path/lib/CPAN/lib/arch --config installsitearch=/some/path/lib/CPAN/lib/arch --config HASH(0x22b20) --config installscript=/some/path/lib/CPAN/bin --config installbin=/some/path/lib/CPAN/bin --config installsitebin=/some/path/lib/CPAN/bin --config installman1dir=/some/path/lib/CPAN/man/man1 --config installsiteman1dir=/some/path/lib/CPAN/man/man1 --config installman3dir=/some/path/lib/CPAN/man/man3 --config installsiteman3dir=/some/path/lib/CPAN/man/man3 Malformed 'config' argument: 'HASH(0x22b20)' should be something like 'foo=bar' at lib/Module/Build/Base.pm line 1770.
From: Ken
Download (untitled) / with headers
text/plain 603b
Looks like report truncated some of my additional input $ uname -a SunOS auspen-web 5.10 Generic_137137-09 sun4u sparc SUNW,Sun-Fire-V210 $ perl -v This is perl, v5.8.4 built for sun4-solaris-64int (with 31 registered patches, see perl -V for more detail) The following change allows the install to move forward (but I am seeing a couple test failures) diff Module-Build-0.33-new/lib/Module/Build/Compat.pm Module-Build-0.33-orig/lib/Module/Build/Compat.pm 43c43 < my @ret = (config => lc $name . "=" . shift ); --- Show quoted text
> my @ret = (config => { lc $name => shift });
Download (untitled) / with headers
text/plain 319b
This is a duplicate of #43827 and has already been fixed in the repository. If you install Module::Build using the Build.PL instead of the Makefile.PL, it should work fine. I'm marking this "normal" rather than "critical" but will leave open so it's visible to others until 0.33_03 is released with the fix. -- David
Closing now that 0.34 is out


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.