# header
# This file was created for grace
#
@ title ""
@ xaxis label ""
@ yaxis label ""
@ s0 legend ""
@ s1 legend ""
@ xaxes scale Logarithmic
@ yaxes scale Normal
# subscript
x\si\N
# superscript
x\S2\N
Toolbar
Draw: Redraw
Lens: Zoom lens
AS: AutoScale
Z/z: Zoom in/out
Arrows: Scroll active graph
AutoT: AutoTick Axes.
AutoO: Autoscale On "set"
ZX,ZY: Zoom only along X/Y axis
AX,AY: Autoscale one axis only.
Pu/Po: Push and pop to/from the graph stack
PZ: Push before Zooming
Cy: Cycles through the stack settings
Exit
hotkey
# Canvas hotkeys
Ctrl-A Autoscale
Ctrl-L Move legend
Ctrl-U Update
Ctrl-Z Zoom
# Draw on canvas
Ctrl-Alt-L Draw a line
Ctrl-Alt-B Draw a box
Ctrl-Alt-E Draw a ellipse
Ctrl-Alt-T Draw a text string
Ctrl-D Delete an object
Ctrl-M Move an object
# List selectors
Ctrl-A select all
Ctrl-U unselect all
Ctrl-I invert selection
Installation
4.3 When I run `configure', it says the XXX package is not found, whereas I am certain it was installed on my system!
There are several possible reasons:
* You have only the run-time part installed (this especially concerns GNU/Linux users). However, you should have the relevant development package (C header files etc) installed, too. E.g., for the JPEG library to be recognized by `configure', both libjpeg62 and libjpeg62-devel packages must be installed.
* The library and the header files don't match each other (they are from different versions). This usually happens on large Unix systems with a less than capable sysadmin...
* Either the library or the header files can't be found by the compiler. Use the --with-extra-ldpath and --with-extra-incpath configure options to provide the extra paths, respectively.
4.4 When I type './configure' I get: ``configure: error M*tif has not been found''
Check whether M*tif (question M*tif) is installed on your system. If it is, look at the file config.log: there is a line like this:
configure:8900: checking for a Motif >= 1002 compatible API
What comes directly after it? Could be a hint. Also, see the previous question.
The configure for grace is looking for a Motif compatible
library, not for a Windowing software. Motif and Lesstif are
both refering to the Windowing software and the name of the
library. Lesstif is probably installing a Motif compatible
library as well, possibly from openmotif. The required
library is libXm.a (static) or libXm.so (shared).
The usual place for this library is in /usr/X11R6/lib.
In case the configure does not find the required library,
it is necessary to instruct it to look in the correct place.
I use the following prefix to the configure in order to let
it know where to look for the required library and include files:
./configure --prefix=/sasbuild/local \
--enable-grace-home=/sasbuild/local/grace_5.1.20 \
--with-extra-incpath=/sasbuild/local/fftw_2.1.3/include:/usr/X11R6/include/Xm \
--with-extra-ldpath=/sasbuild/local/fftw_2.1.3/lib \
--with-fftw-library=/sasbuild/local/fftw_2.1.3/lib/libfftw.a \
--with-motif-library=/usr/X11R6/lib/libXm.a
Look at the third line and the last one. The tell the configure to
look for includes for Motif in /usr/X11R6/include/Xm and for the
Motif compatible library in /usr/X11R6/lib/libXm.a.
The rest of the configure prefixes shown above are self-explanatory
and obviously allow us to build grace in a different directory to
the usual default which is /usr/local.
The configure command shown above is what I use in fact to build
our grace software. Notice that in our case we use the FFTW software
as well, as part of the building process for grace.
In case the Lesstif software does not include the Openmotif library,
you can download the Openmotif package or build it from source code
as well.
I hope this helps you to find out the way to build grace from source
code.
2008-02-14
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment