GNUplot

From CBLFS
Revision as of 11:22, 18 August 2008 by Weibullguy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Download Source: http://downloads.sourceforge.net/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.

Project 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: disable 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@/usr/X11R6@${XORG_PREFIX}@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-4.2.5

Multilib

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

32Bit

Compile the package:

sed -i 's@/usr/X11R6@${XORG_PREFIX}@g' configure &&
./configure --prefix=/usr --libexecdir=/usr/lib &&
make

Install the package:

make install

N32

Compile the package:

sed -i 's@/usr/X11R6@${XORG_PREFIX}@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@/usr/X11R6@${XORG_PREFIX}@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.