Discussion:
[Pdl-porters] SciPDL Yosemite Macs
Karl Glazebrook
2015-01-03 08:55:12 UTC
Permalink
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 ***@swin.edu.au
astronomy.swin.edu.au/karl @karlglazebrook
Matthew Kenworthy
2015-01-03 10:26:23 UTC
Permalink
Hi Karl,

Thanks for the new update, and I'd be happy with you taking back the
installer maintenance!

Happy new year,

Matt
Post by Karl Glazebrook
Dear Porters,
I have made a new version (v2.5) of the SciPDL kitchen-sink binary
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
--
Matthew Kenworthy / Assistant Professor / Leiden Observatory / NL
http://home.strw.leidenuniv.nl/~kenworthy/
Derek Lamb
2015-01-05 23:52:12 UTC
Permalink
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
Post by Karl Glazebrook
Dear Porters,
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
_______________________________________________
PDL-porters mailing list
http://mailman.jach.hawaii.edu/mailman/listinfo/pdl-porters
Karl Glazebrook
2015-01-06 09:21:20 UTC
Permalink
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
Post by Matthew Kenworthy
Hi Karl,
<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
Post by Karl Glazebrook
Dear Porters,
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
_______________________________________________
PDL-porters mailing list
http://mailman.jach.hawaii.edu/mailman/listinfo/pdl-porters
Derek Lamb
2015-01-07 23:16:38 UTC
Permalink
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
Post by Karl Glazebrook
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
Post by Matthew Kenworthy
Hi Karl,
<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
Post by Karl Glazebrook
Dear Porters,
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
_______________________________________________
PDL-porters mailing list
http://mailman.jach.hawaii.edu/mailman/listinfo/pdl-porters
Karl Glazebrook
2015-01-08 00:28:25 UTC
Permalink
Hi Derek,

Not a red herring at all - that is exactly what I needed to know!

Looks like I missed a dynamic library in my static build

Try this version:

https://dl.dropboxusercontent.com/u/2148080/SciPDL-v2.6-Yosemite.zip

hopefully that will fix the issue.

PDL-porters: please send requests for additional things, e.g. TriD, PLplot...

Karl
Post by Matthew Kenworthy
Hi Karl,
Yes, PDL itself works fine.
$ perl -MPDL -E 'say xvals(5);'
[0 1 2 3 4]
$PERDL::TERM = Term::ReadLine->new('perlDL', \*STDIN, \*STDOUT);
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.
perl -MTerm::ReadLine -wE 'say "$Term::ReadLine::VERSION\n$Term::ReadLine::Gnu::VERSION\n";'
1.12
1.25
otool -L /Libarary/Perl/5.18/darwin-thread-multi-2leel/auto/Term/ReadLine/Gnu/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
Post by Karl Glazebrook
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
Post by Matthew Kenworthy
Hi Karl,
<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
Post by Karl Glazebrook
Dear Porters,
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
_______________________________________________
PDL-porters mailing list
http://mailman.jach.hawaii.edu/mailman/listinfo/pdl-porters
Derek Lamb
2015-01-08 18:40:57 UTC
Permalink
That's better! perldl shell starts up just fine.

PGPLOT did not work at first but I updated my XQuartz from 2.7.5 to 2.7.7 and that did the trick. It was complaining about libpng15 not being compatible with what was in /opt/X11/lib/libpng … I think it was XQuartz 2.7.6 that included a libpng update.

As far as additional things, if it's not too much work it seems like making sure all of the demos work would be a great goal to work towards. I guess that would require POGL, gnuplot, PDL::Graphics::Gnuplot, & Prima. I guess it would not require PLplot, nobody ever wrote a PLplot demo for PDL.

I'm happy to keep testing things out.

cheers,
Derek
Post by Karl Glazebrook
Hi Derek,
Not a red herring at all - that is exactly what I needed to know!
Looks like I missed a dynamic library in my static build
https://dl.dropboxusercontent.com/u/2148080/SciPDL-v2.6-Yosemite.zip
hopefully that will fix the issue.
PDL-porters: please send requests for additional things, e.g. TriD, PLplot...
Karl
Post by Matthew Kenworthy
Hi Karl,
Yes, PDL itself works fine.
$ perl -MPDL -E 'say xvals(5);'
[0 1 2 3 4]
$PERDL::TERM = Term::ReadLine->new('perlDL', \*STDIN, \*STDOUT);
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.
perl -MTerm::ReadLine -wE 'say "$Term::ReadLine::VERSION\n$Term::ReadLine::Gnu::VERSION\n";'
1.12
1.25
otool -L /Libarary/Perl/5.18/darwin-thread-multi-2leel/auto/Term/ReadLine/Gnu/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
Post by Karl Glazebrook
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
Post by Matthew Kenworthy
Hi Karl,
<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
Post by Karl Glazebrook
Dear Porters,
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
_______________________________________________
PDL-porters mailing list
http://mailman.jach.hawaii.edu/mailman/listinfo/pdl-porters
Loading...