Mailing List ArchiveSupport 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?
- To: tlug@example.com
- Subject: Re: [tlug] What is the easiest way to install a perl module?
- From: Jake Morrison <jake_morrison@example.com>
- Date: Tue, 19 Feb 2002 21:44:39 -0800 (PST)
- Content-type: text/plain; charset=us-ascii
- In-reply-to: <20020220135433.379f1f3c.s45652001@example.com>
- Reply-to: Jacob.Morrison@example.com
Tony, The earlier message indicates that perl can't load the binary (C) part of the HTML::Parser module. That indicates that there are problems with the HTML::Parser installation (or the perl installation). Is there an RPM for HTML::Parser for RedHat? If so, you can reinstall. The CPAN install message below indicates some problem with your gcc installation. Perhaps things have become corrupt under /usr/lib, and that is affecting both gcc and perl. You might try compiling a simple C program to see. Jake --- Antony Stace <s45652001@example.com> wrote: > 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 > __________________________________________________ Do You Yahoo!? Got something to say? Say it better with Yahoo! Video Mail http://mail.yahoo.com
- Follow-Ups:
- Re: [tlug] What is the easiest way to install a perl module?
- From: Antony Stace
- References:
- Re: [tlug] What is the easiest way to install a perl module?
- From: Antony Stace
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] What is the easiest way to install a perl module?
- Next by Date: Re: [tlug] What is the easiest way to install a perl module?
- Previous by thread: Re: [tlug] What is the easiest way to install a perl module?
- Next by thread: Re: [tlug] What is the easiest way to install a perl module?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links