Skip Menu |

This queue is for tickets about the XML-Xerces CPAN distribution.

Report information
The Basics
Id: 11804
Status: resolved
Priority: 0/
Queue: XML-Xerces

People
Owner: jasons [...] cpan.org
Requestors: lee.goddard [...] bbc.co.uk?subject=cpan
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: (no value)



Subject: Debian install
CPAN.pm: Going to build J/JA/JASONS/XML-Xerces-2.5.0-0.tar.gz Using XERCES_LIB = /usr/lib Using XERCES_INCLUDE = /usr/include/xerces WARNING You have defined the XERCESCROOT variable, but I am unable to locate the config.status file that was used to build your Xerces-C. Without that file, I may not be able to properly build the C++ glue files that come with Xerces.pm. Proceeding ... Couldn't find XercesVersion.hpp in your include directory /usr/include/xerces at Makefile.PL line 167. ----------------------------------------------- Which is because: ----------------------------------------------- goddal03@dilbert:/usr/lib/libxerces24$ locate XercesVersion.hpp /usr/include/xercesc/util/XercesVersion.hpp ----------------------------------------------- But I don't seem to be able to set the include directory? Please help! ----------------------------------------------- Couldn't find XercesVersion.hpp in your include directory /usr/include/xercesc/util/ at Makefile.PL line 167. Running make test Make had some problems, maybe interrupted? Won't test Running make install Make had some problems, maybe interrupted? Won't install goddal03@dilbert:/usr/lib/libxerces24$ locate XercesVersion.hpp /usr/include/xercesc/util/XercesVersion.hpp
From: Lee
Sorry - forgot to mention, this is on debian, using the apt-get xerces as illustrated in the terminal output before. Please let me know if you need more info.
Subject: Debian install - RESOLVED
From: Lee (original poster)
It was a version mismatch: cpan install XML::Xerces version didn't match the already-installed apt-get package for libxereces. There were no warnings. Later, when by chance updating the apt-get package for libxereces, I got the most recent version, and *then* got a warning from Makefile.PL. Mind you, this is now cpantest -g fail: I've attached the details. Thanks for reading... lee

Message body is not shown because it is too large.

From: chirag43 [...] gmail.com
On Tue Mar 08 10:58:32 2005, guest wrote: Show quoted text
> It was a version mismatch: cpan install XML::Xerces version didn't > match the already-installed apt-get package for libxereces. There
were Show quoted text
> no warnings. > > Later, when by chance updating the apt-get package for libxereces, I > got the most recent version, and *then* got a warning from
Makefile.PL. Show quoted text
> > Mind you, this is now cpantest -g fail: I've attached the details. > > Thanks for reading... > lee
Hi, I am also getting the similar errors when I try to download XML::Xerces module. Well I have never used Xerces api before and I havent installed it either but I was going through the ReadMe file in CPAN XML::Xerces and it mentions that: "If you wish to make Xerces-C available to other applications, you may install it however it is not necessary to do so in order to build XML::Xerces. To build XML::Xerces from an uninstalled Xerces-C set the XERCESCROOT environment variable the top-level directory of the source directory (i.e. the same value it needs to be to build Xerces-C): export XERCESCROOT=/home/jasons/xerces-&XERCES_C_VERSION;/ " So I have done that and now when I try to install XML::Xerces, it gives me the similar error: Couldn't find XercesVersion.hpp in your include directory /home/XXX/xerces-c-src_2_7_0/include at Makefile.PL line 188. Is there any one who has solved this problem? Thanks, Chirag
Subject: build problems
From: jasons [...] cpan.org
On Wed Apr 12 14:50:21 2006, guest wrote: Show quoted text
> I am also getting the similar errors when I try to download > XML::Xerces module. Well I have never used Xerces api before and I > havent installed it either but I was going through the ReadMe file in > CPAN XML::Xerces and it mentions that: > > "If you wish to make Xerces-C available to other applications, you may > install it however it is not necessary to do so in order to build > XML::Xerces. To build XML::Xerces from an uninstalled Xerces-C set the > XERCESCROOT environment variable the top-level directory of the source > directory (i.e. the same value it needs to be to build Xerces-C): > > export XERCESCROOT=/home/jasons/xerces-&XERCES_C_VERSION;/ > " > > So I have done that and now when I try to install XML::Xerces, > it gives me the similar error: > > Couldn't find XercesVersion.hpp in your include > directory /home/XXX/xerces-c-src_2_7_0/include at Makefile.PL line 188.
Thanks for showing that the README has typos ;-) Also, it appears that you did not *build* xerces-c. To build XML-Xerces you must build Xerces-C - but you don't have to install it. All this will change for Xerces-3.0, but for 2.7 you must follow the build instructions distributed with Xerces-c. In brief: 1) go to XERCESCROOT/src/xerces and run the configure script 2) run 'make' The more detailed instructions are at: http://xml.apache.org/xerces-c/build.html after that the XERCESCROOT directory will be created and it will have the header files needed to build XML-Xerces.