Xerces-C++: Difference between revisions

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.
No edit summary
Line 17: Line 17:
  export XERCESCROOT=$PWD &&
  export XERCESCROOT=$PWD &&
  cd src/xercesc &&
  cd src/xercesc &&
  ./configure --prefix=/usr &&
  ./runConfigure -plinux -cgcc -xg++ -P/usr \
    -minmem -nsocket -tnative -rpthread &&
  make
  make


Line 32: Line 33:
  export XERCESCROOT=$PWD &&
  export XERCESCROOT=$PWD &&
  cd src/xercesc &&
  cd src/xercesc &&
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
  ./runConfigure -plinux -cgcc -xg++ -b32 -P/usr \
./configure --prefix=/usr &&
    -minmem -nsocket -tnative -rpthread &&
  make
  make


Line 53: Line 54:
  sed -i "s:/lib:&64:g" obj/Makefile.in &&
  sed -i "s:/lib:&64:g" obj/Makefile.in &&
  cd src/xercesc &&
  cd src/xercesc &&
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
  ./runConfigure -plinux -cgcc -xg++ -b64 -P/usr \
./configure --prefix=/usr --libdir=/usr/lib64 &&
    -minmem -nsocket -tnative -rpthread &&
  make
  make



Revision as of 11:38, 20 September 2007

Download Source: http://www.apache.org/dist/xml/xerces-c/source/xerces-c-src_2_7_0.tar.gz

Introduction to Xerces-C++

Project Homepage: Unknown

Dependencies

Non-Multilib

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 &&
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 &&
./runConfigure -plinux -cgcc -xg++ -b64 -P/usr \
    -minmem -nsocket -tnative -rpthread &&
make

Install the package:

make install &&
unset XERCESCROOT