Indeed, there was an old pdl somewhere that needed to be removed. It all works great now.
Thanks so much, I have used pdl for the past 6 years and was quite handicapped by not being able to run it on my new MacBook. You have enabled a faithful PDL user here in the Atacama Desert ! Cheers ! Antonio Matthew Kenworthy wrote: >> That did the trick. Both pgplot and PDL compiled nicely. In the perldl shell >> the 'demo pgplot' ran fine. However, when doing some simple piddle tests it >> failed with the following error: >> >> perldl> p $a=sequence(20) >> Undefined subroutine &PDL::_clump_int called at >> /Library/Perl/5.8.8/darwin-thread-multi-2level/PDL/Core.pm line 1007. >> > > I think you may be running an old copy of pdl somewhere, because it's > complaining about something in /Library/Perl/5.8.8, and if you > followed my instructions, we built 5.8.9. > > If I run the freshly compiled perldl shell with: > > ~/myperl/bin/perldl > > I get: > > (~/myperl)$ ./bin/perldl > perlDL shell v1.35 > PDL comes with ABSOLUTELY NO WARRANTY. For details, see the file > 'COPYING' in the PDL distribution. This is free software and you > are welcome to redistribute it under certain conditions, see > the same file for details. > ReadLines, NiceSlice, MultiLines enabled > Reading /Users/mattk/.perldlrc... > Found docs database > /Users/mattk/myperl/lib/site_perl/5.8.9/darwin-2level/PDL/pdldoc.db > Type 'help' for online help > Type 'demo' for online demos > Loaded PDL v2.4.4_12git (supports bad values) > perldl> p $a=sequence(20) > [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19] > > Let me know if that solves it! > > Matt > > -- ----------------------------- Dr. Antonio Hales ALMA Commissioning Scientist Joint ALMA Office Av Apoquindo 3846 Piso 19 Santiago - Chile ----------------------------- (+56) 2 467 6236 (+56) 9 6 2062609 ----------------------------- _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
