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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-13-2004, 10:04 AM
|
#1
|
LQ Newbie
Registered: Jun 2004
Distribution: Slackware 10 - Mandrake 10
Posts: 6
Rep:
|
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.
|
|
|
08-13-2004, 10:30 AM
|
#2
|
Member
Registered: May 2003
Location: UK
Distribution: Gentoo
Posts: 141
Rep:
|
this library is available at http://expat.sourceforge.net/
|
|
|
08-13-2004, 10:45 AM
|
#3
|
LQ Newbie
Registered: Jun 2004
Distribution: Slackware 10 - Mandrake 10
Posts: 6
Original Poster
Rep:
|
Thank you boy - or girl - for your help! Now tell me please what should I do with it? where should I put it?
|
|
|
08-13-2004, 11:00 AM
|
#4
|
Member
Registered: Feb 2003
Location: Belgium
Distribution: Debian
Posts: 166
Rep:
|
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.
|
|
|
08-13-2004, 11:11 AM
|
#5
|
Member
Registered: May 2003
Location: UK
Distribution: Gentoo
Posts: 141
Rep:
|
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.
|
|
|
08-13-2004, 03:38 PM
|
#6
|
LQ Newbie
Registered: Jun 2004
Distribution: Slackware 10 - Mandrake 10
Posts: 6
Original Poster
Rep:
|
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.
|
|
|
08-13-2004, 09:33 PM
|
#7
|
Member
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719
Rep:
|
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...
|
|
|
09-26-2004, 05:44 AM
|
#8
|
Member
Registered: Mar 2004
Location: UK
Distribution: Slackware 10
Posts: 137
Rep:
|
BigNate, i was having the same problem and that worked great.
Thanks.
|
|
|
09-26-2004, 05:54 AM
|
#9
|
Member
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 06:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|