Difference between revisions of "Xalan-C++"

From CBLFS
Jump to navigationJump to search
 
(5 intermediate revisions by 3 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
|
 
|}
 
{| style="text-align: left; background-color: AliceBlue;"
 
 
|-
 
|-
 
!Download Source:
 
!Download Source:
 
| http://www.apache.org/dist/xml/xalan-c/source/Xalan-C_1_10_0-src.tar.gz
 
| http://www.apache.org/dist/xml/xalan-c/source/Xalan-C_1_10_0-src.tar.gz
 +
|}
 +
 
----
 
----
|
 
|}
 
  
{{Blank-Package-Introduction}}
+
{{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 22: 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 28: 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 39: 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 47: 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