I had good luck installing brew and CPANning PDL on Mavericks, to bootstrap the development environment. I have not managed to get PGPLOT working on Mavericks.
On Nov 19, 2013, at 7:48 AM, Nick Wright <[email protected]> wrote: > Hi > > Thanks for the quick reply. I've given your steps a try: > > (1) install the latest SciPDL (NOT SciKarl as this dates back to Lion or > something) which works with perl 5.12. Note you seem to be several versions > back so I am guessing you upgraded straight from Lion or something? > > Actually its a new Mac so its a 'fresh' install of OS X Mavericks - the older > versions may be an indication that I found the wrong programs to install on > the internet. > > I found PDL-2.007 following a link for SciPDL and then used 'cpan install > PDL' as suggest in the INSTALL file. This appears to have worked fine. > > (2) sudo ln -s /usr/bin/perl5.12 /usr/local/bin/perl > > (3) make sure /usr/local/bin is at the front of your PATH. > > By 'front' I presume you mean at the beginning of the list from 'echo $PATH'? > At the moment Scisoft was pushing /usr/local/bin off the front, so I have now > restored it to the front. I note that now /usr/local/bin appears twice in my > PATH, once at the beginning and once halfway through - does that matter? > > Then 'perl script' ought to work. For 'perldl' you will have to edit the #! > line. (Though you can do 'perl /usr/local/bin/perldl' too). > > Still getting the same error unfortunately. How should I edit the #! line (at > the moment it reads ( #!/usr/bin/perl -w ) > > Cheers, > > Nick > > > > > > On 19/11/2013, at 9:49 AM, Nick Wright <[email protected]> > wrote: > > > Hi Karl > > > > I've been a long-time Perl / PDL user, for which I'm eternally grateful to > > you for starting PDL off and contributing so much to it over the years. I'm > > not sure how much you're still involved with it, so apologies if this email > > is going to the wrong place. > > > > I've recently got a new MacBook with OS X Mavericks installed and quickly > > set about installing Perl, pgplot, and PDL (via SciKarl - thanks again!). > > Unfortunately I don't seem to be able to get Perl/PDL to called pgplot via > > its own PGPLOT module. I get errors such as this: > > > > Can't load > > '/Library/Perl/5.8.6/darwin-thread-multi-2level//auto/PDL/Core/Core.bundle' > > for module PDL::Core: > > dlopen(/Library/Perl/5.8.6/darwin-thread-multi-2level//auto/PDL/Core/Core.bundle, > > 1): no suitable image found. Did find: > > > > /Library/Perl/5.8.6/darwin-thread-multi-2level//auto/PDL/Core/Core.bundle: > > mach-o, but wrong architecture at > > /System/Library/Perl/5.16/darwin-thread-multi-2level/DynaLoader.pm line 194. > > at (eval 1) line 6. > > > > In fact when I tried to installed PGPLOT-2.0 and I run 'make test' I get a > > similar error: > > > > Can't load 'blib/arch/auto/PGPLOT/PGPLOT.bundle' for module PGPLOT: > > dlopen(blib/arch/auto/PGPLOT/PGPLOT.bundle, 2): Symbol not found: _cpgdraw > > Referenced from: blib/arch/auto/PGPLOT/PGPLOT.bundle > > Expected in: flat namespace > > in blib/arch/auto/PGPLOT/PGPLOT.bundle at > > /System/Library/Perl/5.16/darwin-thread-multi-2level/DynaLoader.pm line > > 194, <STDIN> line 1. > > at test1.p line 3. > > > > (but slightly different). I seem to remember SciKarl and pgplot installing > > themselves very effectively when I last set up a new Mac (~2010) so I'm > > wondering if this is something in OS X Mavericks, or just if I've forgotten > > to do something. > > > > Attached are the logs of perl -V (log1), perl Makefile.PL (log2), make > > (log3), and make test (log4) for your information. > > > > Hoping you can shed some light on the problem (or at least point me to > > someone who could). > > > > Many thanks, > > > > Nick > > > > <log1><log2><log3><log4> > > > _______________________________________________ > Perldl mailing list > [email protected] > http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
_______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
