LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-10-2012, 04:54 AM   #1
varunb
Member
 
Registered: Mar 2011
Location: Bangalore, INDIA
Distribution: opensuse, fedora
Posts: 135
Blog Entries: 1

Rep: Reputation: 1
Question error while installing xml perl modules


Hi,

I am using SUSE Linux Enterprise Server 11 SP1 (x86_64)

wanted to install perl and there modules,
i am getting a error while installing some modules.

Code:
server:/usr/local/src # perl -MCPAN -e shell

cpan[1]> install  XML::LibXML                                                                                                                 
Running install for module 'XML::LibXML'
Running make for S/SH/SHLOMIF/XML-LibXML-2.0004.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/XML-LibXML-2.0004-DXesiW
  No 'Makefile' created
, won't make
Running make test
  Make had some problems, won't test
Running make install
  Make had some problems, won't install

can anyone please help me to install XML module????
 
Old 08-10-2012, 05:32 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,555

Rep: Reputation: 862Reputation: 862Reputation: 862Reputation: 862Reputation: 862Reputation: 862Reputation: 862
cd to that /root/.cpan/build/XML-LibXML-2

The cardinal error is
Quote:
No 'Makefile' created
You should have a file called 'Makefile' (not Makefile.in, or Makefile.am, or anything)

If not, check for a file called configure, and run it
Quote:
./configure
 
Old 08-10-2012, 06:20 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,737

Rep: Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318
The first choice should be : # zypper in perl perl-base perl-XML-LibXML

No Internet or no license ?
Use an older stable version of XML::LibXML, e.g. version 1.95.
Or build version 2.0004 manually ...
http://mirrors.dotsrc.org/cpan/autho...-2.0004.tar.gz
cd XML-LibXML-2.0004/ && perl Makefile.PL && make ; # make install
( The package 'libxml2-devel' must be installed to build XML::LibXML ).

... Or use the source SRC.RPM to build an rpm package :
http://ftp5.gwdg.de/pub/opensuse/sou...95-5.4.src.rpm
> perl-XML-LibXML-1.95-5.4.src.rpm

.

Last edited by knudfl; 08-10-2012 at 06:24 AM.
 
  


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
xml parser error in perl 5.8.9 jothish1 Programming 4 06-23-2010 07:54 AM
problem while installing perl xml simple on fedora 9.... Snehal.lamture Linux - Newbie 6 02-19-2009 12:25 AM
checking for XML::Parser... configure: error: XML::Parser perl module is required for kornerr Linux - General 11 11-16-2008 08:24 AM
"cc1: error: invalid option 'tune=i686'" while installing Perl modules via CPAN scuzzman Programming 12 08-21-2006 10:30 PM
Error - XML::Parser perl module is required for intltool Rudy Linux - General 7 06-15-2006 12:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:30 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration