Perlfect Solutions
 

[Perlfect-search] DB_File not being found on Server. Which one should I use?

C. Engelhart cartere@vfr.net
Sat, 2 Sep 2000 18:27:35 -0700
This is a multi-part message in MIME format.

------=_NextPart_000_000D_01C0150B.7721C7E0
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

O.K, thanks to everyone's help, I the whole SBDM and DB_File issue is =
clear now.
So, I tried to find out why Perlfect's indexer was Not locating DB_File =
by seaching the server to find out the location(s) where DB_FILE exists. =
 In addition,
I contacted my ISP's Webmaster and he insists that DB_File is installed, =
but
that there are several versions of Perl on the IBM RS/6000 AIX server.  =
Here
is the output of the find.

<root@winery:/home/root> find /usr -name DB*
/usr/local/lib/perl5/site_perl/5.005/DB_File.pm.save
/usr/local/lib/perl5/5.00502/aix/auto/DB_File
/usr/local/lib/perl5/5.00502/aix/auto/DB_File/DB_File.a
/usr/local/lib/perl5/5.00502/aix/auto/DB_File/DB_File.so
/usr/local/lib/perl5/5.00502/aix/auto/DB_File/DB_File.none
/usr/local/lib/perl5/5.00502/aix/auto/DB_File/DB_File.bs
/usr/local/lib/perl5/5.00502/aix/DB_File.pm
/usr/local/lib/perl5/5.00502/auto/DB_File
/usr/local/lib/perl5/5.00502/man/man3/DB_File.3
<root@winery:/home/root>

I checked all the Perlfect  .PL programs and they are set to
#!/usr/local/bin/perl5 and the indexer.pl is still not finding DB_File =
(see
the out put form my original message in this thread).

NEXT, I did a PERL5 Verify to find out what order Perl is looking at =
things.
Here is the output.  Given all of this, does anyone have any =
recommendations
for my next step?

$ perl5 -V
Summary of my perl5 (5.0 patchlevel 5 subversion 2) configuration:
  Platform:
    osname=3Daix, osvers=3D4.3.1.0, archname=3Daix-thread
    uname=3D'aix garlic 3 4 004354144c00 '
    hint=3Dprevious, useposix=3Dtrue, d_sigaction=3Ddefine
    usethreads=3Ddefine useperlio=3Dundef d_sfio=3Dundef
  Compiler:
    cc=3D'cc', optimize=3D'-O3', gccversion=3D
    cppflags=3D'-D_LONG_LONG -I/usr/local/include'
 ccflags =3D'-D_LONG_LONG -I/usr/local/include'
    stdchar=3D'unsigned char', d_stdstdio=3Ddefine, usevfork=3Dfalse
    intsize=3D4, longsize=3D4, ptrsize=3D4, doublesize=3D8
    d_longlong=3Ddefine, longlongsize=3D8, d_longdbl=3Ddefine, =
longdblsize=3D8
    alignbytes=3D8, usemymalloc=3Dn, prototype=3Ddefine
  Linker and Libraries:
    ld=3D'ld', ldflags =3D'-L/usr/local/lib'
    libpth=3D/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=3D-lnsl -ldbm -ldl -lld -lm -lc -lcrypt -lbsd -lPW -lpthreads =
-ldb
    libc=3D/lib/libc.a, so=3Da, useshrplib=3Dfalse, libperl=3Dlibperl.a
  Dynamic Linking:
    dlsrc=3Ddl_aix.xs, dlext=3Dso, d_dlsymun=3Dundef,
ccdlflags=3D'-bE:$(PERL_INC)/perl.exp'
    cccdlflags=3D' ',
lddlflags=3D'-bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp =
-bE:$(BASEEXT).exp -b
noentry -lc -lpthreads -L/usr/local/lib -L/usr/lib'


Characteristics of this binary (from libperl):
  Built under aix
  Compiled at Feb 18 2000 08:56:53
  @INC:
    /usr/local/lib/perl5/5.00502/aix
    /usr/local/lib/perl5/5.00502
    /usr/local/lib/perl5/site_perl/5.005/aix
    /usr/local/lib/perl5/site_perl/5.005
    .
$

I  Welcome any input anyone can provide.



> From: Daniel Naber <dnaber@mini.gt.owl.de>
> To: perlfect-search@perlfect.com
> Subject: Re: [Perlfect-search] Indexer has errors and search lists =
pages
WithOUT the word I was searching for.
> Date: Wed, 30 Aug 2000 18:27:35 +0200
> Reply-To: perlfect-search@perlfect.com
>
> On Mit, 30 Aug 2000, you wrote:
>
> > > Here are the errors in the indexer.  SDBM_FILE is installed (see
below).
> >  I did a find on DB_FILE and it appears to reside on the system as =
well.
>
> > Using SDBM_File...
>
> But DB_File is not used... so it's not installed, at least not =
correctly
> (normally, the admin user should install it).
>
> Regards
>  Daniel
>



------=_NextPart_000_000D_01C0150B.7721C7E0
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>O.K, thanks to everyone's help, I the =
whole SBDM=20
and DB_File issue is clear now.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>So, I tried to find out why Perlfect's =
indexer was=20
Not locating DB_File by seaching the server to find out the location(s) =
where=20
DB_FILE exists.&nbsp; In addition,<BR>I contacted my ISP's Webmaster and =
he=20
insists that DB_File is installed, but<BR>that there are several =
versions of=20
Perl on the IBM RS/6000 AIX server.&nbsp; Here<BR>is the output of the=20
find.<BR><BR>&lt;root@winery:/home/root&gt; find /usr -name=20
DB*<BR>/usr/local/lib/perl5/site_perl/5.005/DB_File.pm.save<BR>/usr/local=
/lib/perl5/5.00502/aix/auto/DB_File<BR>/usr/local/lib/perl5/5.00502/aix/a=
uto/DB_File/DB_File.a<BR>/usr/local/lib/perl5/5.00502/aix/auto/DB_File/DB=
_File.so<BR>/usr/local/lib/perl5/5.00502/aix/auto/DB_File/DB_File.none<BR=
>/usr/local/lib/perl5/5.00502/aix/auto/DB_File/DB_File.bs<BR>/usr/local/l=
ib/perl5/5.00502/aix/DB_File.pm<BR>/usr/local/lib/perl5/5.00502/auto/DB_F=
ile<BR>/usr/local/lib/perl5/5.00502/man/man3/DB_File.3<BR>&lt;root@winery=
:/home/root&gt;<BR><BR>I=20
checked all the Perlfect&nbsp; .PL programs and they are set=20
to<BR>#!/usr/local/bin/perl5 and the indexer.pl is still not finding =
DB_File=20
(see<BR>the out put form my original message in this =
thread).<BR><BR>NEXT, I did=20
a PERL5 Verify to find out what order Perl is looking at things.<BR>Here =
is the=20
output.&nbsp; Given all of this, does anyone have any =
recommendations<BR>for my=20
next step?<BR><BR>$ perl5 -V<BR>Summary of my perl5 (5.0 patchlevel 5 =
subversion=20
2) configuration:<BR>&nbsp; Platform:<BR>&nbsp;&nbsp;&nbsp; =
osname=3Daix,=20
osvers=3D4.3.1.0, archname=3Daix-thread<BR>&nbsp;&nbsp;&nbsp; =
uname=3D'aix garlic 3 4=20
004354144c00 '<BR>&nbsp;&nbsp;&nbsp; hint=3Dprevious, useposix=3Dtrue,=20
d_sigaction=3Ddefine<BR>&nbsp;&nbsp;&nbsp; usethreads=3Ddefine =
useperlio=3Dundef=20
d_sfio=3Dundef<BR>&nbsp; Compiler:<BR>&nbsp;&nbsp;&nbsp; cc=3D'cc', =
optimize=3D'-O3',=20
gccversion=3D<BR>&nbsp;&nbsp;&nbsp; cppflags=3D'-D_LONG_LONG=20
-I/usr/local/include'<BR>&nbsp;ccflags =3D'-D_LONG_LONG=20
-I/usr/local/include'<BR>&nbsp;&nbsp;&nbsp; stdchar=3D'unsigned char',=20
d_stdstdio=3Ddefine, usevfork=3Dfalse<BR>&nbsp;&nbsp;&nbsp; intsize=3D4, =
longsize=3D4,=20
ptrsize=3D4, doublesize=3D8<BR>&nbsp;&nbsp;&nbsp; d_longlong=3Ddefine, =
longlongsize=3D8,=20
d_longdbl=3Ddefine, longdblsize=3D8<BR>&nbsp;&nbsp;&nbsp; =
alignbytes=3D8,=20
usemymalloc=3Dn, prototype=3Ddefine<BR>&nbsp; Linker and=20
Libraries:<BR>&nbsp;&nbsp;&nbsp; ld=3D'ld', ldflags=20
=3D'-L/usr/local/lib'<BR>&nbsp;&nbsp;&nbsp; libpth=3D/usr/local/lib /lib =
/usr/lib=20
/usr/ccs/lib<BR>&nbsp;&nbsp;&nbsp; libs=3D-lnsl -ldbm -ldl -lld -lm -lc =
-lcrypt=20
-lbsd -lPW -lpthreads -ldb<BR>&nbsp;&nbsp;&nbsp; libc=3D/lib/libc.a, =
so=3Da,=20
useshrplib=3Dfalse, libperl=3Dlibperl.a<BR>&nbsp; Dynamic=20
Linking:<BR>&nbsp;&nbsp;&nbsp; dlsrc=3Ddl_aix.xs, dlext=3Dso,=20
d_dlsymun=3Dundef,<BR>ccdlflags=3D'-bE:$(PERL_INC)/perl.exp'<BR>&nbsp;&nb=
sp;&nbsp;=20
cccdlflags=3D' ',<BR>lddlflags=3D'-bhalt:4 -bM:SRE =
-bI:$(PERL_INC)/perl.exp=20
-bE:$(BASEEXT).exp -b<BR>noentry -lc -lpthreads -L/usr/local/lib=20
-L/usr/lib'<BR><BR><BR>Characteristics of this binary (from =
libperl):<BR>&nbsp;=20
Built under aix<BR>&nbsp; Compiled at Feb 18 2000 08:56:53<BR>&nbsp;=20
@INC:<BR>&nbsp;&nbsp;&nbsp;=20
/usr/local/lib/perl5/5.00502/aix<BR>&nbsp;&nbsp;&nbsp;=20
/usr/local/lib/perl5/5.00502<BR>&nbsp;&nbsp;&nbsp;=20
/usr/local/lib/perl5/site_perl/5.005/aix<BR>&nbsp;&nbsp;&nbsp;=20
/usr/local/lib/perl5/site_perl/5.005<BR>&nbsp;&nbsp;&nbsp; =
.<BR>$</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I&nbsp; Welcome any input anyone can=20
provide.<BR><BR><BR><BR>&gt; From: Daniel Naber &lt;<A=20
href=3D"mailto:dnaber@mini.gt.owl.de">dnaber@mini.gt.owl.de</A>&gt;<BR>&g=
t; To: <A=20
href=3D"mailto:perlfect-search@perlfect.com">perlfect-search@perlfect.com=
</A><BR>&gt;=20
Subject: Re: [Perlfect-search] Indexer has errors and search lists=20
pages<BR>WithOUT the word I was searching for.<BR>&gt; Date: Wed, 30 Aug =
2000=20
18:27:35 +0200<BR>&gt; Reply-To: <A=20
href=3D"mailto:perlfect-search@perlfect.com">perlfect-search@perlfect.com=
</A><BR>&gt;<BR>&gt;=20
On Mit, 30 Aug 2000, you wrote:<BR>&gt;<BR>&gt; &gt; &gt; Here are the =
errors in=20
the indexer.&nbsp; SDBM_FILE is installed (see<BR>below).<BR>&gt; =
&gt;&nbsp; I=20
did a find on DB_FILE and it appears to reside on the system as=20
well.<BR>&gt;<BR>&gt; &gt; Using SDBM_File...<BR>&gt;<BR>&gt; But =
DB_File is not=20
used... so it's not installed, at least not correctly<BR>&gt; (normally, =
the=20
admin user should install it).<BR>&gt;<BR>&gt; Regards<BR>&gt;&nbsp;=20
Daniel<BR>&gt;<BR><BR></DIV></FONT></BODY></HTML>

------=_NextPart_000_000D_01C0150B.7721C7E0--