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. |
Try using cpan, as root:
perl -MCPAN -eshell Then at the prompt: install HTML::Parser |
It hangs at:
Code:
cpan> install HTML::Parser |
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/ |
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... |
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 |
I think it is actually do do with glibc - do you have all the headers installed?
|
Quote:
Quote:
|
Take a look in your package directory:
ls /var/log/packages/glib* |
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 |
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. |