On Sat, Sep 4, 2010 at 9:44 AM, Stefan Evert <[email protected]> wrote: > >> Please see my notes on PLplot+Mac OS X-specific installation on the PDL wiki. > > I'm afraid those instructions don't work for me -- I get the same error I've > previously reported. I'm still using MacPorts to install PLplot (as I > suspect will most other Mac users, unless PLplot is made available as a > binary package installer), but this is very unlikely to be the source of the > problem. After all, PLplot links ok, but the Perl shared libraries are no > longer found, because Graphics/PLplot/Makefile messes with Perl's GCC flags. > > One possible difference could be that I'm building with Apple's standard > Perl, which has it's libraries installed as a system framework -- perhaps > your custom Perl puts them into /usr/local/lib where they're automatically > picked up despite the messed-up flags. > >> Specifically, you have to tinker with the Graphics/PLplot/Makefile to >> be able to make PLplot. > > I can't find this information on the Wiki at > > > http://sourceforge.net/apps/mediawiki/pdl/index.php?title=Installing_PDL_on_Mac_OS_X#PL_PLOT > > Perhaps I'm blind, but all I find is your changes to perldl.conf (which I > tried), no tinkering with the Makefile itself. >
look at this section http://sourceforge.net/apps/mediawiki/pdl/index.php?title=Installing_PDL_on_Mac_OS_X#PDL_2 specifically -- " Look at the errors. Most likely there won't be any. If there are, holler on the mailing list, and get help. Otherwise, before going on further you have one little tinkering to do to enable PLplot. The LDDLFLAGS are still set incorrectly for Mac OS X in the Graphics/PLplot/Makefile (note, the Makefile was generated by the perl Makefile.PL command). Change the following line: LDDLFLAGS = -shared -L/usr/local/lib -L/usr/local/lib to LDDLFLAGS = -bundle -undefined dynamic_lookup -L/usr/local/lib Save the Makefile, then go two levels up to the PDL source directory and run: $ make " -- 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 ======================================================================= _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
