Difference between revisions of "Xerces-C++"

From CBLFS
Jump to navigationJump to search
m
(For 64bit build, in Makefile.in, keep one instance of "/lib" as is.)
Line 57: Line 57:
 
  export XERCESCROOT=$PWD &&
 
  export XERCESCROOT=$PWD &&
 
  sed -i "s:/lib:&64:g" obj/Makefile.in &&
 
  sed -i "s:/lib:&64:g" obj/Makefile.in &&
 +
sed -i "s:{XERCESCROOT}/lib64:{XERCESCROOT}/lib:g"
 
  cd src/xercesc &&
 
  cd src/xercesc &&
 
  ./runConfigure -plinux -cgcc -xg++ -b64 -P/usr \
 
  ./runConfigure -plinux -cgcc -xg++ -b64 -P/usr \

Revision as of 20:43, 23 April 2009

Download Source: http://www.apache.org/dist/xerces/c/sources/xerces-c-src_2_8_0.tar.gz

Introduction to Xerces-C++

Project Homepage: Unknown

Dependencies

Non-Multilib

Caution.png

Note

On Pure64 systems add "-b64" to the runConfigure line.

Compile the package:

export XERCESCROOT=$PWD &&
cd src/xercesc &&
./runConfigure -plinux -cgcc -xg++ -P/usr \
    -minmem -nsocket -tnative -rpthread &&
make

Install the package:

make install

Multilib

32bit

Compile the package:

export XERCESCROOT=$PWD &&
cd src/xercesc &&
./runConfigure -plinux -cgcc -xg++ -b32 -P/usr \
    -minmem -nsocket -tnative -rpthread \
    -z "${BUILD32}" -l "${BUILD32}" &&
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 &&
sed -i "s:{XERCESCROOT}/lib64:{XERCESCROOT}/lib:g"
cd src/xercesc &&
./runConfigure -plinux -cgcc -xg++ -b64 -P/usr \
    -minmem -nsocket -tnative -rpthread \
    -z "${BUILD64}" -l "${BUILD64}" &&
make

Install the package:

make install &&
unset XERCESCROOT