Hello one of my application that I have installed requires teh XML::Xerces module .I downloaded the module form the cpan org
http://cpan.uwinnipeg.ca/module/XML%3A%3AXercesand followed the instructions.According to which I needed to have the binary Xerces-C for that to work.
Following the instructions I set the envorment variaraible pointing to the root directory
export XERCESCROOT=/permanant/xer
ces/
I am using RedHatLinux 9
Then I installed the XML::Xerces module
and tried
I did the Makefile.pl : Which seemed to work fne
[root@name XML-Xerces-2.5.0-0]# perl Makefile.PL
Using XERCES_LIB = /temporary/xerces-c_2_5_0-
redhat_72-
icc_71//li
b
Using XERCES_INCLUDE = /temporary/xerces-c_2_5_0-
redhat_72-
icc_71//in
clude
using config file: /temporary/xerces-c_2_5_0-
redhat_72-
icc_71//sr
c/xercesc/
confi
g.status
Found CXX = icc
Found CXXFLAGS = -w -DXML_USE_NATIVE_TRANSCODE
R -DXML_USE_INMEM_MESSAGELOA
DER -
DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCK
ET
Found LDFLAGS =
Using Xerces-C version info from /temporary/xerces-c_2_5_0-
redhat_72-
icc_71//in
c
lude/xercesc/util/XercesVe
rsion.hpp
Checking to see if libxerces is in your library path...Success!!
Using Xerces-C version: 2.5.0
Processing hints file hints/linux.pl
Writing Makefile for Handler
Writing Makefile for XML::Xerces
**************************
**********
**********
**********
**********
**********
**********
**********
********
The problem arises when I try to make the file
**************************
**********
**********
**********
**********
**********
**********
**********
********
[root@nameXML-Xerces-2.5.0
-0]# make
make[1]: Entering directory `/downloads/XML-Xerces-2.5
.0-0/Handl
er'
make[1]: Leaving directory `/downloads/XML-Xerces-2.5
.0-0/Handl
er'
icc -c -I. -IHandler -I/temporary/xerces-c_2_5_
0-redhat_7
2-icc_71//
include -w -
DXML_USE_NATIVE_TRANSCODER
-DXML_USE_INMEM_MESSAGELOA
DER -DXML_USE_PTHREADS -DXM
L_USE_NETACCESSOR_SOCKET -D_REENTRANT -DDEBIAN -D_GNU_SOURCE -O -DVERSION=\"2.
5.0-0\" -DXS_VERSION=\"2.5.0-0\" -fPIC "-I/usr/lib/perl5/5.8.0/i3
86-linux-t
hread
-multi/CORE" Xerces.cpp
/bin/sh: line 1: icc: command not found
make: *** [Xerces.o] Error 127
**************************
**********
**********
**********
**********
**********
**********
**********
**********
Thanks for your time an effort
Thank you
Start Free Trial