It sounds like there might be a problem with you perl install. I say that
because if you look at the output of the perl -V you won't see
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/ any where in the @INC:
(the last line of that output) I also see that it has versions 5.002.
which must be upgraded.
Do you have multiple builds of perl on your system?
Regards,
Anton Kokarski
-----Original Message-----
From: Samimi, Nina [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 14, 2001 4:23 PM
To: Kokarski, Anton
Subject: RE: Error installing DBI
Hi,
Thanks for the reply.
1)))which path should I compare with the lib path when I am using "perl -V??
>>perl -V
Summary of my perl5 (5.0 patchlevel 2) configuration:
Platform:
osname=solaris, osver=2.5, archname=sun4-solaris
uname='sunos mcmmfs01 5.5 generic sun4m sparc sunw,sparcstation-10 '
hint=recommended, useposix=true
Compiler:
cc='cc', optimize='-O', gccversion=
cppflags=''
ccflags =''
stdchar='unsigned char', d_stdstdio=define, usevfork=false
voidflags=15, castflags=0, d_casti32=define, d_castneg=define
intsize=4, alignbytes=8, usemymalloc=y, randbits=15
Linker and Libraries:
ld='cc', ldflags =' -L/opt/local/lib -L/opt/gnu/lib'
libpth=/opt/local/lib /opt/gnu/lib /lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
libc=/lib/libc.so, so=so
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
cccdlflags='-Kpic', lddlflags='-G -L/opt/local/lib -L/opt/gnu/lib'
@INC: /PRA/tools/lib/perl5////sun4-solaris/5.002 /PRA/tools/lib/perl5///
/PRA/tools/lib/perl5////site_perl/sun4-solaris
/PRA/tools/lib/perl5////site_perl .
============================================================================
====
2)))the echo $PERL5LIB commands does not seem to be working from the command
line.
qfsaba30:qfoper1: /home/qfoper1/scripts/sysblast >echo $PERL5LIB
PERL5LIB: Undefined variable.
3)))when I print the @INC in my script, it gives me this path
/PRA/tools/lib/perl5////sun4-solaris/5.002 /PRA/tools/lib/perl5///
/PRA/tools/lib/perl5////site_perl/sun4-solaris
/PRA/tools/lib/perl5////site_perl . /PRA/tools/bin
is this makes sense?
Nina
-----Original Message-----
From: Kokarski, Anton [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 15, 2001 8:59 AM
To: 'Samimi, Nina'
Subject: RE: Error installing DBI
try running
perl -V
echo $PERL5LIB
from command line if it matches with your DBI lib then try to print out @INC
from your script and $ENV{PERL5LIB}
if it's different you have a problem with the environment that you script is
running in.
if non have you DBI then there is something wrong with the install of DBI
module
Regards,
Anton Kokarski
-----Original Message-----
From: Samimi, Nina [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 14, 2001 3:54 PM
To: Michael A. Chase; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: Error installing DBI
Hi,
I think I have a similar problem as Mehdi. The problem is my script does not
run and gives me this error:
Can't locate DBI.pm in @INC at qf_system_blast.pl line 14.
BEGIN failed--compilation aborted at qf_system_blast.pl line 14.
I took your advise and checked /usr/local/lib and I found this file under
this path
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/DBI.pm
so could you please tell me what I am wrong??
thanks
Nina
-----Original Message-----
From: Michael A. Chase [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 15, 2001 4:36 AM
To: Mahdi A. Sbeih; [EMAIL PROTECTED]
Subject: Re: Error installing DBI
ExtUtils::MakeMaker is one of the modules that comes with Perl, so if it
can't be found in the standard @INC list, you have a seriously damaged Perl
installation.
See if the file exists anywhere under /usr/local/lib/perl5. Perl is looking
for modules under /usr/local/lib because that's where the libraries were
supposed to go when the perl executable was built.
You might have more than one perl executable file. Perhaps one in /usr/bin/
and one in /usr/local/bin/.
--
Mac :})
** I normally forward private database questions to the DBI mail lists. **
Give a hobbit a fish and he'll eat fish for a day.
Give a hobbit a ring and he'll eat fish for an age.
----- Original Message -----
From: "Mahdi A. Sbeih" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 14, 2001 07:10
Subject: Error installing DBI
> Hi All,
>
> While I am trying to install DBI 1.15 on Solaris,
>
> perl Makefile.PL PREFIX=$HOME INSTALLSITELIB=$HOME
> INSTALLSITEARCH=$HOME/sun4-solaris
>
> I got this error:
>
> Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: lib
> /usr/local/lib/perl5/sun4-solaris/5.00404 /usr/local/lib/perl5
> /usr/local/lib/perl5/site_perl/sun4-solaris /usr/local/lib/perl5/site_perl
> .) at Makefile.PL line 14.
> BEGIN failed--compilation aborted at Makefile.PL line 14.
>
>
>
> Any explanations?
>
> Why it is looking in /usr/local....
> I have only the Perl interpreter on the machine, is there anything extra
> needed?