You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by sz...@arcor.de on 2011/04/17 09:49:25 UTC

[j-dev] Xerces-J and Xerces-C incompatible

I have found:

xerces-c-3.1.1
XML-Xerces-2.7.0-0

After compilation/installation of xerces-c-3.1.1 I tried
to compile XML-Xerces-2.7.0-0:

------------------ start info ---------------
PATH_TO/XML-Xerces-2.7.0-0/

perl Makefile.PL

Using XERCES_LIB = /usr/local/lib
Using XERCES_INCLUDE = usr/local/include/xercesc
using XERCES_CONFIG: /sources/GRAPHICS/JP2/OPENJPIP/xerces-c-3.1.1/config.status


Found CXX      =
Found CXXFLAGS =
Found LDFLAGS  =
Using Xerces-C version info from /usr/local/include/xercesc/util/XercesVersion.hpp
      *** Version Mismatch ***

You are attempt to build XML::Xerces-2.7.0-0 using Xerces-C-3.1.1,
this will most likely fail, so I am aborting.

You must use Xerces-C-2.7.0
------------------  end info  ---------------

But there is no 'Xerces-C-2.7.0' on the server:

xerces-c-src_2_8_0.tar.gz
xerces-c-3.1.1.tar.gz

XML-Xerces-2.7.0-0.tar.gz
XML-Xerces-2.3.0-3.tar.gz
XML-Xerces-2.3.0-4.tar.gz

So:

  die <<EOE if $XERCES_VERSION ne $XERCES_C_VERSION;

is always true.

Have you forgotten something?

winfried

---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


Re: [j-dev] Xerces-J and Xerces-C incompatible

Posted by Michael Glavassevich <mr...@ca.ibm.com>.
Looks like you're trying to use Xerces Perl and are having difficulty
finding a compatible version of Xerces-C++. This has nothing to do with
Xerces-J (which is written in Java).

You should be asking your question on the Xerces-C++ users
(c-users@xerces.apache.org) mailing list.

Thanks.

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org

szukw000@arcor.de wrote on 04/17/2011 03:49:25 AM:

> I have found:
>
> xerces-c-3.1.1
> XML-Xerces-2.7.0-0
>
> After compilation/installation of xerces-c-3.1.1 I tried
> to compile XML-Xerces-2.7.0-0:
>
> ------------------ start info ---------------
> PATH_TO/XML-Xerces-2.7.0-0/
>
> perl Makefile.PL
>
> Using XERCES_LIB = /usr/local/lib
> Using XERCES_INCLUDE = usr/local/include/xercesc
> using XERCES_CONFIG: /sources/GRAPHICS/JP2/OPENJPIP/xerces-c-3.1.1/
> config.status
>
>
> Found CXX      =
> Found CXXFLAGS =
> Found LDFLAGS  =
> Using Xerces-C version info from /usr/local/include/xercesc/util/
> XercesVersion.hpp
>       *** Version Mismatch ***
>
> You are attempt to build XML::Xerces-2.7.0-0 using Xerces-C-3.1.1,
> this will most likely fail, so I am aborting.
>
> You must use Xerces-C-2.7.0
> ------------------  end info  ---------------
>
> But there is no 'Xerces-C-2.7.0' on the server:
>
> xerces-c-src_2_8_0.tar.gz
> xerces-c-3.1.1.tar.gz
>
> XML-Xerces-2.7.0-0.tar.gz
> XML-Xerces-2.3.0-3.tar.gz
> XML-Xerces-2.3.0-4.tar.gz
>
> So:
>
>   die <<EOE if $XERCES_VERSION ne $XERCES_C_VERSION;
>
> is always true.
>
> Have you forgotten something?
>
> winfried
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
> For additional commands, e-mail: j-dev-help@xerces.apache.org