On 2007-08-27 02:43+0200 Michael M. Tung wrote:

> Hi all:
>
> I am using a commercial F95 compiler with PLplot.
> Unfortunately, the output of
>
>       'plplot-config --libs --with-f95'

Hi Michael:

plplot-config has been deprecated for a long time and will be removed in the
near future.

Here is what you should do instead.  Please use our cmake-based build system
to build PLplot following the directions at
http://www.miscdebris.net/plplot_wiki/.  That is the only build system we
support any more and should work well to build both our f77 and f95
interfaces for our newly released PLplot-5.7.4.  That build system
configures the necessary files so that the pkg-config command should give
you all the compiling and linking flags that you need for PLplot.

After you have done the usual cmake; make; make install, then I suggest you
build the installed examples by changing to the
$prefix/share/plplot5.7.4/examples/f77 directory (or ..../f95) and running
"make".  That command illustrates how pkg-config is used.

For example on my system, the result is the following:

/usr/bin/g77 x01f.f -o x01f -Wl,-rpath 
-Wl,/home/software/plplot_cvs/installcmake/lib:/home/software/autotools/install/lib
 `PKG_CONFIG_PATH=/home/software/plplot_cvs/installcmake/lib/pkgconfig 
pkg-config --cflags --libs plplotd-f77`

etc...

Good luck with using our cmake build system and pkg-config.  Let us know on
list here if you encounter any problems.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to