Difference between revisions of "GPL Ghostscript"

From CBLFS
Jump to navigationJump to search
(Non-Multilib)
(Multilib)
Line 48: Line 48:
 
  make
 
  make
  
To build the shared libgs.so library you myst have GTK_ installed and issue the following command:
+
To build the shared libgs.so library you must have GTK_ installed and issue the following command:
  
 
  make so
 
  make so
Line 75: Line 75:
 
  ./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  ./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  make
 
  make
 +
 +
To build the shared libgs.so library you must have GTK_ installed and issue the following command:
 +
 +
make so
  
 
Install the package
 
Install the package
  
 
  make install
 
  make install
 +
 +
If you built the shared library, install it and the associated programs by issuing the following commands as the root user:
 +
 +
make soinstall &&
 +
install -v -d -m755 /usr/include/ps &&
 +
install -v -m644 src/*.h /usr/include/ps &&
 +
ln -v -s ps /usr/include/ghostscript

Revision as of 08:22, 6 January 2008

Download Source: http://downloads.sourceforge.net/ghostscript/ghostscript-8.62.0-gpl.tar.bz2

Introduction to GPL Ghostscript

The GPL Ghostscript package provides an interpreter for the PostScript language and the PDF file format, a set of C procedures (the Ghostscript library) that implement the graphics capabilities that appear as primitive operations in the PostScript language, and a wide variety of output drivers for various file formats and printers.

Project Homepage: http://www.gnu.org/software/ghostscript/ghostscript.html

Dependencies

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr  &&
make

To build the shared libgs.so library you must have GTK+ installed and issue the following command:

make so

Install the package:

make install

If you built the shared library, install it and the associated programs by issuing the following commands as the root user:

make soinstall &&
install -v -d -m755 /usr/include/ps &&
install -v -m644 src/*.h /usr/include/ps &&
ln -v -s ps /usr/include/ghostscript

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" LDFLAGS="-L/usr/lib" \
PKG_CONFIG_PATCH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr &&
make

To build the shared libgs.so library you must have GTK_ installed and issue the following command:

make so

Install the package

make install

If you built the shared library, install it and the associated programs by issuing the following commands as the root user:

make soinstall &&
install -v -d -m755 /usr/include/ps &&
install -v -m644 src/*.h /usr/include/ps &&
ln -v -s ps /usr/include/ghostscript

N32

TO DO!

64Bit

Compile the package:

CC="gcc ${BUILD64}" LDFLAGS="-L/usr/lib64" \
PKG_CONFIG_PATCH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --libdir=/usr/lib64 &&
make

To build the shared libgs.so library you must have GTK_ installed and issue the following command:

make so

Install the package

make install

If you built the shared library, install it and the associated programs by issuing the following commands as the root user:

make soinstall &&
install -v -d -m755 /usr/include/ps &&
install -v -m644 src/*.h /usr/include/ps &&
ln -v -s ps /usr/include/ghostscript