Xalan-C++
From CBLFS
Jump to navigationJump to search
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 |
Contents
Introduction to Xalan-C++
Project Homepage: Unknown
Dependencies
Required
Non-Multilib
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
If the build fails, please try the following:
Compile the package:
cd c && export XALANCROOT=$PWD && export XERCESCROOT=</path/to/xerces-c-32bit-build-directory> && export PKG_CONFIG_PATH=${PKG_CONFIG_PATH32} && sed -i "s/(int)m_/(long)m_/" src/xalanc/PlatformSupport/XalanNLSMessageLoader.cpp && sed -i 1i"#include <cstring>" src/xalanc/XalanDOM/XalanDOMString.cpp && sed -i 1i"#include <cstring>" src/xalanc/XMLSupport/FormatterToHTML.cpp && sed -i 1i"#include <cstring>" src/xalanc/XSLT/ElemNumber.cpp && sed -i 1i"#include <cstring>" src/xalanc/TestXPath/TestXPath.cpp && sed -i 1i"#include <cstring>" src/xalanc/XalanExe/XalanExe.cpp && ./runConfigure -p linux -c gcc -x g++ -b 32 \ -z "${BUILD32}" -l "${BUILD32}" -m nls \ -l -lpthread -P /usr \ -C --build=${CLFS_TARGET32} && make
Install the package:
make install && unset PKG_CONFIG_PATH && unset XALANCROOT && unset XERCESCROOT && cd ..
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
If the build fails, please try the following:
Compile the package:
cd c && export XALANCROOT=$PWD && export XERCESCROOT=</path/to/xerces-c-64bit-build-directory> && export PKG_CONFIG_PATH=${PKG_CONFIG_PATH64} && sed -i "s/(int)m_/(long)m_/" src/xalanc/PlatformSupport/XalanNLSMessageLoader.cpp && sed -i 1i"#include <cstring>" src/xalanc/XalanDOM/XalanDOMString.cpp && sed -i 1i"#include <cstring>" src/xalanc/XMLSupport/FormatterToHTML.cpp && sed -i 1i"#include <cstring>" src/xalanc/XSLT/ElemNumber.cpp && sed -i 1i"#include <cstring>" src/xalanc/TestXPath/TestXPath.cpp && sed -i 1i"#include <cstring>" src/xalanc/XalanExe/XalanExe.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 && unset PKG_CONFIG_PATH && unset XALANCROOT && unset XERCESCROOT && cd ..