[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with Libplot
From: |
John Darrington |
Subject: |
Re: Problem with Libplot |
Date: |
Mon, 2 Feb 2009 11:40:17 +0900 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
I suggest that we check in this patch into the stable branch.
J'
On Sun, Feb 01, 2009 at 02:03:30PM -0800, Ben Pfaff wrote:
It is a bug in the configure script. The plotutils manual
mentions that -lpng -lz might be necessary, but we don't check
for it.
Do you want to file a bug report? It would be helpful.
The plotutils description of how to link against it is awfully
complicated:
To link your application with GNU `libplot', you would use the
appropriate `-l' option(s) on the command line when compiling it. You
would use
-lplot -lXaw -lXmu -lXt -lXext -lX11 -lpng -lz -lm
or, in recent releases of the X Window System,
-lplot -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -lpng -lz -lm
These linking options assume that your version of `libplot' has been
compiled with PNG support; if not, you would omit the `-lpng -lz'
options.
As an alternative to the preceding, you may need to use `-lplot -lXm
-lXt -lXext -lX11 -lpng -lz -lm', `-lplot -lXm -lXt -lXext -lX11 -lpng
-lz -lm -lc -lgen', or `-lplot -lXm -lXt -lXext -lX11 -lpng -lz -lm -lc
-lPW', on systems that provide Motif widgets instead of Athena widgets.
In recent releases of the X Window System, you would insert `-lSM
-lICE'. Recent releases of Motif require `-lXp' and possibly `-lXpm'
as well.)
On some platforms, the directories in which `libplot' or the other
libraries are stored must be specified on the command line.
For example, the options `-lXaw -lXmu -lXt -lSM -lICE -lXext -lX11',
which specify X Window System libraries, may need to be preceded by an
option like `-L/usr/X11/lib'.
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.
libplot.patch
Description: Text Data
signature.asc
Description: Digital signature