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: Antony Stace <s45652001@example.com>
- Date: Wed, 20 Feb 2002 15:10:28 +0900
- Content-transfer-encoding: 7bit
- Content-type: text/plain; charset=ISO-2022-JP
- In-reply-to: <20020220054439.4321.qmail@example.com>
- References: <20020220135433.379f1f3c.s45652001@example.com><20020220054439.4321.qmail@example.com>
Hi Jake I took your suggestion and installed the rpm -thanks. I am still getting an error that perl cannot find HTML::Parser in @example.com, how do I set the INC variable? Cheers Tony [antony@example.com .plucker]# find /usr/lib/perl5/ -name "HTML*" /usr/lib/perl5/man/man3/HTML::Tagset.3 /usr/lib/perl5/site_perl/5.6.0/i586-linux/auto/HTML /usr/lib/perl5/site_perl/5.6.0/HTML /usr/lib/perl5/site_perl/5.6.0/i386-linux/HTML /usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/HTML [antony@example.com .plucker]# find /usr/lib/perl5/ -name "HTML*" -exec ls {} \; /usr/lib/perl5/man/man3/HTML::Tagset.3 Tagset Tagset.pm Entities.pm Filter.pm HeadParser.pm LinkExtor.pm Parser.pm PullParser.pm TokeParser.pm Parser [antony@example.com .plucker]# sitescooper Reading configuration from "/antony/.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. [antony@example.com .plucker]# > 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 -- Cheers Tony。 --------------------------------------------------------------------- _________________________________________________________ Do You Yahoo!? Get your free @example.com address at http://mail.yahoo.com
- References:
- Re: [tlug] What is the easiest way to install a perl module?
- From: Antony Stace
- Re: [tlug] What is the easiest way to install a perl module?
- From: Jake Morrison
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