Hello All

Here is a quick hack I worked out to get SciKarl working on Snow  
Leopard. Snow Leopard installs a new perl (5.10) which is binary  
incompatible but the old perl is thankfully still there. So is PDL.  
(If  you previously had Leopard/SciKarl and just did an upgrade.)

You can test this by trying:

% /usr/bin/perl5.8.9 /usr/local/bin/perldl

% /usr/bin/perl5.8.9 myscript.pl

and things should just work as before. (If they don't then you  
probably lost PDL somewhere).


If you want to permanently switch your perls -


1) Make a symbolic link from /usr/local/bin/perl to /usr/bin/perl5.8.9

2) Edit your .cshrc or .bashrc to put /usr/local/bin/perl ahead of / 
usr/bin in your PATH variable if it is not already

3) edit /usr/local/bin/perldl and edit the first line so it is using / 
usr/local/bin/perl

then everything should work fine from the command line. Which is what  
I did.

I think this is harmless as it only changes the default command line  
perl.

I promise to try and recompile and re-release SciKarl by the end of  
the year!

Karl



On 14/09/2009, at 10:04 PM, Ismael Botti wrote:

> Hi Professor,
>
> My name is Ismael Botti, and I'm student of astronomy at the  
> University of Chile. I use (a lot) PDL and PGPLOT, and a little of C+ 
> + too that worked perfect in Leopard (10.5), but I have updated my  
> macbook to snow leopard (10.6) and PDL, PGPLOT and C++ compiler are  
> GONE!
>
> I'm a little desperate, I download your SciKarl dmg but didnt work,  
> or may be I didnt set everything ok...
>
> please, if you can help me with that I will be so thankfull!
>
> hope for your answer (asap),
>
> ismael
> --
> ismael BOTTI
> Departamento de Astronomia
> FCFM,  Universidad de Chile
> Camino El Observatorio 1515, Las Condes
> Casilla 36-D, Santiago. Chile
> Fono: (56 2) 977 11 42
>


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to