LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing HTML::Parser via webmin fails (https://www.linuxquestions.org/questions/linux-software-2/installing-html-parser-via-webmin-fails-176665/)

dARkHunTEr 05-01-2004 10:15 AM

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.

david_ross 05-01-2004 10:22 AM

Try using cpan, as root:
perl -MCPAN -eshell

Then at the prompt:
install HTML::Parser

dARkHunTEr 05-01-2004 10:38 AM

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.

Matt Collier 05-01-2004 11:53 AM

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/

dARkHunTEr 05-01-2004 01:07 PM

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...

Matt Collier 05-01-2004 02:27 PM

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

david_ross 05-01-2004 02:33 PM

I think it is actually do do with glibc - do you have all the headers installed?

dARkHunTEr 05-01-2004 03:21 PM

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?

david_ross 05-01-2004 03:26 PM

Take a look in your package directory:
ls /var/log/packages/glib*

dARkHunTEr 05-01-2004 04:08 PM

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

dARkHunTEr 05-01-2004 04:29 PM

It works now, I reinstalled some glibc packages and then HTML::Parser installed.


All times are GMT -5. The time now is 05:12 PM.