Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] What is the easiest way to install a perl module?



Ummm...seems 

perl -MCPAN -e "install HTML::Parser"

is my friend....or maybe not.  I ran this command and got the following
errors.

  CPAN.pm: Going to build G/GA/GAAS/HTML-Parser-3.25.tar.gz

mkdir blib
mkdir blib/lib
mkdir blib/lib/HTML
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/HTML
mkdir blib/arch/auto/HTML/Parser
mkdir blib/lib/auto
mkdir blib/lib/auto/HTML
mkdir blib/lib/auto/HTML/Parser
mkdir blib/man3
cp lib/HTML/HeadParser.pm blib/lib/HTML/HeadParser.pm
cp lib/HTML/LinkExtor.pm blib/lib/HTML/LinkExtor.pm
cp lib/HTML/PullParser.pm blib/lib/HTML/PullParser.pm
cp Parser.pm blib/lib/HTML/Parser.pm
cp lib/HTML/Entities.pm blib/lib/HTML/Entities.pm
cp lib/HTML/TokeParser.pm blib/lib/HTML/TokeParser.pm
cp lib/HTML/Filter.pm blib/lib/HTML/Filter.pm
/usr/bin/perl -I/usr/lib/perl5/5.6.0/i586-linux -I/usr/lib/perl5/5.6.0 /usr/lib/perl5/5.6.0/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.6.0/ExtUtils/typemap -typemap typemap Parser.xs > Parser.xsc && mv Parser.xsc Parser.c
/usr/bin/perl mkhctype >hctype.h
/usr/bin/perl mkpfunc >pfunc.h
gcc -V 2.95.3 -c  -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -mpentium -Wall -fstrength-reduce -Wno-parentheses -ffast-math -malign-functions=2 -malign-jumps=2 -malign-loops=2     -DVERSION=\"3.25\" -DXS_VERSION=\"3.25\" -fpic -I/usr/lib/perl5/5.6.0/i586-linux/CORE -DMARKED_SECTION Parser.c
gcc: installation problem, cannot exec `cpp0': No such file or directory
gcc: file path prefix `/usr/lib/gcc-lib/i586-redhat-linux/2.95.3/' never used
make: *** [Parser.o] Error 1
  /usr/bin/make  -- NOT OK
Running make test
  Oops, make had returned bad status
Running make install
  Oops, make had returned bad status

Any idea what I need to do to correct this problem?

Cheers

Tony



On Wed, 20 Feb 2002 13:34:23 +0900
Antony Stace <s45652001@example.com> wrote:

> Hi
> 
> I remember a long time ago installing modules for perl via some automatic
> install script.  What is the easiest way to install HTML::Parser, also is
> this all I need by the look of this? 
> 
> Reading configuration from "/root/.sitescooper/sitescooper.cf".
> Can't locate loadable object for module HTML::Parser in @example.com (@example.com contains: /usr/lib/perl5/5.6.0/i586-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i586-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl . /usr/bin/lib /usr/bin/site_perl /usr/bin/../share/sitescooper /usr/bin/../share/sitescooper/lib /usr/bin/../share/sitescooper/site_perl) at /usr/bin/../share/sitescooper/site_perl/HTML/Entities.pm line 79
> Compilation failed in require at /usr/bin/../share/sitescooper/site_perl/HTML/Entities.pm line 79.
> Compilation failed in require at /usr/bin/../share/sitescooper/lib/Sitescooper/Main.pm line 809.

_________________________________________________________
Do You Yahoo!?
Get your free @example.com address at http://mail.yahoo.com


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links