Hi Ed, Clearly I haven’t been going about this in the most efficient way, in that case. Thank you for your quick reply and clarification.
Kind regards, Mark > On 18 Jul 2024, at 23:54, Ed . <[email protected]> wrote: > > Hi Mark, > > I can't directly answer your question (I know a little about Homebrew, > nothing about MacPorts), but I can tell you that as of PDL 2.086 and PGPLOT > 2.29, there is no PGPLOT support code in PDL; the PDL::Graphics::PGPLOT* > modules are within the PGPLOT distribution. > > Therefore, there is no reason for you to get PGPLOT installed first, before > you install PDL (assuming you are going for 2.086+, and why wouldn't you). > > Best regards, > Ed > From: Mark Sargent (ISSI) <[email protected]> > Sent: 18 July 2024 9:47 AM > To: [email protected] <[email protected]> > Subject: [Pdl-general] MacPorts installation of pdl with externally compiled > pgplot (v5.3.1) > > 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 --------------------------------------------------------------- Dr. Mark Sargent Science Program Manager International Space Science Institute (ISSI) Hallerstr. 6 CH-3012 Bern Switzerland Office: #1 E-mail: [email protected] <mailto:[email protected]> Phone: +41 31 684 34 94 Web: www.issibern.ch <http://www.issibern.ch/> ORCID: 0000-0003-1033-9684 <https://orcid.org/0000-0003-1033-9684> ISSI is a non-profit foundation which sponsors scientific meetings and collaborative research. See here <https://www.issibern.ch/scientific-opportunities/> how ISSI can support your science. ---------------------------------------------------------------
_______________________________________________ pdl-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pdl-general
