Closed p5pRT closed 21 years ago
I am trying to install packages on NT 4.0 SP5\, using PDK 1.2.4 and ActivePerl521. The symptom looks as if perl wod try to open $PACKETNAME/.packlist/. as a file! here is the output from ppm:
PPM> install Image-Size Image-Magick Install package 'Image-Size?' (y/N): y Retrieving package 'Image-Size'... Installing \\DIBBE\Perl\html\lib\Image\Size.html Installing C:\Perl\lib\auto\Image\Size\autosplit.ix Installing C:\Perl\lib\auto\Image\Size\gifsize.al Installing C:\Perl\lib\auto\Image\Size\jpegsize.al Installing C:\Perl\lib\auto\Image\Size\pngsize.al Installing C:\Perl\lib\auto\Image\Size\ppmsize.al Installing C:\Perl\lib\auto\Image\Size\tiffsize.al Installing C:\Perl\lib\auto\Image\Size\xbmsize.al Installing C:\Perl\lib\auto\Image\Size\xpmsize.al Installing C:\Perl\lib\Image\Size.pm Installing C:\Perl\bin\imgsize Installing C:\Perl\bin\imgsize.bat Writing C:\Perl\lib\auto\Image\Size\.packlist\. Error installing package 'Image-Size': Can't open file C:\Perl\lib\auto\Image\Si ze\.packlist\.: Permission denied at C:/Perl/lib/ExtUtils/Install.pm line 144
Install package 'Image-Magick?' (y/N): y Retrieving package 'Image-Magick'... Installing C:\Perl\site\lib\auto\Image\Magick\Magick.bs Installing C:\Perl\site\lib\auto\Image\Magick\Magick.dll Installing C:\Perl\site\lib\auto\Image\Magick\Magick.exp Installing C:\Perl\site\lib\auto\Image\Magick\Magick.lib Installing C:\Perl\bin\FPXLIB.DLL Installing C:\Perl\bin\IMagick.dll Installing C:\Perl\bin\JPEGLIB.DLL Installing C:\Perl\bin\X11.dll Installing C:\Perl\bin\Xext.dll Installing \\DIBBE\Perl\html\lib\site\Image\Magick.html Installing C:\Perl\lib\auto\Image\Magick\autosplit.ix Installing C:\Perl\lib\Image\Magick.pm Writing C:\Perl\lib\auto\Image\Magick\.packlist\. Error installing package 'Image-Magick': Can't open file C:\Perl\lib\auto\Image\Magick\.packlist\.: Permission denied at C:/Perl/lib/ExtUtils/Install.pm line 144
PPM> quit
it's not as bad as it looks\, cause on my linux box everything works fine!-) Only thing to worry: I did pay some bux for the activestate version while linux is free and betterX!-(
On Sun\, 7 Nov 1999 23:28:11 +0100\, heitz@heitz.de wrote:
This is a bug report for perl from onestone@excite.com\, generated with the help of perlbug 1.26 running under perl 5.00503.
Please don't send ActivePerl related bug reports to perl5-porters! The Readme (under "Getting Started" in the online documentation) contains a link to the ActivePerl bug database:
http://bugs.activestate.com/ap.bugs
You can also submit bug reports via email to
mailto:ap.bugs@activestate.com
Thanks!
----------------------------------------------------------------- [Please enter your report here] I am trying to install packages on NT 4.0 SP5\, using PDK 1.2.4 and ActivePerl521. The symptom looks as if perl wod try to open $PACKETNAME/.packlist/. as a file! here is the output from ppm:
[...]
Writing C:\Perl\lib\auto\Image\Size\.packlist\. Error installing package 'Image-Size': Can't open file C:\Perl\lib\auto\Image\Si ze\.packlist\.: Permission denied at C:/Perl/lib/ExtUtils/Install.pm line 144
It does indeed look as if '\\.' somehow got appended to the .packlist filename. It doesn't happen for me (with ActivePerl 522). I just reinstalled 521 to check if that one contained a botched PPM.pm\, but it also worked fine. I've looked at the source (/perl/site/lib/PPM.pm) and the relevant lines would be:
| my $packlist = MM->catdir("$Config{installsitearch}/auto"\, split(/-/\, $current_package{'NAME'})\, ".packlist"); ... | if ($root ne $inst_root) { | if ($packlist =~ /\\lib\\(.*)/) { | $packlist = "$root\\lib\\$1"; | } ... | ExtUtils::Install::install({ | "read" => $packlist\, "write" => $packlist\,
I don't see how the suffix can get appended (yes\, I also looked at /perl/lib/ExtUtils/Install.pm). But then again\, the error doesn't happen on my system. Did you modify any of the files mentioned above?
The one thing I cannot test here at home is the network installer of the PDK (I cannot create share names here). Does the error also happen on a machine that doesn't have the PDK network installer installed?
Anyways\, the modules seemed to get installed ok; only the .packlist didn't get written. This makes it impossible to uninstall the packages via PPM but the modules should be normally useable.
PPM> quit
it's not as bad as it looks\, cause on my linux box everything works fine!-) Only thing to worry: I did pay some bux for the activestate version while linux is free and betterX!-(
Well\, you can always download the ActiveState version for free from the web. I assume you only paid for the PDK\, but then your Linux version didn't include that one for free either.
-Jan
Migrated from rt.perl.org#1753 (status was 'resolved')
Searchable as RT1753$