I'm glad to hear that you got Xerces-c 1.1 to build OK.
 
It's worth moving forward to the latest code, which has many bug fixes,
including the one you found here.  You can pick it up either
directly from CVS, or from one of the packaged nightly builds.
 
The current code is about to become version 1.2, and is in
quite good shape.  We're not putting in any major changes that
might destabilize it until version 1.2 is officially done.
 
(But the XMLString::trim() problem you found was in the current
code; I just put the fix back into CVS.)
 
Andy Heninger
IBM XML Technology Group, Cupertino, CA
[EMAIL PROTECTED]
----- Original Message -----
Sent: Tuesday, June 06, 2000 3:05 PM
Subject: building problems with linux

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