Difference between revisions of "LibXSLT"

From CBLFS
Jump to navigationJump to search
Line 27: Line 27:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../libxslt-{{LibXSLT-Version}}-segfault-1.patch &&
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
 
  make
 
  make
Line 40: Line 41:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../libxslt-{{LibXSLT-Version}}-segfault-1.patch &&
 
  CC="gcc ${BUILD32}" USE_ARCH=32 ./configure --prefix=/usr &&
 
  CC="gcc ${BUILD32}" USE_ARCH=32 ./configure --prefix=/usr &&
 
  make
 
  make
Line 52: Line 54:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../libxslt-{{LibXSLT-Version}}-segfault-1.patch &&
 
  CC="gcc ${BUILDN32}" USE_ARCH=n32 ./configure --prefix=/usr \
 
  CC="gcc ${BUILDN32}" USE_ARCH=n32 ./configure --prefix=/usr \
 
     --libdir=/usr/lib32 &&
 
     --libdir=/usr/lib32 &&
Line 65: Line 68:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../libxslt-{{LibXSLT-Version}}-segfault-1.patch &&
 
  CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr \
 
  CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr \
 
     --libdir=/usr/lib64 &&
 
     --libdir=/usr/lib64 &&

Revision as of 22:49, 19 December 2006

Download Source: ftp://xmlsoft.org/libxml2/libxslt-1.1.28.tar.gz
Required Patch: http://svn.cross-lfs.org/svn/repos/patches/libxslt/libxslt-1.1.28-segfault-1.patch

Introduction to LibXSLT

The LibXSLT package contains XSLT libraries. These are useful for extending LibXML2 libraries to support XSLT files.

Dependencies

Required

Optional

Non-Multilib

Compile the package:

patch -Np1 -i ../libxslt-1.1.28-segfault-1.patch &&
./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

patch -Np1 -i ../libxslt-1.1.28-segfault-1.patch &&
CC="gcc ${BUILD32}" USE_ARCH=32 ./configure --prefix=/usr &&
make

Install the package

make install &&
mv -v /usr/bin/xslt-config{,-32}

N32

Compile the package:

patch -Np1 -i ../libxslt-1.1.28-segfault-1.patch &&
CC="gcc ${BUILDN32}" USE_ARCH=n32 ./configure --prefix=/usr \
    --libdir=/usr/lib32 &&
make

Install the package

make install &&
mv -v /usr/bin/xslt-config{,-n32}

64Bit

Compile the package:

patch -Np1 -i ../libxslt-1.1.28-segfault-1.patch &&
CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package

make install &&
mv -v /usr/bin/xslt-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/xslt-config

Contents

Installed Programs: xslt-config and xsltproc
Installed Libraries: libexslt.{so,a}, libxslt.{so,a} and optionally, libxsltmod.{so,a} Python modules
Installed Directories: /usr/include/lib{e}xslt, /usr/lib/libxslt-plugins, /usr/share/doc/libxslt-1.1.28, and /usr/share/doc/libxslt-python-1.1.28

Short Descriptions

xslt-config is used to find out the pre-processor, linking and compiling flags necessary to use the libxslt libraries in 3rd-party programs.
xsltproc is used to apply XSLT stylesheets to XML documents.
libxslt.{so,a} provides extensions to the libxml2 libraries to parse files that use the XSLT format.
libexslt.{so,a} is used to provide extensions to XSLT functions.