I recently retrieved xerces (ver.1.1.0) and tried to build it on the following platform:
SuSE linux (6.1) kernel 2.2.7 with gcc ver. 2.95.2

The file IconvTransService.cpp (in src/util/Transcodes/Iconv/ ) did not compile because the header file wctype.h never gets included because of XML_GNUG being undefined.

So what I tried to do was to call runConfigure with the following added to the command line:
runConfigure .... -z-DXML_GNUG

According to the build instructions, the switch -z should add extra compiler flags. These however are never added to CXXFLAGS (same thing happens for the extra linker flags). So I added to line 484 of runConfigure the
$compileroption
flag

after this I was able to correctly build xerces.
 

Cheers
Michele

-- 
-------------------------------------------------
Michele Laghi
Av. Benavides 163 dpto. 301
MIRAFLORES-LIMA (PERU)
tel. +51 1 4463956
e-mail: [EMAIL PROTECTED]
-------------------------------------------------
 


Reply via email to