On 2006-10-05 12:07-0700 Joe Chuma wrote:

> Hi,
>
> Installing PLplot-5.6.1 creates the plplot-config and plplot_libtool files
> in ${prefix}/bin. Unfortunately, using `plplot-config --libs` fails with:
> "plplot-config: line 68: plplot_libtool: command not found"
> To fix this, edit plplot-config and change line 68 to:
> `${prefix}/bin/plplot_libtool -n --mode=link ${LINKER} ${plplot_libspec} -o 
> OUTPUT`
> i.e., just add the ${prefix}/bin path to plplot_libtool.
>
> Maybe someone could fix this for future releases?

If your installed bin directory is on your PATH you should not have any
problems since that is where both plplot-config and plplot_libtool are
installed.  So this feature request only helps for the case where you are
invoking plplot-config using the full path, and you have not bothered to put
your installed bin directory on your PATH.

There are some other considerations as well. plplot-config is now deprecated
in favor of our mature pkg-config approach regardless of whether you are
using our autotools or CMake build system.  For example, the only way you
get the plplot-config approach used now when you build our installed
examples is in the unlikely event the user has not installed pkg-config.
Also, plplot-config only works if plplot_libtool is configured and installed
and that will only happen if you use the autotools build system. That build
system will probably be deprecated for our next release in favor of the new
CMake build system.  That new build system is currently only available from
CVS, but it is already looking good enough so I have proposed on
plplot-devel that we make a series of development releases featuring it
leading up to our next stable release where (if all goes well) it will be
the preferred build system.

The proposed fix to plplot-config is simple so we may do it anyway, but I
wanted to take this opportunity to point out how plplot-config and
plplot_libtool are losing importance because of our mature and preferred
pkg-config approach and the good possibility that our new CMake build system
(which necessarily excludes plplot-config and plplot_libtool) will be the
preferred build system for the next release.

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 Yorick front-end to PLplot (yplot.sf.net); the
Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Plplot-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to