LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-28-2005, 04:42 AM   #1
bulkman
LQ Newbie
 
Registered: Apr 2005
Location: Finland
Distribution: Mandriva Linux
Posts: 2

Rep: Reputation: 0
XML Parser


Hi.

My distribution is Mandriva Linux 10.1 and I'm using Gnome 2.6.

I am using XMMS to play my audio files, and I noticed it plays audio too fast.
I wanted to install some other audio application, gamp, but I can't because
it requires Perl XML Parser module of some kind
Here's the error message:
configure: error: XML::Parser perl module is required for intltool

Then I checked out if I've could install it, but I can't do that one either, because:
file /usr/bin/xmlcatalog from install of libxml2-2.6.17-1.9.el3.lpt conflicts with file from package libxml2-utils-2.6.13-1.1.101mdk
file /usr/bin/xmllint from install of libxml2-2.6.17-1.9.el3.lpt conflicts with file from package libxml2-utils-2.6.13-1.1.101mdk

...And when I'm trying to unistall these packages, RPMDrake wants to unistall a whole bunch of my applications, and I can't do that. I need them.

Please help?
 
Old 04-28-2005, 06:00 AM   #2
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
Welcome to the RPM hell... This is something that happens when you try and use RPM files that are not made for your distribution.
I suggest you try and find RPM files for everything you need, and if possible all done for Mdk10.1. Use easyurpmi, use rpmfind.net... and if necessary, downgrade some RPMs...

Fact is, that I avoid anything perl just because of that: many perl extensions are not packaged.

Good luck.

Yves.
 
Old 04-28-2005, 06:14 AM   #3
patrik.i
LQ Newbie
 
Registered: Nov 2004
Posts: 10

Rep: Reputation: 0
Perl has its own pretty neat 'package' system, called CPAN.

Installing any extension that's complained about should be as easy as
Code:
perl -MCPAN -e 'install <package>'
So in your case
Code:
perl -MCPAN -e 'install XML::Parser'
 
Old 04-28-2005, 08:02 AM   #4
bulkman
LQ Newbie
 
Registered: Apr 2005
Location: Finland
Distribution: Mandriva Linux
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks a lot patrik.i and theYinYeti for your fast reply

I tried patrik.i's example but it didn't go so well,
in fact, everything seemed ok until this appeared:

make[1]: *** No rule to make target `/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/EXTERN.h', needed by `Expat.o'. Stop.
make[1]: Leaving directory `/root/.cpan/build/XML-Parser-2.34/Expat'
make: *** [subdirs] Error 2
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible


What now?
 
Old 04-28-2005, 08:27 AM   #5
patrik.i
LQ Newbie
 
Registered: Nov 2004
Posts: 10

Rep: Reputation: 0
I think you need to install the perl development package. urpmi perl-devel
 
Old 04-29-2005, 02:23 AM   #6
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
And maybe expat-devel, or libexpat-devel, if a thing like this exists...

Yves.

(CPAN is all very well if you have permanent internet access, but if you don't... you see what I mean.)
 
Old 04-29-2005, 07:01 AM   #7
patrik.i
LQ Newbie
 
Registered: Nov 2004
Posts: 10

Rep: Reputation: 0
By the way, if XMMS plays audio too fast it sounds like you should resolve that problem as well...have you tried changing output plugins?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
checking for XML::Parser... configure: error: XML::Parser perl module is required for kornerr Linux - General 11 11-16-2008 07:24 AM
xml parser in linux shilpig Programming 1 05-13-2004 11:24 AM
gDesklets and the xml parser doralsoral Linux - Software 1 05-08-2004 11:56 AM
Galeon and XML::Parser virus2099 Slackware 1 01-20-2004 06:11 PM
_simple_ regex XML parser poison Programming 0 01-02-2004 08:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:31 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration