RE: -dns -cache
Inmaculada Cava (icava@gva.es)
Wed, 16 Jul 1997 10:42:52 +0300
>When I run wwwstat with a -dns -cache 'dnscache' do I have to create a =
>dnscache file or it will creat one for me?, in this case where is it?
It will create the files if they do not already exist. They will
be in the current working directory unless a pathname is given
in the -cache option.
...Roy
[Inmaculada Cava]
I had this problem:
$ wwwstat -F ws.rc -dns -cache 'dnscache' > prueba.html
Can't locate AnyDBM_File.pm in @INC at wwwstat line 1343
So, I tried to locate this file and I found it in:
/opt/gnu/lib/perl5
among these other files:
AnyDBM_File.pm NDBM_File.pm ODBM_File.pm SDBM_File.pm
Then I saw this line in wwwstat.pl:
unshift(@INC, '.', ($ENV{'HOME'} || $ENV{'LOGDIR'}));
and I said to myself: why don't add this path so as to find ANYDB... :
unshift(@INC, '.', ($ENV{'HOME'} || $ENV{'LOGDIR'}),'/opt/gnu/lib/perl5');
but now this is the result:
[Inmaculada Cava] $ wwwstat -F ws.rc -dns -cache 'dnscache' > prueba.html
Global symbol "ISA" requires explicit package name at /opt/gnu/lib/perl5/SDBM_F.
Global symbol "VERSION" requires explicit package name at /opt/gnu/lib/perl5/SD.
Global symbol "ISA" requires explicit package name at /opt/gnu/lib/perl5/ODBM_F.
Global symbol "VERSION" requires explicit package name at /opt/gnu/lib/perl5/OD.
AnyDBM_File.pm did not return a true value at wwwstat line 1343.
I suspect that the problem is related to the location of the library.
Could anyone help me please?
Thanks in advance.
---------------------------------------------------------------------------------------
Inmaculada Cava Ferreruela
Conselleria de Economia, Hacienda y Adminstraciones Publicas
Tfn.: +34 6 3865656
Fax: +34 6 3863773
E-mail: icava@gva.es
Generalitat Valenciana
C/ Miguelete, 5
46001 Valencia (SPAIN)