LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 05-01-2004, 10:15 AM   #1
dARkHunTEr
Member
 
Registered: Jul 2003
Location: The Netherlands
Distribution: Gentoo Linux
Posts: 213

Rep: Reputation: 30
Installing HTML::Parser via webmin fails


When I try to install spamassassin via webmin, I first need to install HTML::Parser and HTML::Tagset. The tagset one is installed, but HTML::Parser failes.

Output:
http://mark.givemehelp.co.uk/filebin/output.txt

I'm running slackware 9.1 with webmin latest.

Last edited by dARkHunTEr; 05-01-2004 at 10:19 AM.
 
Old 05-01-2004, 10:22 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Try using cpan, as root:
perl -MCPAN -eshell

Then at the prompt:
install HTML::Parser
 
Old 05-01-2004, 10:38 AM   #3
dARkHunTEr
Member
 
Registered: Jul 2003
Location: The Netherlands
Distribution: Gentoo Linux
Posts: 213

Original Poster
Rep: Reputation: 30
It hangs at:

Code:
cpan> install HTML::Parser
CPAN: Storable loaded ok
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
  Database was generated on Fri, 30 Apr 2004 15:01:24 GMT
  HTTP::Date not available
LWP not available
CPAN: Net::FTP loaded ok
Fetching with Net::FTP:
  ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Going to write /root/.cpan/Metadata
Edit: it resumes again and I get the same output as webmin gives.

Last edited by dARkHunTEr; 05-01-2004 at 10:45 AM.
 
Old 05-01-2004, 11:53 AM   #4
Matt Collier
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 80

Rep: Reputation: 15
you need to install LWP first, otherwise CPAN cant' get modules in straight from CPAN, only it's archives
you'll probably need a pkg for your dist

then find HTTP::Date and install that separetely if it still won't work,
$ perl -M CPAN -e shell

cpan> i /HTTP::Date/
 
Old 05-01-2004, 01:07 PM   #5
dARkHunTEr
Member
 
Registered: Jul 2003
Location: The Netherlands
Distribution: Gentoo Linux
Posts: 213

Original Poster
Rep: Reputation: 30
I installed LWP and it still doesn't work.
I can't install HTTP::Date because it says it needs HTTP::Parser.

What are the files that it can't find used for?
These ones/usr/lib/perl5/5.8.3/i486-linux/CORE/perl.h:380:30: sys/types.h: No such file or directory
/usr/lib/perl5/5.8.3/i486-linux/CORE/perl.h:411:19: ctype.h: No such file or directory
/usr/lib/perl5/5.8.3/i486-linux/CORE/perl.h:423:23: locale.h: No such file or directory
/usr/lib/perl5/5.8.3/i486-linux/CORE/perl.h:440:20: setjmp.h: No such file or directory
/usr/lib/perl5/5.8.3/i486-linux/CORE/perl.h:446:26: sys/param.h: No such file or directory
/usr/lib/perl5/5.8.3/i486-linux/CORE/perl.h:451:23: stdlib.h: No such file or directory
... more...

Last edited by dARkHunTEr; 05-01-2004 at 01:10 PM.
 
Old 05-01-2004, 02:27 PM   #6
Matt Collier
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 80

Rep: Reputation: 15
LWP is lib-www-perl, it's used to send and retrieve data to the web
HTML::Parser is, oddly enough, an HTML parser library, used to extract pertinent information from web pages

install HTML::Parser too. don't worry, once all the web/html stuff is sorted, then cpan will handle most of the other dependencies from there, and it'll all be much simpler
 
Old 05-01-2004, 02:33 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
I think it is actually do do with glibc - do you have all the headers installed?
 
Old 05-01-2004, 03:21 PM   #8
dARkHunTEr
Member
 
Registered: Jul 2003
Location: The Netherlands
Distribution: Gentoo Linux
Posts: 213

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Matt Collier
LWP is lib-www-perl, it's used to send and retrieve data to the web
HTML::Parser is, oddly enough, an HTML parser library, used to extract pertinent information from web pages

install HTML::Parser too. don't worry, once all the web/html stuff is sorted, then cpan will handle most of the other dependencies from there, and it'll all be much simpler
Well, the problems are with installing HTML::Parser...
Quote:
Originally posted by david_ross
I think it is actually do do with glibc - do you have all the headers installed?
How can I see that?
 
Old 05-01-2004, 03:26 PM   #9
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Take a look in your package directory:
ls /var/log/packages/glib*
 
Old 05-01-2004, 04:08 PM   #10
dARkHunTEr
Member
 
Registered: Jul 2003
Location: The Netherlands
Distribution: Gentoo Linux
Posts: 213

Original Poster
Rep: Reputation: 30
It says:

root@neptune:/home/mark# ls /var/log/packages/glib*
/var/log/packages/glibc-2.3.2-i486-5
/var/log/packages/glibc-debug-2.3.2-i486-5
/var/log/packages/glibc-i18n-2.3.2-noarch-5
/var/log/packages/glibc-profile-2.3.2-i486-5
/var/log/packages/glibc-solibs-2.3.2-i486-5
/var/log/packages/glibc-zoneinfo-2.3.2-noarch-5
 
Old 05-01-2004, 04:29 PM   #11
dARkHunTEr
Member
 
Registered: Jul 2003
Location: The Netherlands
Distribution: Gentoo Linux
Posts: 213

Original Poster
Rep: Reputation: 30
It works now, I reinstalled some glibc packages and then HTML::Parser installed.
 
  


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
webmin fails login jordanthompson Linux - Software 2 06-17-2008 12:55 PM
c++ html parser needed gecoool Programming 1 11-07-2005 09:47 PM
Remote webmin access fails SolarBear Debian 3 03-02-2005 07:39 AM
java HTML parser ashirazi Programming 1 09-20-2004 03:33 AM
HTML::Parser behaviour lackluster Programming 0 08-06-2003 08:49 AM


All times are GMT -5. The time now is 03:42 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration