Subject: | [ cygwin ] Error installing module because of manpages names |
Date: | Wed, 10 Jun 2009 21:40:37 +0200 |
To: | bug-Test-Data [...] rt.cpan.org |
From: | david sastre <d.sastre.medina [...] gmail.com> |
Hello there!
I'm reporting a problem I found while installing a module under Cygwin.
I tried to install the module Test::Data via CPAN with no success.
The error points to the manifypods section of the Makefile.
Downloaded the source and compared with other packages.
It fails bacause of the names (i.e. Test::Data::Array.3)
I changed the name to Test.Data.Array.3 and it worked.
Don't know if this is something I should be reporting in a cygwin
mailing list, though...
Any other info I should provide? Please contact me.
Thanks a lot for Perl!
Some data:
(This box)
$ uname -a
CYGWIN_NT-5.1 sith 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin
(perl)
$ perl -V
Summary of my perl5 (revision 5 version 10 subversion 0 patch 34065)
configuration:
Platform:
osname=cygwin, osvers=1.5.25(0.15642), archname=cygwin-thread-multi-64int
uname='cygwin_nt-5.1 reini 1.5.25(0.15642) 2008-06-12 19:34 i686 cygwin '
config_args='-de -Dmksymlinks -Dusethreads -Dmad=y -Dusedevel'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=undef, uselongdouble=undef
usemymalloc=y, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__
-fno-strict-aliasing -pipe -I/usr/local/include',
optimize='-O3',
cppflags='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__
-fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='3.4.4 (cygming special, gdc 0.12, using
dmd 0.125)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8,
Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='g++', ldflags =' -Wl,--enable-auto-import
-Wl,--export-all-symbols -Wl,--stack,8388608
-Wl,--enable-auto-image-base -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib /lib
libs=-lgdbm -ldb -ldl -lcrypt -lgdbm_compat
perllibs=-ldl -lcrypt
libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' --shared -Wl,--enable-auto-import
-Wl,--export-all-symbols -Wl,--stack,8388608
-Wl,--enable-auto-image-base -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY MYMALLOC PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MAD PERL_MALLOC_WRAP
PERL_USE_SAFE_PUTENV USE_64_BIT_INT USE_ITHREADS
USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
Locally applied patches:
MAINT34065
CYG11 no-bs
CYG12 no archlib in otherlibdirs
CYG14 Dynaloader
CYG15 static-Win32CORE
Bug#55162 File::Spec::case_tolerant performance
Built under cygwin
Compiled at Jun 30 2008 16:05:15
%ENV:
CYGWIN=""
@INC:
/usr/lib/perl5/5.10/i686-cygwin
/usr/lib/perl5/5.10
/usr/lib/perl5/site_perl/5.10/i686-cygwin
/usr/lib/perl5/site_perl/5.10
/usr/lib/perl5/vendor_perl/5.10/i686-cygwin
/usr/lib/perl5/vendor_perl/5.10
/usr/lib/perl5/vendor_perl/5.10
/usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/vendor_perl/5.8
(The module itself)
Module id = Test::Data
DESCRIPTION Check data and variable properties and value
CPAN_USERID BDFOY (brian d foy <bdfoy@cpan.org>)
CPAN_VERSION 1.22
CPAN_FILE B/BD/BDFOY/Test-Data-1.22.tar.gz
UPLOAD_DATE 2009-02-12
DSLIP_STATUS adpfp (alpha,developer,perl,functions,Standard-Perl)
MANPAGE Test::Data -- test functions for particular variable types
INST_FILE /usr/lib/perl5/site_perl/5.10/Test/Data.pm
INST_VERSION 1.22
(CPAN error report)
http://ftp.u-strasbg.fr/CPAN/authors/id/B/BD/BDFOY/Test-Data-1.22.tar.gz
Checksum for /home/Administrador/.cpan/sources/authors/id/B/BD/BDFOY/Test-Data-1.22.tar.gz
ok
Test-Data-1.22/
Test-Data-1.22/Changes
Test-Data-1.22/examples/
Test-Data-1.22/examples/README
Test-Data-1.22/lib/
Test-Data-1.22/lib/Array.pm
Test-Data-1.22/lib/Data.pm
Test-Data-1.22/lib/Function.pm
Test-Data-1.22/lib/Hash.pm
Test-Data-1.22/lib/Scalar.pm
Test-Data-1.22/LICENSE
Test-Data-1.22/Makefile.PL
Test-Data-1.22/MANIFEST
Test-Data-1.22/META.yml
Test-Data-1.22/README
Test-Data-1.22/t/
Test-Data-1.22/t/array.t
Test-Data-1.22/t/function.t
Test-Data-1.22/t/hash.t
Test-Data-1.22/t/import.t
Test-Data-1.22/t/load.t
Test-Data-1.22/t/pod.t
Test-Data-1.22/t/pod_coverage.t
Test-Data-1.22/t/prereq.t
Test-Data-1.22/t/scalar.t
Test-Data-1.22/t/test_manifest
CPAN.pm: Going to build B/BD/BDFOY/Test-Data-1.22.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Test::Data
cp lib/Data.pm blib/lib/Test/Data.pm
cp lib/Array.pm blib/lib/Test/Data/Array.pm
cp lib/Scalar.pm blib/lib/Test/Data/Scalar.pm
cp lib/Hash.pm blib/lib/Test/Data/Hash.pm
cp lib/Function.pm blib/lib/Test/Data/Function.pm
Manifying blib/man3/Test::Data::Array.3
Can't write-open blib/man3/Test::Data::Array.3: No such file or
directory at /usr/lib/perl5/5.10/ExtUtils/Command/MM.pm line 141
make: *** [manifypods] Error 2
BDFOY/Test-Data-1.22.tar.gz
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
BDFOY/Test-Data-1.22.tar.gz : make NO
(diff output)
$ diff -u Makefile.original Makefile.modified
--- Makefile.original 2009-06-10 20:37:35.203125000 +0200
+++ Makefile.modified 2009-06-10 21:12:06.968750000 +0200
@@ -430,11 +430,11 @@
lib/Function.pm \
lib/Hash.pm
$(NOECHO) $(POD2MAN) --section=3 --perm_rw=$(PERM_RW) \
- lib/Array.pm $(INST_MAN3DIR)/Test::Data::Array.3 \
- lib/Data.pm $(INST_MAN3DIR)/Test::Data.3 \
- lib/Scalar.pm $(INST_MAN3DIR)/Test::Data::Scalar.3 \
- lib/Function.pm $(INST_MAN3DIR)/Test::Data::Function.3 \
- lib/Hash.pm $(INST_MAN3DIR)/Test::Data::Hash.3
+ lib/Array.pm $(INST_MAN3DIR)/Test.Data.Array.3 \
+ lib/Data.pm $(INST_MAN3DIR)/Test.Data.3 \
+ lib/Scalar.pm $(INST_MAN3DIR)/Test.Data.Scalar.3 \
+ lib/Function.pm $(INST_MAN3DIR)/Test.Data.Function.3 \
+ lib/Hash.pm $(INST_MAN3DIR)/Test.Data.Hash.3