Hi Karl, Yes, PDL itself works fine.
$ perl -MPDL -E 'say xvals(5);' [0 1 2 3 4] The error is on line 237 of perldl: $PERDL::TERM = Term::ReadLine->new('perlDL', \*STDIN, \*STDOUT); And calling that from the command line triggers the same error: perl -MTerm::ReadLine -E 'Term::ReadLine->new('blargh',\*STDIN,\*STDOUT);' Undefined subroutine &Term::ReadLine::Gnu::XS::ornaments called at /Library/Perl/5.18/darwin-thread-multi-2level/Term/ReadLine/Gnu.pm line 474. It correctly installed Term::ReadLine and Term::ReadLine::Gnu: perl -MTerm::ReadLine -wE 'say "$Term::ReadLine::VERSION\n$Term::ReadLine::Gnu::VERSION\n";' 1.12 1.25 The only thing I can see is that a new install of OSX has Apple's broken libreadline.dylib, and the Gnu.bundle that comes with this version of SciPDL points to something in your home directory: otool -L /Libarary/Perl/5.18/darwin-thread-multi-2leel/auto/Term/ReadLine/Gnu/Gnu.bundle Gnu.bundle: /Users/karl/Downloads/tmp1/lib/libreadline.6.dylib (compatibility version 6.0.0, current version 6.3.0) /usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0, current version 5.4.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0) Maybe that's a red herring, maybe not. (FWIW, that Term::ReadLine->new command works just fine on my regular machine, it's only the clean VM that is having the problem). Derek > On Jan 6, 2015, at 2:21 AM, Karl Glazebrook <kglazebr...@swin.edu.au> wrote: > > Hi Derek > > That's a bit odd, as you say the subroutine IS defined in the XS.pm file > loaded. > > I am wondering if this is triggered by something funny in your ~/.perldlrc > file? Does > > perl -e 'use PDL' > > work? > > Karl > > >> On 6 Jan 2015, at 10:52 am, Derek Lamb <de...@boulder.swri.edu> wrote: >> >> Hi Karl, >> >> On a relatively clean virtual machine that just got upgraded to Yosemite, >> install goes smoothly but when starting the pdl shell I get the following: >> >> <snip> >> ReadLines, NiceSlice, MultiLines enabled >> Undefined subroutine &Term::ReadLine::Gnu::XS::ornaments called at >> /Library/Perl/5.18/darwin-thread-multi-2level/Term/ReadLine/Gnu.pm line 474. >> >> and then it exits. >> >> I have verified that there is a 'sub ornaments' in Gnu/XS.pm. Haven't had >> time to play with it more. >> >> best, >> Derek >> >>> On Jan 3, 2015, at 1:55 AM, Karl Glazebrook <kglazebr...@swin.edu.au> wrote: >>> >>> Dear Porters, >>> >>> I have made a new version (v2.5) of the SciPDL kitchen-sink binary >>> installer for Yosemite Macs (built with perl 5.18 and PDL 2.007): >>> >>> https://dl.dropboxusercontent.com/u/2148080/SciPDL-v2.5-Yosemite.zip >>> >>> (I kind of had too, since I upgraded my OS a few days ago!). >>> >>> ***Can people with OS X 10.10 Macs test this and let me if it works?*** If >>> so I will do a new official version when PDL 2.008 comes out this month and >>> we can put it on pdl.perl.org. Also I am happy to try and include >>> additional packages. >>> >>> Matt - I am happy to take back ownership of the pumpkin of this, I feel I >>> need the occasional geeky distraction from my day job :-), is that alright >>> with you? >>> >>> >>> best, >>> >>> Karl >>> >>> >>> ---------------- >>> Karl Glazebrook >>> Director & Distinguished Professor >>> Centre for Astrophysics & Supercomputing, Swinburne University of Technology >>> Contact: +61-3-9214-4384 kglazebr...@swin.edu.au >>> astronomy.swin.edu.au/karl @karlglazebrook >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> PDL-porters mailing list >>> PDL-porters@jach.hawaii.edu >>> http://mailman.jach.hawaii.edu/mailman/listinfo/pdl-porters >>> >> > > _______________________________________________ PDL-porters mailing list PDL-porters@jach.hawaii.edu http://mailman.jach.hawaii.edu/mailman/listinfo/pdl-porters