GNUplot

From CBLFS
Revision as of 08:43, 6 February 2007 by Weibullguy (talk | contribs)
Jump to navigationJump to search
Download Source: ftp://ftp.gnuplot.info/pub/gnuplot/gnuplot-4.2.5.tar.gz

Introduction to GNUPlot

Gnuplot is a multiplatform, command-line driven, interactive data and function plotting utility. Gnuplot also supports many non-interactive uses, including web scripting and integration as a plotting engine for third-party applications like Octave. Gnuplot supports many types of plots in either 2D and 3D. It can draw using lines, points, boxes, contours, vector fields, surfaces, and various associated text.

Package Homepage: http://www.gnuplot.info

Dependencies

Optional

Configuration Information

--enable-history-file: use history file.
--disable-mouse: disable mouse for the x11 terminal.
--disable-filledboxes: disable filledboxes style.
--disable-fiterrvars: enable fitting error variables.
--with-png=DIR: where to find the png library.
--with-gd=DIR: where to find the gd library.
--with-gif=png: 'set term gif' produces png images instead.
--with-pdf=DIR: enable pdf terminal.
--without-tutorial: do not build the LaTeX tutorial.

Non-Multilib

Compile the package:

sed -i 's@/X11R6/@/X11R7/@g' configure &&
./configure --prefix=/usr --libexecdir=/usr/lib &&
make

Install the package:

make install

Install the pdf documentation:

make pdf
install -v -m755 -d /usr/share/doc/gnuplot-4.2.5
cp -v docs/*.pdf /usr/share/doc/gnuplot-{GNUplot-Version}}

Multilib

This package does not provide any libraries so only one installation is required.

32Bit

Compile the package:

sed -i 's@/X11R6/@/X11R7/@g' configure &&
./configure --prefix=/usr --libexecdir=/usr/lib &&
make

Install the package:

make install

N32

Compile the package:

sed -i 's@/X11R6/@/X11R7/@g' configure &&
USE_ARCH=n32 CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --libexecdir=/usr/lib32 &&
make

Install the package:

make install

64Bit

Compile the package:

sed -i 's@/X11R6/@/X11R7/@g' configure &&
USE_ARCH=64 CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --libexecdir=/usr/lib64 &&
make

Install the package:

make install

Install the pdf documentation:

make pdf
install -v -m755 -d /usr/share/doc/gnuplot-4.2.5
cp -v docs/*.pdf /usr/share/doc/gnuplot-4.2.5

Contents

Installed Directories: /usr/lib/gnuplot/4.2, /usr/share/gnuplot/4.2
Installed Programs: gnuplot, gnuplot_x11

Short Descriptions

gnuplot is a command-line plotting utility.
Retrieved from "?title=GNUplot&oldid=7632"