On Thu Jun 17 13:03:01 2010, AMBS wrote:
Show quoted text> Modules like Test-CheckManifest does not install because the first file
> in the tarball is under a subdirectory, making cpanminus to enter to
> that directory instead of the root directory.
Confirmed. The tar command and output is:
# tar tfz Test-CheckManifest-1.22.tar.gz
Test-CheckManifest-1.22/data/Test2.dat
Test-CheckManifest-1.22/lib/Test/CheckManifest.pm
...etc.
The first line causes cpanm to think the root directory is the data
directory. Perhaps cpanm descend into whatever path the first line
contains and stop when it finds a Makefile.PL or Build.PL file.
Or maybe simpler would be to sort the tar output by length and then take
the first line as the root.