Difference between revisions of "Xerces-C++"
From CBLFS
Jump to navigationJump to search (the package has c++ in it's name for christs sake, forget cxx? get your head out of your ass and look at what you're doing, libraries are not going to the right place, etc.) |
|||
Line 32: | Line 32: | ||
export XERCESCROOT=$PWD && | export XERCESCROOT=$PWD && | ||
cd src/xercesc && | cd src/xercesc && | ||
− | CC="gcc ${BUILD32}" USE_ARCH=32 ./configure --prefix=/usr && | + | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \ |
+ | ./configure --prefix=/usr && | ||
make | make | ||
− | |||
Install the package: | Install the package: | ||
− | make install | + | make install && |
unset XERCESCROOT | unset XERCESCROOT | ||
Line 51: | Line 51: | ||
export XERCESCROOT=$PWD && | export XERCESCROOT=$PWD && | ||
+ | sed -i "s:/lib:&64:g" obj/Makefile.in && | ||
cd src/xercesc && | cd src/xercesc && | ||
− | CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr && | + | CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \ |
+ | ./configure --prefix=/usr --libdir=/usr/lib64 && | ||
make | make | ||
− | |||
Install the package: | Install the package: | ||
− | make install | + | make install && |
unset XERCESCROOT | unset XERCESCROOT |
Revision as of 16:54, 14 September 2007
Download Source: | http://www.apache.org/dist/xml/xerces-c/source/xerces-c-src_2_7_0.tar.gz |
---|
Contents
Introduction to Xerces-C++
Project Homepage: Unknown
Dependencies
Non-Multilib
Compile the package:
export XERCESCROOT=$PWD && cd src/xercesc && ./configure --prefix=/usr && make
Install the package:
make install
Multilib
32bit
Compile the package:
export XERCESCROOT=$PWD && cd src/xercesc && CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \ ./configure --prefix=/usr && make
Install the package:
make install && unset XERCESCROOT
N32
ToDo
64Bit
Compile the package:
export XERCESCROOT=$PWD && sed -i "s:/lib:&64:g" obj/Makefile.in && cd src/xercesc && CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \ ./configure --prefix=/usr --libdir=/usr/lib64 && make
Install the package:
make install && unset XERCESCROOT