On Sat, Sep 5, 2009 at 7:31 PM, Hazen Babcock <[email protected]> wrote:
> P Kishor wrote:
>>
>> Hi all,
>>
>> Still hoping I can make some headway with this. For now, I am stuck
>> with unable to install PDL with either ::Graphics::TriD or with
>> ::Graphics::PLplot.
>>
>> As shown below, PLplot itself is installed correctly, or at least that
>> is how it seems. Still hoping I can actually install and use this
>> software that looks so darn powerful and exciting but seems to require
>> magic to set it up. Can I do this without changing my religion?
>>
>> Any advice or help will be much appreciated.
>
> I'm not sure if this will solve your PDL/PLplot problems because I did not
> see the warning message that I expected in the output from your PDL build,
> but it is probably worth a try since it solves what is apparently the same
> problem on my OS-X box (PPC, 10.4).
>
> In the Makefile in PDL/Graphics/PLplot change the line:
> LDDLFLAGS =  -shared -L/usr/local/lib -L/usr/local/lib
>
> To:
> LDDLFLAGS =  -bundle -undefined dynamic_lookup -L/usr/local/lib
> -L/usr/local/lib
>
> This also assumes that you have rebuilt PLplot with the "standard" install
> path of "/usr/local/" instead of "/usr/local/plplot/".
>
> -Hazen
>
>


Hazen,

First, many, many thanks in persevering through this with me.

I downloaded the latest PLplot source code (5.9.5) and rebuilt it
exactly like before. By the way, before doing all this, I deleted the
entire /usr/local/plplot folder first. Anyway, this time, plplot got
built and installed in /usr/local instead of /usr/local/plplot. You
may not believe me, but neither this time nor the previous time did I
do any shenanigans. I got what I got.

Anyway, after building and installing plplot, I tried the incantation
you noted above in the
Makefile in PDL/Graphics/PLplot. Well, heck, this time, everything
built successfully. I even ran a couple of examples, and PDL worked,
the example got created, and so on.

So, this hurdle has been passed. Now, the reason I was doing all this
was because I wanted to make 3D surface plots (digital elevation
models) out of various kinds of data -- for example, income or
demography data -- surface models that looks like
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=27
(although that particular surface model is of a physical earth
surface). I basically want to feed a 2D array of values (some value at
a particular location on the earth... typically like pixel values from
a raster) and create a 3D surface. So, the quest continues toward that
goal.

In the meantime, many thanks for helping troubleshoot this. I hope
some day soon all of PDL will build without any problem on Mac OS X.



-- 
Puneet Kishor http://www.punkish.org
Carbon Model http://carbonmodel.org
Charter Member, Open Source Geospatial Foundation http://www.osgeo.org
Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor
Nelson Institute, UW-Madison http://www.nelson.wisc.edu
-----------------------------------------------------------------------
Assertions are politics; backing up assertions with evidence is science
=======================================================================
Sent from Madison, WI, United States

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

Reply via email to