Thread: [Module::Build] ANNOUNCE: 0.21_01
Status: Beta
Brought to you by:
kwilliams
|
From: Ken W. <ke...@ma...> - 2003-12-17 14:25:39
|
http://sourceforge.net/project/ showfiles.php?group_id=45731&release_id=204435 or eventually: http://search.cpan.org/~kwilliams/Module-Build-0.21_01/ 0.21_01 Wed Dec 17 07:51:49 CST 2003 (A snapshot just because it's been so long since anything has been released) - Fixed a have_c_compiler() failure on some platforms, we now define a boot_compilet() function (since we're compiling a library, not an executable). [Randy Sims] - Added a recipe to the Module::Build::Cookbook describing how to maintain compatibility with older versions of CPAN.pm [Jim Cromie] - Removed caveat about "looking for alternatives" in how hashes are specified on the command line, since an alternative has been found. - Previously most warnings about optional prerequisites looked like they were actually error messages about required prerequisites. This has been corrected. [Reported again by Sagar Shah] - Added support for building XS (and C in general) stuff on AIX. This was done by a small reorganization of prelink_c() method from Windows.pm to Build.pm, and it is only invoked for the platforms that need it invoked. AIX also massages some very naughty bits in $Config{lddlflags} that should never have been put there, but alas, they're there. - Added OS/2 ($^O = 'os2') to the list of Unix-like platforms. This basically means that most platform-specific operations will be done in a Unix-like manner. - Pass-through Makefiles will now die() when they're given a PREFIX parameter, and suggest using 'destdir' or 'install_base' instead. Previously they just ignored the parameter and tried to install to the default location, which is clearly not what the user wanted. - Updated my email address in the documentation to a more recent variant. - On some platforms it's common to have a $Config{make} defined, but no 'make' utility available. We now detect this and skip some 'make' compatibility tests. [Randy Sims] - Add NetBSD to the list of Unix-like systems. [Adrian Bunk] - Add SVR5 to the list of Unix-like systems. [Rafael Garcia-Suarez] - Fixed a spurious testing failure on non-Unix platforms that happened because we accidentally call localize_file_path() on empty strings in the test suite. [Spotted by Randy Sims on Windows] - Fixed a problem with creating the distribution tarball in which permissions would usually be all read-only. We now use our own file-copying routines rather than those in ExtUtils::Manifest, because those do some annoying extra permissions-setting stuff for no apparent reason. It makes me happy that this was a very very easy patch to make. [Reported by Thomas Klausner] - The compile_c() method now includes $Config{cccdlflags} in its command invocation. It's usually empty, but not always, so we didn't notice for a while. [Richard Clamp] - The have_c_compiler() now also tests whether the linker seems to work too. - On Unixish platforms, the syntax "FOO=BAR /bin/baz arg arg" now works when present in $Config{ld}. This solves a problem on Mac OS X 10.3. [Reported by Adam Foxson] - We now use Pod::Parser to find the ABSTRACT and AUTHOR when it's available on the system. [initial patch by Randy Sims] - Fixed a little scalar/list buglet in a documentation example. |
|
From: Randy W. S. <Ra...@Th...> - 2003-12-18 01:49:13
|
On 12/17/2003 9:25 AM, Ken Williams wrote: > (A snapshot just because it's been so long since anything has been > released) oops, Version <none> of what? $ perl Build.PL Checking whether your kit is complete... Looks good * Version <none> is installed, but we prefer to have 0.35 * Version <none> is installed, but we prefer to have 2.02 ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation. Everything else looks good on Windows and Cygwin. I still haven't found time to look into CBuilder yet with the chaotic Christmas season going on. Hopefully, I'll have a chance by this weekend to atleast get it working on Windows. Regards, Randy. |
|
From: drieux <dr...@we...> - 2003-12-18 02:47:23
|
On Dec 17, 2003, at 6:25 AM, Ken Williams wrote: > http://sourceforge.net/project/showfiles.php? > group_id=45731&release_id=204435 > > or eventually: > > http://search.cpan.org/~kwilliams/Module-Build-0.21_01/ > [..] I too ran into the <none> [jeeves: 7:] perl Bu*.PL Checking whether your kit is complete... Looks good * Version <none> is installed, but we prefer to have 2.02 * Version <none> is installed, but we prefer to have 1.00 * Version <none> is installed, but we prefer to have 0.35 ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation. Deleting Build Removed previous script 'Build' Creating new 'Build' script for 'Module-Build' version '0.21_01' [jeeves: 8:] perl Bu*.PL Checking whether your kit is complete... Looks good * Optional prerequisite Archive::Tar isn't installed * Optional prerequisite ExtUtils::ParseXS isn't installed * Optional prerequisite YAML isn't installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation. Deleting Build Removed previous script 'Build' Creating new 'Build' script for 'Module-Build' version '0.21_01' [jeeves: 9:] I got that 'fixed' by editing the Build.pm [jeeves: 32:] diff -c Base.pm Base.pm.ORIG *** Base.pm Wed Dec 17 18:43:56 2003 --- Base.pm.ORIG Wed Dec 17 18:32:30 2003 *************** *** 627,634 **** } else { my $file = $self->find_module_by_name($modname, \@INC); unless ($file) { ! @status{ qw(have message) } = ('', "Prerequisite $modname isn't installed"); ! #@status{ qw(have message) } = ('<none>', "Prerequisite $modname isn't installed"); return \%status; } --- 627,633 ---- } else { my $file = $self->find_module_by_name($modname, \@INC); unless ($file) { ! @status{ qw(have message) } = ('<none>', "Prerequisite $modname isn't installed"); return \%status; } [jeeves: 33:] seemed like the cleanest fix. I am running this on OSX 10.3.1 with the default perl v5.8.1-RC3 built for darwin-thread-multi-2level ciao drieux |
|
From: Ken W. <ke...@ma...> - 2003-12-18 13:58:16
|
Thanks - this is now fixed in CVS. -Ken On Wednesday, December 17, 2003, at 08:47 PM, drieux wrote: > > On Dec 17, 2003, at 6:25 AM, Ken Williams wrote: > >> http://sourceforge.net/project/ >> showfiles.php?group_id=45731&release_id=204435 >> >> or eventually: >> >> http://search.cpan.org/~kwilliams/Module-Build-0.21_01/ >> > [..] > > I too ran into the <none> > > [jeeves: 7:] perl Bu*.PL > Checking whether your kit is complete... > Looks good > * Version <none> is installed, but we prefer to have 2.02 > * Version <none> is installed, but we prefer to have 1.00 > * Version <none> is installed, but we prefer to have 0.35 > ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the > versions > of the modules indicated above before proceeding with this > installation. > > Deleting Build > Removed previous script 'Build' > Creating new 'Build' script for 'Module-Build' version '0.21_01' > [jeeves: 8:] perl Bu*.PL > Checking whether your kit is complete... > Looks good > * Optional prerequisite Archive::Tar isn't installed > * Optional prerequisite ExtUtils::ParseXS isn't installed > * Optional prerequisite YAML isn't installed > ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the > versions > of the modules indicated above before proceeding with this > installation. > > Deleting Build > Removed previous script 'Build' > Creating new 'Build' script for 'Module-Build' version '0.21_01' > [jeeves: 9:] > > I got that 'fixed' by editing the Build.pm > > [jeeves: 32:] diff -c Base.pm Base.pm.ORIG > *** Base.pm Wed Dec 17 18:43:56 2003 > --- Base.pm.ORIG Wed Dec 17 18:32:30 2003 > *************** > *** 627,634 **** > } else { > my $file = $self->find_module_by_name($modname, \@INC); > unless ($file) { > ! @status{ qw(have message) } = ('', "Prerequisite $modname > isn't installed"); > ! #@status{ qw(have message) } = ('<none>', "Prerequisite > $modname isn't installed"); > return \%status; > } > > --- 627,633 ---- > } else { > my $file = $self->find_module_by_name($modname, \@INC); > unless ($file) { > ! @status{ qw(have message) } = ('<none>', "Prerequisite > $modname isn't installed"); > return \%status; > } > > [jeeves: 33:] > > seemed like the cleanest fix. > > I am running this on OSX 10.3.1 > with the default perl v5.8.1-RC3 built for darwin-thread-multi-2level |