version 1.1, 2000/01/09 17:00:48 |
version 1.1.1.2, 2000/01/22 14:15:47 |
Line 52 several different ways: |
|
Line 52 several different ways: |
|
|
|
o with configure's --prefix= option, eg. |
o with configure's --prefix= option, eg. |
./configure --prefix=/gnuplot |
./configure --prefix=/gnuplot |
Attention: This affects the location of *all* installed files! |
gnuplot will look for the online help file, gnuplot.gih, in /gnuplot/share. |
|
Attention: This option affects the location of *all* installed files! |
|
|
o with configure's --datadir= option, eg. |
o with configure's --datadir= option, eg. |
./configure --datadir='/gnuplot/docs' |
./configure --datadir='/gnuplot/docs' |
|
gnuplot will look for the online help file, gnuplot.gih, in /gnuplot/docs. |
|
|
o at make time, eg. |
o at make time, eg. |
make HELPFILE='/gnuplot/docs/gnuplot.gih' |
make HELPFILE='/gnuplot/docs/gnuplot.gih' |
|
gnuplot will look for the online help file /gnuplot/docs/gnupot.gih. |
|
|
o at execution time by specifying the helpfile with the environment |
o at execution time by specifying the helpfile with the environment |
variable GNUHELP (see "Environment Variables" below). |
variable GNUHELP (see "Environment Variables" below). |
|
|
|
|
o with configure's --prefix= option, eg. |
o with configure's --prefix= option, eg. |
./configure --prefix=/gnuplot |
./configure --prefix=/gnuplot |
|
gnuplot will be installed as /gnuplot/bin/gnuplot. |
Attention: This affects the location of *all* installed files! |
Attention: This affects the location of *all* installed files! |
|
|
o with configure's --bindir= option, eg. |
o with configure's --bindir= option, eg. |
./configure --bindir='/gnuplot/bin' |
./configure --bindir='/gnuplot/bin' |
|
gnuplot will be installed as /gnuplot/bin/gnuplot. |
|
|
o at make time, eg. |
o at make time, eg. |
make GNUPLOT_BINDIR='/gnuplot/bin' |
make BINDIR='/gnuplot/bin' |
|
gnuplot will be installed as /gnuplot/bin/gnuplot. |
|
|
If the executables are not installed in the default location, files |
If the executables are not installed in the default location, files |
written by the `save' command cannot be used as scripts on Un*x platforms. |
written by the `save' command cannot be used as scripts on Un*x platforms. |
Line 121 $ ./configure --help |
|
Line 127 $ ./configure --help |
|
--libdir=DIR object code libraries in DIR [EPREFIX/lib] |
--libdir=DIR object code libraries in DIR [EPREFIX/lib] |
--includedir=DIR C header files in DIR [PREFIX/include] |
--includedir=DIR C header files in DIR [PREFIX/include] |
--mandir=DIR Man documentation in DIR [PREFIX/man] |
--mandir=DIR Man documentation in DIR [PREFIX/man] |
--without-readline Do not use the included readline function |
--with-readline (*) use the builtin minimal readline function |
--with-gnu-readline Use the GNU readline version If you don't use this, |
--without-readline do not use the builtin readline function |
you won't have file name completion. |
--with-readline=gnu use the GNU readline library |
--with-gnu-readline=PATH Specify the location of libreadline. |
--with-readline=PATH Specify the location of GNU readline |
Use this form if your libreadline is not installed |
|
where your linker can find it. |
|
--with-plot use the Unix plot library |
--with-plot use the Unix plot library |
--with-plot=PATH Specify the location of GNU libplot |
--with-plot=PATH Specify the location of GNU libplot |
--with-gd (*) Enable gif terminal with Tom Boutell's gd library |
--with-gd (*) Enable gif terminal with Tom Boutell's gd library |
Line 135 $ ./configure --help |
|
Line 139 $ ./configure --help |
|
--with-png (*) Enable png terminal |
--with-png (*) Enable png terminal |
(requires libpng and libz) |
(requires libpng and libz) |
--with-png=PATH Specify the location of libpng |
--with-png=PATH Specify the location of libpng |
--with-cwdrc Check current directory for .gnuplotrc file, |
--with-cwdrc check current directory for .gnuplot file, |
normally disabled for security reasons. However, |
normally disabled for security reasons |
the home directory is always checked for a |
--with-lasergnu install lasergnu printer script |
.gnuplotrc file. |
--with-linux-vga use the Linux SVGA console driver |
--with-lasergnu Install lasergnu printer script |
(requires /usr/lib/libvga) |
--without-linux-vga (*) Do not use the Linux console driver |
|
(requires Linux SVGAlib /usr/lib/libvga) |
|
--enable-apollo Apollo Graphics Primitive Resource |
--enable-apollo Apollo Graphics Primitive Resource |
--enable-gpr Apollo Graphics Primitive Resource (fixed-size window) |
--enable-gpr Apollo Graphics Primitive Resource (fixed-size window) |
--enable-cgi enable CGI terminal (SCO only) |
--enable-cgi enable CGI terminal (SCO only) |
Line 184 Unix, no configure |
|
Line 186 Unix, no configure |
|
VMS |
VMS |
--- |
--- |
|
|
On VMS, invoke MAKE_VMS.COM (or BUILDVMS.COM if you have MMS or MMK |
On VMS, you can use MMS, MMK, or another make utility, or you can |
but don't want to use the supplied DESCRIP.MMS). You may get warnings |
use BUILDVMS.COM. The supplied files work with Alpha/VMS V6.2 and |
or more serious errors depending on the versions of the C compiler, the |
DECC V5.7; you may get warnings or more serious errors depending on |
C run-time libraries, and {Open}VMS on your system. |
the versions of the C compiler, the C run-time libraries, and VMS on |
|
your system. |
|
|
|
To compile using MMK: |
|
MMK/DESCRIPTION=MAKEFILE.VMS |
|
To compile using MMS on VAX: |
|
MMS/DESCRIPTION=MAKEFILE.VMS |
|
To compile using MMS on Alpha: |
|
MMS/DESCRIPTION=MAKEFILE.VMS/MACRO=__ALPHA__=1 |
|
|
To compile using DEC MMS or MMK (PD clone), |
Alternatively, you can use MAKE_VMS.COM. This command file will run |
invoke MMS or MMK with the supplied descrip.mms |
MMK or MMS to build gnuplot. If you don't have either one installed, it |
Or if you have a unix-like make utility |
will use the command file. The first parameter on the command line is |
copy makefile.vms makefile |
the compiler you want to use (default DECC). |
make |
|
|
It may sometimes be useful to add `/IGNORE=WARNING' to the `MMS' call. |
|
|
|
To compile using GNUC or VAXC: |
|
add /MACRO=GNUC or /MACRO=VAXC to the above command |
|
To compile with another make utility: |
|
check the documentation of your utility to specify the description |
|
file and any necessary macros (__ALPHA__, GNUC, or VAXC) |
Or if you don't have a suitable make: |
Or if you don't have a suitable make: |
@buildvms |
@BUILDVMS |
To tell gnuplot where to find the help library: |
To tell gnuplot where to find the help library: |
$ define gnuplot$help disk:[directory]gnuplot.hlb |
$ define gnuplot$help disk:[directory]gnuplot.hlb |
Alternatively (and preferably) put the help in the main system help library. |
Alternatively, put the help in the main system help library. |
|
|
AmigaOS |
AmigaOS |
------- |
------- |
Line 208 Using Aztec C 5.2a |
|
Line 224 Using Aztec C 5.2a |
|
make -f makefile.ami |
make -f makefile.ami |
Using SAS/C 6.1 or later versions |
Using SAS/C 6.1 or later versions |
smake -f makefile.amg |
smake -f makefile.amg |
|
You can also copy makefile.amg to smakefile and just type `smake'. |
|
|
|
At the beginning of makefile.amg you will find a configuration |
|
section where you have to adjust all settings which control the build |
|
process. Most important is probably to select the terminal devices |
|
which should be supported. You can create a version offering |
|
png graphics as well as gif support. Use the appropriate settings |
|
for CPU and MATH to compile for a specific machine type. |
|
Be sure to enable only those devices for which you have the |
|
necessary software already installed. Also ensure that the |
|
libraries and the sources are all compiled using the same |
|
settings for CPU and MATH. |
Using gcc: see Unix |
Using gcc: see Unix |
|
|
Atari/TOS |
Atari/TOS |
Line 238 Using Borland C++ 3.1 and compiling for MS-Windows |
|
Line 266 Using Borland C++ 3.1 and compiling for MS-Windows |
|
Put wgnuplot.exe, wgnuplot.dll, wgnuplot.hlp and wgnuplot.mnu |
Put wgnuplot.exe, wgnuplot.dll, wgnuplot.hlp and wgnuplot.mnu |
in the windows directory. |
in the windows directory. |
|
|
|
Using Visual C++ and compiling for Windows NT/95/98 |
|
nmake -f makefile.nt |
|
or |
|
copy makefile.nt makefile |
|
nmake |
|
|
Using the MinGW32 port of egcs: you need the Micrsoft SDK for the |
Using the MinGW32 port of egcs: you need the Micrsoft SDK for the |
moment. |
moment. |
copy makefile.mgw makefile |
copy makefile.mgw makefile |
Line 335 The CGI drivers need the CGIPATH environment variable |
|
Line 369 The CGI drivers need the CGIPATH environment variable |
|
to the CGI agents, and the CGIDISP and/or CGIPRNT environment variables |
to the CGI agents, and the CGIDISP and/or CGIPRNT environment variables |
to set the output devices. |
to set the output devices. |
|
|
If using dynamically linked executables with the X11 Window System, it |
If creating dynamically linked executables for the X11 Window System, it |
may be necessary to define LD_LIBRARY_PATH - see man ld for details. |
may be necessary to add flags to the LIBS variable in Makefile |
It is, however, prefered to use the appropriate linker options, eg. |
to make sure gnuplot finds all required libraries at runtime. Systems like |
-R under Solaris, or -rpath under DEC Unix and Irix. |
SunOS and Solaris use -R to specify the runtime library search path, whereas |
|
OSF/Dec Unix, Irix and Linux use -rpath. If this is not possible, the |
|
LD_LIBRARY_PATH environment variable should be set. |
|
|
About --with-PACKAGE[=PATH] |
About --with-PACKAGE[=PATH] |
*************************** |
*************************** |
|
|
|
|
G N U P L O T |
G N U P L O T |
Unix version 3.7 |
Unix version 3.7 |
patchlevel 0 |
patchlevel 1 |
last modified Tue Jan 12 13:48:06 BST 1999 |
last modified Tue Jan 12 13:48:06 BST 1999 |
|
|
Copyright(C) 1986 - 1993, 1998 |
Copyright(C) 1986 - 1993, 1998 |