Building Xalanc 1.12 on Redhat 8 - Trouble with Cmake errors

136 Views Asked by At

I'm trying to build Xalan 1.12, using the ICU transcoder, on Redhat 8. I've already built ICU 70.1 and Xerces 3.2.3.

I can build Xalan without any problems so long as I use the default transcoder. When I try to use the ICU transcoder I get a list of errors very similar to these.

enter image description here

Here are the setting I'm using for the CMake generation

export LD_LIBRARY_PATH=$ICU_ROOT/lib:$XercesC_ROOT/lib:$LD_LIBRARY_PATH

ICU_ARGS="-DICU_LIBRARY=$ICU_ROOT/lib/libicuio.so.70.1 -DICU_INCLUDE_DIR=$ICU_ROOT/include/"

XERCES_ARGS="-DXercesC_LIBRARY=$XercesC_ROOT/lib/libxerces-c-3.2.so -DXercesC_INCLUDE_DIR=$XercesC_ROOT/include/ -DXercesC_VERSION=$XercesC_VERSION"

cmake -G "Unix Makefiles" -Dtranscoder=icu -DCMAKE_INSTALL_PREFIX=$XALAN_HOME/1.12-install -DCMAKE_BUILD_TYPE=Release $XERCES_ARGS $ICU_ARGS ../1.12

cmake --build . --config=Release

What am I missing?

0

There are 0 best solutions below