LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 01-16-2012, 03:32 PM   #1
clovett
LQ Newbie
 
Registered: Jan 2012
Posts: 2

Rep: Reputation: Disabled
perl-XML-Xerces for RHEL 6


I have an application that requires the perl-XML-Xerces RPM. I know this is not part of the RHEL distro. I can find RPM's for RHEL4 and RHEL5, but not RHEL6. Does anyone have any ideas. I have tried compiling the RPM myself, but it chokes on the xerces-c libraries. I have been banging my head for weeks now, so any pointer in the right direction would be most welcome.

Sincerely,
C.
 
Old 01-17-2012, 01:51 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,198

Rep: Reputation: 76
as root:
cpan XML::Xerces

If you havn't used cpan before it will ask you a couple of config questions but all in all it won't take too long.

Welcome to LQ!
 
1 members found this post helpful.
Old 01-17-2012, 09:21 AM   #3
clovett
LQ Newbie
 
Registered: Jan 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Mostly works

I compiled the rpm xerces-c-2.7.0-3.x86_64.rpm and this works to fill the prerequisite nicely. When I run the command:

cpan XML::Xerces

I get the following errors:

Xerces.cpp:1219: error: expected unqualified-id before string constant
Xerces.cpp:1220: error: expected initializer before â*â token
Xerces.cpp:1225: error: âSwigPerlWrapperPtrâ does not name a type
Xerces.cpp:69331: error: too many initializers for âswig_command_infoâ (A whole slew of these)

Then:

Xerces.cpp: In function âvoid boot_XML__Xerces(PerlInterpreter*, CV*)â:
Xerces.cpp:69557: error: âstruct swig_command_infoâ has no member named âwrapperâ

followed by an error 1 and it craps out.

Any ideas? I know it has to be something simple that I am just missing.

Thanks for the assistance!
C
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XML parsing using DOM & Xerces on C++ amitpardesi Linux - Software 0 01-23-2009 01:44 AM
checking for XML::Parser... configure: error: XML::Parser perl module is required for kornerr Linux - General 11 11-16-2008 07:24 AM
errors building xerces xml parser on SLES 9 (i586) nkshirsagar Suse/Novell 0 05-02-2005 08:12 AM
anyone familiar with the xerces xml parser used by apache? zovres Programming 0 03-16-2004 11:58 AM
Xerces, Xalan -- XML + XSL = HTML marktaff Linux - Software 1 10-15-2002 10:01 PM


All times are GMT -5. The time now is 06:52 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration