[MacPorts] #47932: Missing components for Plplot 5.10.0

MacPorts noreply at macports.org
Tue Jun 2 06:59:08 PDT 2015


#47932: Missing components for Plplot 5.10.0
------------------------+--------------------------------
 Reporter:  spongda@…   |      Owner:  macports-tickets@…
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.3.3
 Keywords:  Fortran-95  |       Port:  Plplot
------------------------+--------------------------------
 I have recently installed the Plplot graphics port on my Mac running OS
 10.10.3. I extensively use Plplot from Fortran codes to make plots.
 Looking at where Macports installed the Plplot libraries, and based on
 previous experience I attempted to link Plplot in using a line like:

 ifort -o executable code.f `PKG_CONFIG_PATH=/opt/local/lib/pkgconfig pkg-
 config --cflags --libs plplotd-f95`

 However, this doesn't find the plplotd-f95 package (see results below).
 Where does Macports put this package and how do I modify the compile
 instructions to find it? If it's not produced during the install, how do I
 get the port installer to create it?

 + ifort -c new_tae_plotter.f
 ++ PKG_CONFIG_PATH=/opt/local/lib/pkgconfig
 ++ pkg-config --cflags --libs plplotd-f95
 Package plplotd-f95 was not found in the pkg-config search path.
 Perhaps you should add the directory containing `plplotd-f95.pc'
 to the PKG_CONFIG_PATH environment variable
 No package 'plplotd-f95' found
 + ifort -o xplot_egn_nw new_tae_plotter.o
 Undefined symbols for architecture x86_64:
   "_plcol_", referenced from:
       _MAIN__ in new_tae_plotter.o
   "_plend_", referenced from:
       _MAIN__ in new_tae_plotter.o
   "_plenv_", referenced from:
       _MAIN__ in new_tae_plotter.o
   "_plfont_", referenced from:
       _MAIN__ in new_tae_plotter.o
   "_plinit_", referenced from:
       _MAIN__ in new_tae_plotter.o
   "_pllab_", referenced from:
       _MAIN__ in new_tae_plotter.o
   "_plline_", referenced from:
       _MAIN__ in new_tae_plotter.o
   "_pllsty_", referenced from:
       _MAIN__ in new_tae_plotter.o
   "_plmtex_", referenced from:
       _MAIN__ in new_tae_plotter.o
   "_plscol0_", referenced from:
       _MAIN__ in new_tae_plotter.o
   "_plscolbg_", referenced from:
       _MAIN__ in new_tae_plotter.o
   "_plssub_", referenced from:
       _MAIN__ in new_tae_plotter.o
   "_plwid_", referenced from:
       _MAIN__ in new_tae_plotter.o
 ld: symbol(s) not found for architecture x86_64

-- 
Ticket URL: <https://trac.macports.org/ticket/47932>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list