Hi Steven,
we did a little bit of debugging off-line, and it turns out that, on HP, the aCC compiler can compile the ICU headers only if the -AA option is specified in the CPPFLAGS variable (it turns on support for STL). So the correct "configure" command is:

./configure CXX=aCC CC=aCC CFLAGS=-mt CPPFLAGS="-mt -AA" LDFLAGS=-mt
--enable-transcoder-icu 
--with-icu=/scratch/bedford1/sdash/artix5.6.2/hp11ipa2/icu4.8.1

Alberto

Il 19/04/2012 02:37, [email protected] ha scritto:
Hi,

If you have success integrating IBM ICU, I would like to know how!
A companion XALAN-C (XSLT) project needs to have confirmed examples.
The XALAN-C project uses XERCES-C as its XML parser library.

Sincerely,
Steven J. Hathaway
Xalan Documentation Project
<[email protected]>

Hi Sitansu,
maybe it's a type in your e-mail, but the option should be --with-icu
(double dash). In that folder, configure searches for a
include/unicode/ucnv.h, unless in the bin folder there is a icu-config
script that can report what are the compiler options.

Alberto

Il 18/04/2012 12:22, Sitansu D ha scritto:
Hi All,

Please help me in building the Xerces-c-3.1.1.Wanted to build 32-bit
libraries.

*Build Machine:*
HP-UX hp11ipa2 B.11.11 U 9000/800 2404418735 unlimited-user license
Compiler: aCC: HP ANSI C++ B3910B A.03.73

My intention is to use ICU Transcoder in my Xerces building so for
this I passed configuration command as:
*./configure CXX=aCC CC=aCC CFLAGS=-mt CXXFLAGS=-mt LDFLAGS=-mt
--enable-transcoder-icu \*
* -with-icu=/scratch/bedford1/sdash/artix5.6.2/hp11ipa2/icu4.8.1*
*
*
*
*
But in configuration complete getting the configure report as:
................
checking for wcstombs... yes
checking for mbstowcs... yes
checking whether we can support the iconv Transcoder... yes
checking whether we can support the ICU Transcoder... no
checking for which Transcoder to use (choices: -gnuiconv- -iconv-)...
gnuiconv
checking whether we support the InMemory MsgLoader... yes
checking whether we support the ICU MsgLoader... no
checking for nl_types.h... (cached) yes
checking for catopen... yes
checking for catclose... yes
checking for catgets... yes
checking whether we can support the iconv MsgLoader... yes
checking for which MsgLoader to use (choices: -inmemory- -iconv-)...
inmemory
checking for which File Manager to use... POSIX
checking whether the Windows SDK is available and using wchar_t as
wide string... no
checking whether the compiler chokes on a placement operator delete...
no
checking whether we need to add -msse2... no
checking for intrin.h usability... no
checking for emmintrin.h usability... no
........................................
configure: Report:
configure:   File Manager: POSIX
configure:   Mutex Manager: POSIX
configure:   Transcoder: gnuiconv
configure:   NetAccessor: socket
configure:   Message Loader: inmemory

So I am not able to understand why it is taking GNU transcoder even
though I am explicitly providing ICU transcoder.

Thank you in advance.

Regards,
Sitansu



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

.



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to