You are viewing a plain text version of this content. The canonical link for it is here.
Posted to p-dev@xerces.apache.org by "Karen E. Medina" <km...@alexia.lis.uiuc.edu> on 2003/11/12 05:11:35 UTC
installing XML-Xerces-2.3.0-4 on linux, XercesVersion.hpp error
OS: Redhat Linux
I installed xerces-c-src_2_3_0
Then while installing XML-Xerces-2.3.0-4, I keep getting this error about
XercesVersion.hpp
The commands I used:
tar zxvf XML-Xerces-2.3.0-4.tar.tar
cd XML-Xerces-2.3.0-4
export XERCESCROOT=/home/<me>/bin/xerces-c-src_2_3_0
export XERCES_INCLUDE=/home/<me>/bin/xerces
export XERCES_LIB=/home/<me>/bin
perl Makefile.PL PREFIX=/home/<me>/bin/xerces
and variations of the above. I consistently get the same error:
Using XERCES_LIB = /home/<me>/bin
Using XERCES_INCLUDE = /home/<me>/bin/xerces
using config file:
/home/<me>/bin/xerces-c-src_2_3_0/src/xercesc/config.status
Found CXX = g++
Found CXXFLAGS = -w -DXML_USE_NATIVE_TRANSCODER
-DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS
-DXML_USE_NETACCESSOR_SOCKET
Found LDFLAGS =
Couldn't find XercesVersion.hpp in your include directory
/home/<me>/bin/xerces at Makefile.PL line 168, <CONF> line 185.
There is a file /home/<me>/bin/xerces-c-src_2_3_0/version.incl but that
is the closest.
Thanks,
Karen Medina
On 11 Nov 2003, Jason E. Stewart wrote:
> jason@openinformatics.com (Jason E. Stewart) writes:
>
> > I've just released this to CPAN, and I'll put it on www.apache.org
> > shortly.
>
> It is now also at:
>
> http://www.apache.org/dist/xml/xerces-p/
>
> Cheers,
> jas.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-p-dev-help@xml.apache.org
>
>
--------------------------->>>>>***<<<<<---------------------------
Karen E Medina
Sometimes reachable through: 217/244-2757
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org
Re: installing XML-Xerces-2.3.0-4 on linux, XercesVersion.hpp error
Posted by "Jason E. Stewart" <ja...@openinformatics.com>.
"Karen E. Medina" <km...@alexia.lis.uiuc.edu> writes:
> OS: Redhat Linux
> I installed xerces-c-src_2_3_0
>
> Then while installing XML-Xerces-2.3.0-4, I keep getting this error about
> XercesVersion.hpp
>
> The commands I used:
> tar zxvf XML-Xerces-2.3.0-4.tar.tar
> cd XML-Xerces-2.3.0-4
> export XERCESCROOT=/home/<me>/bin/xerces-c-src_2_3_0
> export XERCES_INCLUDE=/home/<me>/bin/xerces
> export XERCES_LIB=/home/<me>/bin
> perl Makefile.PL PREFIX=/home/<me>/bin/xerces
>
> and variations of the above. I consistently get the same error:
>
> Using XERCES_LIB = /home/<me>/bin
> Using XERCES_INCLUDE = /home/<me>/bin/xerces
> using config file:
> /home/<me>/bin/xerces-c-src_2_3_0/src/xercesc/config.status
>
> Found CXX = g++
> Found CXXFLAGS = -w -DXML_USE_NATIVE_TRANSCODER
> -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS
> -DXML_USE_NETACCESSOR_SOCKET
> Found LDFLAGS =
> Couldn't find XercesVersion.hpp in your include directory
> /home/<me>/bin/xerces at Makefile.PL line 168, <CONF> line 185.
Hi Karen,
Sorry for responding so late. If you are still having this problem,
you need to correctly set your XERCES_INCLUDE and XERCES_LIB
environment variables. You have set them both to point at your bin/
directory.
I agree the README file could be more explicit on this. The
XERCES_INCLUDE variable must point to the directory that has the
header files for Xerces-C (the .hpp files), if you have installed it,
it is likely to be /usr/local/include/. While the XERCES_LIB variable
should point to the directory which contains the Xerces-C dynamic
library (the .so file), which again is likely to be /usr/local/lib.
Cheers,
jas.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org