Difference between revisions of "Xalan-C++"

From CBLFS
Jump to navigationJump to search
Line 19: Line 19:
 
== Non-Multilib ==
 
== Non-Multilib ==
  
Note: On 64 bit systems you will likely have to change a couple of "(int)" to "(long)"; build fails otherwise...
+
{{Note|On Pure64 system add "-b 64" to the runConfigure line.}}
  
 
Compile the package:
 
Compile the package:
Line 25: Line 25:
 
  cd c &&
 
  cd c &&
 
  export XALANCROOT=$PWD &&
 
  export XALANCROOT=$PWD &&
  ./runConfigure -p linux -c gcc -x g++ -m nls -l -lpthread -P /usr &&
+
sed -i "s/(int)m_/(long)m_/" src/xalanc/PlatformSupport/XalanNLSMessageLoader.cpp &&
 +
  ./runConfigure -p linux -c gcc -x g++ -m nls \
 +
    -l -lpthread -P /usr &&
 
  make
 
  make
  
Line 36: Line 38:
 
=== 32bit ===
 
=== 32bit ===
  
  ToDo
+
Compile the package:
 +
 
 +
  cd c &&
 +
export XALANCROOT=$PWD &&
 +
sed -i "s/(int)m_/(long)m_/" src/xalanc/PlatformSupport/XalanNLSMessageLoader.cpp &&
 +
./runConfigure -p linux -c gcc -x g++ -b 32 \
 +
    -z "${BUILD32}" -l "${BUILD32}" -m nls \
 +
    -l -lpthread -P /usr &&
 +
make
 +
 
 +
Install the package:
 +
 
 +
make install
  
 
=== N32 ===
 
=== N32 ===
Line 44: Line 58:
 
=== 64Bit ===
 
=== 64Bit ===
  
  ToDo
+
Compile the package:
 +
 
 +
  cd c &&
 +
export XALANCROOT=$PWD &&
 +
sed -i "s/(int)m_/(long)m_/" src/xalanc/PlatformSupport/XalanNLSMessageLoader.cpp &&
 +
./runConfigure -p linux -c gcc -x g++ -b 64 \
 +
    -z "${BUILD64}" -l "${BUILD64}" -m nls \
 +
    -l -lpthread -P /usr -C --libdir=/usr/lib64 &&
 +
make
 +
 
 +
Install the package:
 +
 
 +
make install

Revision as of 17:30, 14 September 2007

Download Source: http://apache.edgescape.com/xml/xalan-c/Xalan-C_1_10_0-src.tar.gz
Download Source: http://www.apache.org/dist/xml/xalan-c/source/Xalan-C_1_10_0-src.tar.gz

Introduction to Xalan-C++

Project Homepage: Unknown

Dependencies

Required

Non-Multilib

Caution.png

Note

On Pure64 system add "-b 64" to the runConfigure line.

Compile the package:

cd c &&
export XALANCROOT=$PWD &&
sed -i "s/(int)m_/(long)m_/" src/xalanc/PlatformSupport/XalanNLSMessageLoader.cpp &&
./runConfigure -p linux -c gcc -x g++ -m nls \
   -l -lpthread -P /usr &&
make

Install the package:

make install

Multilib

32bit

Compile the package:

cd c &&
export XALANCROOT=$PWD &&
sed -i "s/(int)m_/(long)m_/" src/xalanc/PlatformSupport/XalanNLSMessageLoader.cpp &&
./runConfigure -p linux -c gcc -x g++ -b 32 \
   -z "${BUILD32}" -l "${BUILD32}" -m nls \
   -l -lpthread -P /usr &&
make

Install the package:

make install

N32

ToDo

64Bit

Compile the package:

cd c &&
export XALANCROOT=$PWD &&
sed -i "s/(int)m_/(long)m_/" src/xalanc/PlatformSupport/XalanNLSMessageLoader.cpp &&
./runConfigure -p linux -c gcc -x g++ -b 64 \
   -z "${BUILD64}" -l "${BUILD64}" -m nls \
   -l -lpthread -P /usr -C --libdir=/usr/lib64 &&
make

Install the package:

make install