Do you know where your variables are? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Update: In a fit, I decided to focus on something that I can try to zero in on. ppm install Image-Magick which netted me mkdir D:\: Permission denied; The device is not ready at C:/strawberry/perl/site/lib/PPM.pm line 333 I know I don't have a valid D:\ drive and I can find the offending PPM.pm file and line. Navigating there, I found the following at lines 332 and 333.
A quick debug showed $option{'BUILDER'} was set to an impossible directory on the D:\ drive. A quick search turned up $options{'BUILDDIR'} = $elem->{BUILDDIR}; near line 1766. Seeing as how it's 12:30AM and this is night #2 at this, I decided to just modify the variable right then and there. It's a kludge and probably won't hold up in production but a quick match to see if the drive letter exists and a Q&D substitution got me going. Whooohooo! Image::Magick installed without a hitch. I'll leave this comment here for archival purposes. I tried a lot of solutions out there, but none actually suggested going in and seeing what PPM.pm was actually doing. Since I got Image::Magick installed and working with the above method, I did not bother going any further with resolving any of the other problems with cpan or the alternate alternate ppm install method. I get the same issue.
I could fall back to using the Linux box since it has a functioning Perl and Image::Magick install but I really don't want to dig through my closet to figure out where it is and attach a monitor/keyboard/USB drive to it. I'm tired of banging my head on this. What is it that I'm missing? How can I capture the output from cpan for analyzing? (tried piping but I get only partial output, not enough to analyze). In reply to Re^2: Strawberry and CPAN
by SavannahLion
|
|