Dear all,

I am trying to install pdl via MacPorts on an M2 MacBook Air running macOS 
Sonoma 14.5. A simple install via 'sudo port install p5.34-pdl’ fails when the 
package installer gets to p5.34-pgplot, likely due to this issue: 
https://trac.macports.org/ticket/57726

On my previous two laptops I could overcome this by compiling pgplot separately 
with gcc7 and then installing pdl:
sudo port install gcc7
sudo port install pgplot +gcc7 \ [note: this is pgplot v5.2.2]
sudo port install p5.28-pdl +gd +proj \ [note: the +opengl option would fail]

On my new laptop this approach hasn’t worked as the installation of gcc7 via 
MacPorts is no longer successful. I’ve thus manually installed pgplot v5.3.1 as 
described here: https://sourceforge.net/p/pdl/mailman/message/37197019/ . 
pgdemo1 to pgdemo17 all work.

How can I now get MacPorts to use this version of pgplot (installed under 
/usr/local/pgplot/) when building pdl, rather than its default dependency 
(v5.2.2)?

Thanks for your help!

Mark
_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general

Reply via email to