Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

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


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.

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
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,711

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

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

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

Rep: Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574
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 ...
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 :
> perl-XML-LibXML-1.95-5.4.src.rpm


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


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:29 AM.

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