Opened 9 years ago

Last modified 5 years ago

#47932 closed defect

Missing components for Plplot 5.10.0 — at Initial Version

Reported by: spongda@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: takeshi
Port: plplot

Description

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

Change History (0)

Note: See TracTickets for help on using tickets.