#15642: plplot 5.9.0 make does not find fortran module plplot.mod --------------------------------------------+------------------------------- Reporter: david.lindsay.green@gmail.com | Owner: takeshi@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------------------+------------------------------- Comment (by david.lindsay.green@gmail.com): Replying to [comment:2 takeshi@macports.org]:
I don't have any problems with both gcc42 (default) and g95 (my favourite) variants. I am not sure what you meant with gcc40, mp-gcc42, mp-gcc43.
I just meant I have tried building plplot with more than one version of gcc (using the gcc42 variant), i.e., I have tried all gcc versions I have on my system: {{{ dg6@greendl/opt/local : gcc_select -l Available versions: gcc40 mp-gcc42 mp-gcc43 mp-gcc44 }}} I ended up getting it to work by manually copying the .mod files to two locations they seemed to be required: {{{ sudo cp /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_plplot/work/build/bindings/f95/plplot*.mod /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_plplot/work/plplot-5.9.0/examples/f95/ sudo cp /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_plplot/work/build/bindings/f95/plplot*.mod /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_plplot/work/build/ export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig pkg-config --cflags --libs plplotd -I/opt/local/include/plplot /opt/local/lib/libfreetype.dylib -L/opt/local/lib -lplplotd -lltdl -ldl -lm -lcsirocsa }}} -- Ticket URL: <http://trac.macports.org/ticket/15642#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS