Difference between revisions of "Xalan-C++"

From CBLFS
Jump to navigationJump to search
(New page: {| style="text-align: left; background-color: AliceBlue;" |- !Download Source: | http://apache.edgescape.com/xml/xalan-c/Xalan-C_1_10_0-src.tar.gz |} ---- == Introduction to Xalan-C++ ==...)
 
 
(9 intermediate revisions by 5 users not shown)
Line 3: Line 3:
 
!Download Source:
 
!Download Source:
 
| http://apache.edgescape.com/xml/xalan-c/Xalan-C_1_10_0-src.tar.gz
 
| 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++ ==
+
{{Package-Introduction|Xalan is an XSLT processor for transforming XML documents into HTML, text, or other XML document types.|http://xml.apache.org/xalan-c/}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 15: Line 18:
  
 
== Non-Multilib ==
 
== Non-Multilib ==
 +
 +
{{Note|On Pure64 system add "-b 64" to the runConfigure line.}}
  
 
Compile the package:
 
Compile the package:
Line 20: 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 &&
./configure --prefix=/usr &&
+
  ./runConfigure -p linux -c gcc -x g++ -m nls \
make -C src/xalanc/Utils &&
+
    -l -lpthread -P /usr &&
 
  make
 
  make
  
Line 33: 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 41: 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
 +
 
 +
[[Category:General Libs]]

Latest revision as of 10:28, 20 September 2009

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++

Xalan is an XSLT processor for transforming XML documents into HTML, text, or other XML document types.

Project Homepage: http://xml.apache.org/xalan-c/

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