Subject: | Failure to build |
Hi,
I'm trying to install JavaScript::Packer 0.0401 on Perl 5.10.0 using
cpan v1.9402. First sign of trouble is that CPAN can't find a
Makefile.PL (see JSPacker.log attached).
Looking at the unpacked distro, it looks like the structure is askew,
that the tarball was created a directory above where it should be, and
the embedded distribution PaxHeader has a corrupt Makefile.PL (see
JSPacker.ls-RF.log attached).
I'm sure I've installed an earlier version without a hitch, so I expect
its just a problem with the way this version was packaged.
I hope this helps,
Andrew Kirkpatrick
Subject: | JSPacker.ls-RF.log |
cpan[3]> look JavaScript::Packer
Running look for module 'JavaScript::Packer'
Trying to open a subshell in the build directory...
Working directory is /home/a1155544/.cpan/build/NEVESENIN-4dBPf8
a1155544@arty:~/.cpan/build/NEVESENIN-4dBPf8$ ls -RF
.:
JavaScript-Packer-0.0401/ Makefile.PL PaxHeader/
./JavaScript-Packer-0.0401:
Changes lib/ Makefile.PL MANIFEST META.yml PaxHeader/ README t/
./JavaScript-Packer-0.0401/lib:
JavaScript/ PaxHeader/
./JavaScript-Packer-0.0401/lib/JavaScript:
Packer.pm PaxHeader/
./JavaScript-Packer-0.0401/lib/JavaScript/PaxHeader:
Packer.pm
./JavaScript-Packer-0.0401/lib/PaxHeader:
JavaScript*
./JavaScript-Packer-0.0401/PaxHeader:
Changes lib* Makefile.PL MANIFEST META.yml README t*
./JavaScript-Packer-0.0401/t:
00-load.t 01-io.t PaxHeader/ pod.t scripts/
./JavaScript-Packer-0.0401/t/PaxHeader:
00-load.t 01-io.t pod.t scripts*
./JavaScript-Packer-0.0401/t/scripts:
PaxHeader/ s1-expected.js s1.js s2-expected.js s2.js s3-expected.js s3.js s4-expected.js s4.js s5-expected.js s5.js
./JavaScript-Packer-0.0401/t/scripts/PaxHeader:
s1-expected.js s1.js s2-expected.js s2.js s3-expected.js s3.js s4-expected.js s4.js s5-expected.js s5.js
./PaxHeader:
JavaScript-Packer-0.0401*
Subject: | JSPacker.log |
Package seems to come without Makefile.PL.
(The test -f "/home/a1155544/.cpan/build/NEVESENIN-4dBPf8/Makefile.PL" returned false.)
Writing one on our own (setting NAME to JavaScriptPacker)
CPAN.pm: Going to build N/NE/NEVESENIN/JavaScript-Packer-0.0401.tar.gz
Checking if your kit is complete...
Looks good
Bareword found where operator expected at ./Makefile.PL line 1, near "18 gid"
(Missing operator before gid?)
Number found where operator expected at ./Makefile.PL line 2, near "32"
(Missing semicolon on previous line?)
Bareword found where operator expected at ./Makefile.PL line 2, near "32 gname"
(Missing operator before gname?)
Backslash found where operator expected at ./Makefile.PL line 2, near "XING\"
ERROR from evaluation of /home/a1155544/.cpan/build/NEVESENIN-4dBPf8/JavaScript-Packer-0.0401/Makefile.PL: ERROR from evaluation of /home/a1155544/.cpan/build/NEVESENIN-4dBPf8/JavaScript-Packer-0.0401/PaxHeader/Makefile.PL: Unrecognized character \xC3 in column 18 at ./Makefile.PL line 2.
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
NEVESENIN/JavaScript-Packer-0.0401.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Failed during this command:
NEVESENIN/JavaScript-Packer-0.0401.tar.gz : writemakefile NO '/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 2304