On 7/3/2010 1:54 PM, David Mertens wrote: > Regarding a fresh CPAN install - I've never had it work. What's more, > it's not a PDL problem - it's a problem with the Inline dependency. > Something happens when Parse::RecDescent gets installed. The weird > things is that if you explicitly install Parse::RecDescent first, I > think everything works fine, but if you let CPAN install it as one of > Inline's dependencies (actually Inline::C), something gets hung up. > > The upshot is that if you are installing from CPAN, you have to install > P::RecDescent first, then possibly also Inline. Then you should be able > to install PDL. (You also need to be sure you have your GL dependencies > in order.) Perhaps most frustratingly, if you try to install > P::RecDescent after a failed PDL install (because of the circular > dependency stupidities), then it will complain that it's already > unwrapped but something went wrong. In that case you have to install it > by hand. > > It's a problem easily solved by some persistence and stubbornness, but > at some point we should probably bug the authors of our dependencies too > get this ironed out. > > David
Interesting. It has been a while since I have tried a complete install PDL from a clean perl (and I was the one going on about how important it was to do when I first started developing with PDL :-). As part of the release/build test process on all platforms should be a complete vanilla install. Of course, the problem is that means you have to have an empty system available to try it out on. I keep meaning to set up a virtual machine for this check but haven't gotten around to it. --Chris > On Sat, Jul 3, 2010 at 12:33 PM, Chris Marshall <[email protected] > <mailto:[email protected]>> wrote: > > Some approaches for getting PDL on a Mac OS X are: > > (1) use the SciKarl PDL distribution from > http://sourceforge.net/projects/pdl/files/ > > (2) use the CPAN shell to install PDL which > should be as simple as starting the cpan > shell and typing 'install PDL'. > > (3) a manual download, build, test, and install > > If approach #1 is not sufficient for your > needs and #2 fails for some reason, then a > manual install of PDL and its dependencies > is the best way to find, report, and solve > problems. I'll defer to Mac OS X users > for details here. Eventually, with enough > feedback and problem reports, it should > become just 'install PDL' under the cpan > shell or something even simpler. > > Good luck, > Chris > > On 7/3/2010 10:01 AM, Barry Hall wrote: > > Trying to install PDL using CPAN -- newbie not sure where to > start here. > > I've just accepted whatever else CPAN wanted to install. > > Need someone to point me in the right direction. > > Used to using PPM on windows based machine. > > Never had this number of errors trying install any package. > > Don't know where to start. > > > > > > > > cpan> install PDL > > > > > > I get a lot of these: > > > > -- NOT OK > > Running make test > > Can't test without successful make > > Running make install > > make had returned bad status, install seems impossible > > > > > > probable cause? > > > > Also had a couple of these: > > > > > > Can't locate ExtUtils/F77.pm in @INC (@INC contains: > /Library/Perl/Updates/5.8.8 > > /System/Library/Perl/5.8.8/darwin-thread-multi-2level > /System/Library/Perl/5.8.8 > > /Library/Perl/5.8.8/darwin-thread-multi-2level > /Library/Perl/5.8.8 /Library/Perl > > /Network/Library/Perl/5.8.8/darwin-thread-multi-2level > > /Network/Library/Perl/5.8.8 /Network/Library/Perl > > /System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level > > /System/Library/Perl/Extras/5.8.8 /Library/Perl/5.8.6 > /Library/Perl/5.8.1 > > /Users/barryhall/.cpan/build/PDL-2.4.6 > > /Users/barryhall/.cpan/build/PDL-2.4.6/Lib .) at (eval 269) line 2. > > BEGIN failed--compilation aborted at (eval 269) line 2. > > > > ExtUtils::F77 module not found. Ought not build PDL::Slatec > > > > > > > > _______________________________________________ > > Perldl mailing list > > [email protected] <mailto:[email protected]> > > http://mailman.jach.hawaii.edu/mailman/listinfo/perldl > > > > > > > > > > No virus found in this incoming message. > > Checked by AVG - www.avg.com <http://www.avg.com> > > Version: 9.0.830 / Virus Database: 271.1.1/2978 - Release Date: > 07/02/10 14:35:00 > > > > > _______________________________________________ > Perldl mailing list > [email protected] <mailto:[email protected]> > http://mailman.jach.hawaii.edu/mailman/listinfo/perldl > > > > > -- > Sent via my carrier pigeon. > > > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 9.0.830 / Virus Database: 271.1.1/2979 - Release Date: 07/03/10 > 02:35:00 > _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
