LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 08-13-2004, 10:04 AM   #1
farzan
LQ Newbie
 
Registered: Jun 2004
Distribution: Slackware 10 - Mandrake 10
Posts: 6

Rep: Reputation: 0
XML::Parser perl module is required


Hello members;

I was trying to compile many applications from source. For some of them, when I execute ./configure I receive this error:

configuration:error: XML::Parser perl module is required for intltool

I checked for perl. I have perl version 5.8.0 on slackware 9.1. I don't know perl. How can I make sure I have this module? And if it exists, How can I tell the bash (I guess bash) Where it is?

Thank you in advance.
 
Old 08-13-2004, 10:30 AM   #2
geniarse
Member
 
Registered: May 2003
Location: UK
Distribution: Gentoo
Posts: 141

Rep: Reputation: 15
this library is available at http://expat.sourceforge.net/
 
Old 08-13-2004, 10:45 AM   #3
farzan
LQ Newbie
 
Registered: Jun 2004
Distribution: Slackware 10 - Mandrake 10
Posts: 6

Original Poster
Rep: Reputation: 0
Thank you boy - or girl - for your help! Now tell me please what should I do with it? where should I put it?
 
Old 08-13-2004, 11:00 AM   #4
restless
Member
 
Registered: Feb 2003
Location: Belgium
Distribution: Debian
Posts: 166

Rep: Reputation: 31
http://search.cpan.org/CPAN/authors/...er-2.34.tar.gz

Code:
cd into directory containing the README file
perl Makefile.PL
make
make test
make install

Last edited by restless; 08-13-2004 at 11:18 AM.
 
Old 08-13-2004, 11:11 AM   #5
geniarse
Member
 
Registered: May 2003
Location: UK
Distribution: Gentoo
Posts: 141

Rep: Reputation: 15
extract then change to directory you extracted to and run:

Code:
./configure --prefix=/usr (if you are still using slackware)
make buildlib
make installlib
these apply to where i told you to get it from (latest file: http://prdownloads.sourceforge.net/e...ar.gz?download) can't be sure about the other bloke's link.

and it's a boy.

Last edited by geniarse; 08-13-2004 at 11:14 AM.
 
Old 08-13-2004, 03:38 PM   #6
farzan
LQ Newbie
 
Registered: Jun 2004
Distribution: Slackware 10 - Mandrake 10
Posts: 6

Original Poster
Rep: Reputation: 0
Thank you friends;
I did both ways but none worked. I installed both packages. Now I am sure that package exists, but cannot be found. I have a theory here: This package must be found either by "configure" script or perl. Unfortunately I am new to linux and I dont know shell scripting, thus I couldnt understand "configure" file. Sometime somewhere I read about an Environtment Variable that points to location of packages that are required for compiling apps. I dont remember the Var name, but I remember it starts with "PKG_". maybe setting that Var helps me. If you know anything about it I would appreciate you tell me.
Thank you.

-------------------------
P.S: I solved the problem. I had made a mistake in making package.

Last edited by farzan; 08-13-2004 at 05:04 PM.
 
Old 08-13-2004, 09:33 PM   #7
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
To properly install a perl module try the CPAN shell first

delia root # perl -MCPAN -e shell

cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support enabled

cpan> install XML::Parser
CPAN: Storable loaded ok
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://archive.progeny.com/CPAN/authors/01mailrc.txt.gz

etc...
 
Old 09-26-2004, 05:44 AM   #8
donbellioni
Member
 
Registered: Mar 2004
Location: UK
Distribution: Slackware 10
Posts: 137

Rep: Reputation: 15
BigNate, i was having the same problem and that worked great.

Thanks.
 
Old 09-26-2004, 05:54 AM   #9
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
Sweet! The cpan shell is the only way to fly . Of course it will sometimes fail and then you have to either force it or install by hand. However that usually only happens when you are trying to get some obscure beta module and the author has written an incomplete or distro centric make file.
 
  


Reply



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 perl module is required for intltool, for LogJam GT_Onizuka Linux - Newbie 7 06-30-2005 07:49 AM
XML Parser bulkman Linux - Software 6 04-29-2005 07:01 AM
XML::Parser perl mod is req 4 intltool error BorisMcHack Slackware 4 06-23-2004 07:51 AM
xml parser in linux shilpig Programming 1 05-13-2004 11:24 AM

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

All times are GMT -5. The time now is 04:11 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