MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] minivend detects perl-errors !



hans schneidhofer wrote:

> these errors are as follows :

> perl : warning : falling back to standard locale ("C")
> Can't locate HTML/Entities.pm in @ INC (@INC contains :
> /usr/lib/minivend/lib /usr/lib/perl5/5.00503/i386-linux
> /usr/lib/perl5/5.00503
> /usr/lib/perl5/site_perl/5.005/i386-linux
> /usr/lib/perl5/site_perl/5.005 .) at
> (usr/lib/minivend/lib/Vend/Parser.pm line 107
> 
> But : have found that file Entities.pm in :
> /usr/local/src//minivend-3.14-3/extra/HTML and
> /usr/local/mvend/lib/HTML
> 
> So, where should be the file "Entities.pm"      

You can add the mvend directory to @INC by running on the command line:

setenv PERL5LIB /usr/local/mvend/lib

and add the line to your /etc/inittab file so it will be set each time
you restart.  This works fine on my BSDI box, but you may have to
substitute "PATH" for "PERL5LIB" in Linux. Give this a read:

http://www.redhat.com/mirrors/LDP/HOWTO/mini/Path-3.html

Alternatively, you could also simply move the /HTML directory to
/usr/lib/perl5/site_perl/5.005 where it belongs.

Sid MacLeod
http://www.nlna.org
sid@nlna.org


Search for: Match: Format: Sort by: