Mateusz Loskot wrote:
Alberto Massari wrote:
Hi Mateusz,
the correct way of building Xerces 3.0 is through the ./configure script
(as you found out at the end of the mail). As for the '/obj' folder, it
could be caused by a typo in a recent commit; in the meanwhile, disable
the ICU message loader by running ./configure --disable-msgloader-icu

Alberto,

Thanks for your response and it helped to get rid of 'mkdir' error.
However, I got another one, during compilation:


mloskot:~/dev/apache/xerces/_svn/trunk$ ./configure --disable-msgloader-icu
...
config.status: executing depfiles commands
configure:
configure: Report:
configure:   NetAccessor: curl
configure:   File Manager: POSIX
configure:   Atomic Op Manager: POSIX
configure:   Mutex Manager: POSIX
configure:   Message Loader: inmemory
configure:   Transcoder: icu


mloskot:~/dev/apache/xerces/_svn/trunk$ make
...
ranlib .libs/libvalidators.a
creating libvalidators.la
(cd .libs && rm -f libvalidators.la && ln -s ../libvalidators.la
libvalidators.la)
Compiling xercesc/xinclude/XIncludeDOMDocumentProcessor.cpp
Compiling xercesc/xinclude/XIncludeLocation.cpp
Compiling xercesc/xinclude/XIncludeUtils.cpp
xercesc/xinclude/XIncludeUtils.cpp: In member function 'bool
xercesc_3_0::XIncludeUtils::doDOMNodeXInclude(xercesc_3_0::DOMNode*,
xercesc_3_0::DOMDocument*)':
xercesc/xinclude/XIncludeUtils.cpp:319: error: expected unqualified-id
before '!' token
xercesc/xinclude/XIncludeUtils.cpp:319: error: expected initializer
before '!' token
xercesc/xinclude/XIncludeUtils.cpp:327: error: expected
primary-expression before ',' token
xercesc/xinclude/XIncludeUtils.cpp:329: error: expected
primary-expression before '->' token
xercesc/xinclude/XIncludeUtils.cpp:330: error: expected
primary-expression before '->' token
xercesc/xinclude/XIncludeUtils.cpp:331: error: expected
primary-expression before '->' token
make[3]: *** [xercesc/xinclude/XIncludeUtils.lo] Error 1
make[3]: Leaving directory `/home/mloskot/dev/apache/xerces/_svn/trunk/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mloskot/dev/apache/xerces/_svn/trunk/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mloskot/dev/apache/xerces/_svn/trunk'
make: *** [all] Error 2
mloskot:~/dev/apache/xerces/_svn/trunk$


Am I doing anything wrong here?

I don't think so. I looks like your platform has defined "not" as a macro for "!" and that's causing problems with the local variable "not." What platform and compiler are you using? What happens if you rename that variable to something else?

We should modify the offending source code to use a better variable name than "not," for better compatibility.

Dave

Reply via email to