Re: error can't locate DBI.pm

2014-05-21 Thread Daminto Lie
Thank you for your reply.

Please see my answers to your questions.


> So this particular Perl does not look in /root/perl5/ as you report below.

> Who are you logged in as when you do this?


Yes, correct. I logged in as root when I did this.

But, I must say that I did change the ownership of the package as follows:
- tar xvfz DBI-1.631
- chown –R user.user ./DBI-1.631
- chmod 755 ./DBI-1.631
- cd ./DBI-1.631
- perl Makefile.PL
- make
- make test
- make test TEST_VERBOSE=1
- make install


And when I run all the above commands, I logged in as root. hmmm... could it be 
that I shouldn't have logged in as root but instead, run "sudo some_commands" 


>> This was how I installed the DBI-1.631.
>>
>> - perl Makefile.PL
>> - make
>> - make test
>> - make test TEST_VERBOSE=1
>> - make install

> Who are you logged in as when you do this?

as root

>> And this was how I installed DBD-mysql-4.027
>>
>> - perl Makefile.PL = --mysql_config=/home/mysql/bin/mysql_config 
>> --testuser=root --testpassword=myPasswd
>> - make -j3
>> - make test
>> - checkinstall -D make install

> Who are you logged in as when you do this?
as root

>> I also noticed that during the completion of the installation of DBI, 
it actually installed it in the /root directory as follows:
>>
>> Installing 
>> /root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/auto/DBI/Driver_xst.h
[snip]

> Perhaps you were logged on as root when you installed this version of 
Perl and DBI.

Yes, that's correct.


>> And Furthermore, I might have accidentally installed Perl twice - one 
>> manually from the source and the other from the Repo.
>>
>> Thus, now, my DBI.pm is located in the following location:
>> /root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI.pm
>> /root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/Bundle/DBI.pm

> That's normal. The problem lies elsewhere.

>> This has affected the operation of my spamassassin, amavis and sqlgrey. All 
>> of them throw up a similar error
>>
>>
 For spamassassin, the error is Can't locate DBI.pm in @INC (@INC 
contains: lib /usr/local/share/perl/5.14.2 /etc/perl 
/usr/local/lib/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 
/usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl) at 
/usr/local/share/perl/5.14.2/Mail/SpamAssassin/SQLBasedAddrList.pm line 
82.

> This suggests spamassassin (and amavis etc below) are not logged on as 
root when they run. That is, they are using a different Perl than the 
one installed as root.


When I built the server from scratch back then, I had done something that I 
should not have done in the first place. I installed perl from the source as 
follows:
- tar xvzf perl-5.14.2.tar.gz
- cd perl-5.14.2
- ./Configure –des –Dprefix=/usr/local/perl
- make
- checkinstall –D make install


To be honest, I'm not sure if there are two perls installed on my systems but 
if I recalled, I might have accidentally run CPAN to install the perl again. 
very stupid move... learned my lesson the hard way.

Thank you very much in advance


On Thursday, 22 May 2014 8:51 AM, Ron Savage  wrote:
 


Hi

See below.

On 21/05/14 00:40, Daminto Lie wrote:
> Hi,
>
> I've been getting the following errors after installing DBI and DBD-mysql 
> manually from source.
>
> Can't locate DBI.pm in @INC (@INC contains:
> /etc/perl
> /usr/local/lib/perl/5.14.2
> /usr/local/share/perl/5.14.2
> /usr/lib/perl5 /usr/share/perl5
> /usr/lib/perl/5.14
> /usr/share/perl/5.14
> /usr/local/lib/site_perl .)

So this particular Perl does not look in /root/perl5/ as you report below.

Who are you logged in as when you do this?

> This was how I installed the DBI-1.631.
>
> - perl Makefile.PL
> - make
> - make test
> - make test TEST_VERBOSE=1
> - make install

Who are you logged in as when you do this?

> And this was how I installed DBD-mysql-4.027
>
> - perl Makefile.PL = --mysql_config=/home/mysql/bin/mysql_config 
> --testuser=root --testpassword=myPasswd
> - make -j3
> - make test
> - checkinstall -D make install

Who are you logged in as when you do this?

> I also noticed that during the completion of the installation of DBI, it 
> actually installed it in the /root directory as follows:
>
> Installing 
> /root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/auto/DBI/Driver_xst.h
[snip]

Perhaps you were logged on as root when you installed this version of 
Perl and DBI.

> And Furthermore, I might have accidentally installed Perl twice - one 
> manually from the source and the other from the Repo.
>
> Thus, now, my DBI.pm is located in the following location:
> /root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI.pm
> /root/perl5/lib/perl

Re: error can't locate DBI.pm

2014-05-21 Thread Ron Savage

Hi

See below.

On 21/05/14 00:40, Daminto Lie wrote:

Hi,

I've been getting the following errors after installing DBI and DBD-mysql 
manually from source.

Can't locate DBI.pm in @INC (@INC contains:
/etc/perl
/usr/local/lib/perl/5.14.2
/usr/local/share/perl/5.14.2
/usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.14
/usr/share/perl/5.14
/usr/local/lib/site_perl .)


So this particular Perl does not look in /root/perl5/ as you report below.

Who are you logged in as when you do this?


This was how I installed the DBI-1.631.

- perl Makefile.PL
- make
- make test
- make test TEST_VERBOSE=1
- make install


Who are you logged in as when you do this?


And this was how I installed DBD-mysql-4.027

- perl Makefile.PL = --mysql_config=/home/mysql/bin/mysql_config 
--testuser=root --testpassword=myPasswd
- make -j3
- make test
- checkinstall -D make install


Who are you logged in as when you do this?


I also noticed that during the completion of the installation of DBI, it 
actually installed it in the /root directory as follows:

Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/auto/DBI/Driver_xst.h

[snip]

Perhaps you were logged on as root when you installed this version of 
Perl and DBI.



And Furthermore, I might have accidentally installed Perl twice - one manually 
from the source and the other from the Repo.

Thus, now, my DBI.pm is located in the following location:
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI.pm
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/Bundle/DBI.pm


That's normal. The problem lies elsewhere.


This has affected the operation of my spamassassin, amavis and sqlgrey. All of 
them throw up a similar error

For spamassassin, the error is Can't locate DBI.pm in @INC (@INC contains: lib 
/usr/local/share/perl/5.14.2 /etc/perl /usr/local/lib/perl/5.14.2 
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 
/usr/local/lib/site_perl) at 
/usr/local/share/perl/5.14.2/Mail/SpamAssassin/SQLBasedAddrList.pm line 82.


This suggests spamassassin (and amavis etc below) are not logged on as 
root when they run. That is, they are using a different Perl than the 
one installed as root.



For amavis, the error is Can't locate DBI.pm in @INC (@INC contains: lib 
/etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 
/usr/local/lib/site_perl) at 
/usr/local/share/perl/5.14.2/Mail/SpamAssassin/BayesStore/SQL.pm line 50.

Can't locate DBI.pm in @INC (@INC contains: lib /etc/perl 
/usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 
/usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 
/usr/local/lib/site_perl) at 
/usr/local/share/perl/5.14.2/Mail/SpamAssassin/BayesStore/MySQL.pm line 51.

For sqlgrey, it is Can't locate DBI.pm in @INC (@INC contains: /etc/perl 
/usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 
/usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 
/usr/local/lib/site_perl .) at /usr/sbin/sqlgrey line 34.
BEGIN failed--compilation aborted at /usr/sbin/sqlgrey line 34.

I was wondering if there is any way of pointing it to the right location of DBI 
and DBD-mysql so that it would be able to load the DBI.pm (without having to 
rebuild my system from scratch)


Each version of Perl installed knows if and where DBI is installed.

How many versions of Perl do you have installed?

Which version is being used by each of the programs you've having 
trouble with?


--
Ron Savage
savage.net.au


error can't locate DBI.pm

2014-05-21 Thread Daminto Lie
Hi,

I've been getting the following errors after installing DBI and DBD-mysql 
manually from source.

Can't locate DBI.pm in @INC (@INC contains: 
/etc/perl
/usr/local/lib/perl/5.14.2
/usr/local/share/perl/5.14.2
/usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.14
/usr/share/perl/5.14
/usr/local/lib/site_perl .)

This was how I installed the DBI-1.631.

- perl Makefile.PL
- make
- make test
- make test TEST_VERBOSE=1
- make install


And this was how I installed DBD-mysql-4.027

- perl Makefile.PL = --mysql_config=/home/mysql/bin/mysql_config 
--testuser=root --testpassword=myPasswd
- make -j3
- make test
- checkinstall -D make install


I also noticed that during the completion of the installation of DBI, it 
actually installed it in the /root directory as follows:

Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/auto/DBI/Driver_xst.h
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/auto/DBI/dbipport.h
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/auto/DBI/DBI.so
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/auto/DBI/DBI.bs
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/auto/DBI/dbivport.h
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/auto/DBI/Driver.xst
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/auto/DBI/dbd_xsh.h
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/auto/DBI/dbi_sql.h
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/auto/DBI/DBIXS.h
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/auto/DBI/dbixs_rev.h
Installing /root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/dbixs_rev.pl
Installing /root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI.pm
Installing /root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/DBD.pm
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/ProfileData.pm
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/ProxyServer.pm
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/Profile.pm
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/ProfileSubs.pm
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/W32ODBC.pm
Installing /root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/FAQ.pm
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/ProfileDumper.pm
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/Changes.pm
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/PurePerl.pm
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/Gofer/Execute.pm
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/Gofer/Response.pm
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/Gofer/Request.pm
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/Gofer/Transport/pipeone.pm
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/Gofer/Transport/stream.pm
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/Gofer/Transport/Base.pm
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/Gofer/Serializer/DataDumper.pm
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/Gofer/Serializer/Storable.pm
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/Gofer/Serializer/Base.pm
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/Const/GetInfoReturn.pm
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/Const/GetInfoType.pm
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/Const/GetInfo/ANSI.pm
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/Const/GetInfo/ODBC.pm
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/Util/_accessor.pm
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/Util/CacheMemory.pm
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/SQL/Nano.pm
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/DBD/Metadata.pm
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/DBD/SqlEngine.pm
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/DBD/SqlEngine/Developers.pod
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/DBD/SqlEngine/HowTo.pod
Installing 
/root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBI/ProfileDumper/Apache.pm
Installing /root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/Bundle/DBI.pm
Installing /root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBD/File.pm
Installing /root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBD/DBM.pm
Installing /root/perl5/lib/perl5/i686-linux-gnu-thread-multi-64int/DBD/NullP.pm
Installing /root/perl5/lib/perl5/i686-linux-gnu-th

Re: Can't locate DBI.pm

2008-05-28 Thread Jonathan Leffler
On Wed, May 28, 2008 at 8:37 AM, Singaravelan S (HCL Financial Services) <
[EMAIL PROTECTED]> wrote:

> DISCLAIMER:
>
> ---
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only.
>


Well, this is no help in the description.


The error implied by the subject line means you have not installed DBI - or
have not installed it where you can pick it up at runtime.

Since you've given no other information, you can't get any more help.



-- 
Jonathan Leffler <[EMAIL PROTECTED]> #include 
Guardian of DBD::Informix - v2008.0229 - http://dbi.perl.org
"Blessed are we who can laugh at ourselves, for we shall never cease to be
amused."


Can't locate DBI.pm

2008-05-28 Thread Singaravelan S (HCL Financial Services)
DISCLAIMER:
---
The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.
---

Re: Can't locate DBI.pm error

2005-08-27 Thread Jonathan Leffler
On 8/27/05, pravin jayakumar <[EMAIL PROTECTED]> wrote:
> 
> Hi,
> 
> I've installed NETDIFF and mysql in FC2 and while running "netdiff --all" 
> am getting the following error.Please help me in this regard.
> 
> Can't locate DBI.pm in @INC (@INC contains: 
> /usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3 
> /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi 
> /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi 
> /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi 
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi 
> /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 
> /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 
> /usr/lib/perl5/site_perl 
> /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi 
> /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi 
> /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi 
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi 
> /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 
> /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 
> /usr/lib/perl5/vendor_perl .) at /usr/sbin/netdiff line 4.
> BEGIN failed--compilation aborted at /usr/sbin/netdiff line 4.



Looks like NetDiff expects DBI to be available, so maybe you should make it 
available?

perl -MCPAN -e 'install DBI'

You'll probably end up having to install a suitable driver too:

perl -MCPAN -e 'install DBD::MySQL'


-- 
Jonathan Leffler <[EMAIL PROTECTED]> #include 
Guardian of DBD::Informix - v2005.02 - http://dbi.perl.org
"I don't suffer from insanity - I enjoy every minute of it."


Can't locate DBI.pm error

2005-08-27 Thread pravin jayakumar
Hi,

I've installed NETDIFF and mysql in FC2 and while running "netdiff --all" am 
getting the following error.Please help me in this regard.

Can't locate DBI.pm in @INC (@INC contains: 
/usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3 
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 
/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 
/usr/lib/perl5/site_perl 
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 
/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 
/usr/lib/perl5/vendor_perl .) at /usr/sbin/netdiff line 4.
BEGIN failed--compilation aborted at /usr/sbin/netdiff line 4.

ThanX in Advance

Regards,
Pravin

Re: Can't locate DBI.pm

2005-04-28 Thread Michael A Chase
On 04/28/2005 06:54 AM, Chekuri, Lalitha said:
My problem is:
To install perl it is asking cc
I downloaded gcc from freeware, 
To install gcc: if I have cc in path it is giving " /usr/ucb/cc:
language optional software package not installed" error.
	If I don't have cc in the path it is saying cc not found.

I am not sure what is wrong.
What is wrong is that you keep coming back to the list looking like you 
never read our previous responses.  Even when they are quoted in your email.

For questions concerning building perl, start with 
http://search.cpan.org/~nwclark/perl-5.8.6/INSTALL and 
http://search.cpan.org/~nwclark/perl-5.8.6/README.solaris#GCC .

You may find prebuilt gcc perls at  http://www.sunfreeware.com/ and 
http://www.blastwave.org .

For questions concerning building gcc start at http://gcc.gnu.org/install/ .
--
Mac :})
** I usually forward private questions to the appropriate mail list. **
Ask Smarter: http://www.catb.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.


RE: Can't locate DBI.pm

2005-04-28 Thread Michael Nhan
Lalitha,
My problem is:
To install perl it is asking cc
The perl source requires a compiler not necessarily cc.  Install gcc.  Put 
the path to gcc before the path to /usr/ucb/cc.  When you run configure 
within in the perl source, it should detect you have gcc and use it.

I downloaded gcc from freeware,
To install gcc: if I have cc in path it is giving " /usr/ucb/cc:
language optional software package not installed" error.
The binaries from freeware (http://www.sunfreeware.com/indexsparc9.html) 
should install fine without cc.  You should be  able to uncompress the 
package and do a pkgadd on the package to install  it.  It should install 
gcc into /usr/local/bin.  To make use of the gcc,  simply put 
/usr/local/bin in your path before /usr/ucb.

Regards,
Michael


RE: Can't locate DBI.pm

2005-04-28 Thread Reidy, Ron
This is in the Oracle installation docs.  If you have used 3.x successfully, so 
be it.  I am  a DBA and I follow the guides.

-
Ron Reidy
Lead DBA
Array BioPharma, Inc.


-Original Message-
From: Michael A Chase [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 27, 2005 6:54 PM
To: Reidy, Ron; dbi-users@perl.org
Subject: Re: Can't locate DBI.pm


On 04/27/2005 01:13 PM, Reidy, Ron said:

> b.  Install gcc properly (**AND** you will need to downgrade from the
> 3.x version to 2.96 as described in the Oracle installation manuals)

Where did you see this?  The advice is several years out of date.  I've 
used a couple different gcc 3.x versions to build DBI and DBD::Oracle.

-- 
Mac :})
** I usually forward private questions to the appropriate mail list. **
Ask Smarter: http://www.catb.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.

This electronic message transmission is a PRIVATE communication which contains
information which may be confidential or privileged. The information is 
intended 
to be for the use of the individual or entity named above. If you are not the 
intended recipient, please be aware that any disclosure, copying, distribution 
or use of the contents of this information is prohibited. Please notify the
sender  of the delivery error by replying to this message, or notify us by
telephone (877-633-2436, ext. 0), and then delete it from your system.



RE: Can't locate DBI.pm

2005-04-28 Thread Chekuri, Lalitha
My problem is:
To install perl it is asking cc
I downloaded gcc from freeware, 
To install gcc: if I have cc in path it is giving " /usr/ucb/cc:
language optional software package not installed" error.
If I don't have cc in the path it is saying cc not found.

I am not sure what is wrong.

Lalitha

-Original Message-
From: James D. White [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 28, 2005 9:48 AM
To: Michael A Chase
Cc: Chekuri, Lalitha; dbi-users@perl.org
Subject: Re: Can't locate DBI.pm

It looks like you have a fresh install of Solaris 9, not a fresh install

of perl.
"v5.6.1 built for sun4-solaris-64int" is the version that comes with 
Solaris 9,
which was built by Sun using a Sun C compiler and installed, I assume,
as
/usr/bin/perl.

You have two options.

1) Spend money. Buy and install the Sun C compiler that was used to
build
the perl that came with Solaris 9. Then build DBI with that C compiler.
You
do not have the C compiler as evidences by "/usr/ucb/cc:  language
optional
software package not installed".

2) Save money. Download and install gcc.  Download the source version of
perl.  Check out README.solaris. Install the downloaded source version
of perl into /usr/local, but leave the Sun compiled version in /usr.
Some of
the Solaris utilities depend upon that version, but the path is
hard-wired
into the programs, so as long as /usr/local/bin is in your path before 
/usr/bin,
you can run the version you install, and the Solaris utilities use their

version.
Install DBI and any other perl modules you may need.

Michael A Chase wrote:

> On 04/27/2005 01:22 PM, Chekuri, Lalitha said:
>
>> It is fresh install:
>> magma:oracle $uname -a
>> SunOS magma 5.9 Generic_117171-12 sun4u sparc SUNW,Ultra-60
>>
>> My perl -v magma:oracle $perl -v
>>
>> This is perl, v5.6.1 built for sun4-solaris-64int
>> (with 48 registered patches, see perl -V for more detail)
>>
>> For CC:
>> magma:oracle $what cc
>> can't open cc (26)
>> magma:oracle $which cc
>> /usr/ucb/cc
>> magma:oracle $cc
>> /usr/ucb/cc:  language optional software package not installed
>
>
> It is exactly as Ron and Michael Nhan said, you need to either install

> the same compiler that was used to build your perl or you need to 
> build perl with the comipler you have
>
> Modules __MUST__ be built with the same compiler that was used to 
> build perl.
>



Re: Can't locate DBI.pm

2005-04-28 Thread James D. White
It looks like you have a fresh install of Solaris 9, not a fresh install 
of perl.
"v5.6.1 built for sun4-solaris-64int" is the version that comes with 
Solaris 9,
which was built by Sun using a Sun C compiler and installed, I assume, as
/usr/bin/perl.

You have two options.
1) Spend money. Buy and install the Sun C compiler that was used to build
the perl that came with Solaris 9. Then build DBI with that C compiler.  You
do not have the C compiler as evidences by "/usr/ucb/cc:  language optional
software package not installed".
2) Save money. Download and install gcc.  Download the source version of
perl.  Check out README.solaris. Install the downloaded source version
of perl into /usr/local, but leave the Sun compiled version in /usr. Some of
the Solaris utilities depend upon that version, but the path is hard-wired
into the programs, so as long as /usr/local/bin is in your path before 
/usr/bin,
you can run the version you install, and the Solaris utilities use their 
version.
Install DBI and any other perl modules you may need.

Michael A Chase wrote:
On 04/27/2005 01:22 PM, Chekuri, Lalitha said:
It is fresh install:
magma:oracle $uname -a
SunOS magma 5.9 Generic_117171-12 sun4u sparc SUNW,Ultra-60
My perl -v magma:oracle $perl -v
This is perl, v5.6.1 built for sun4-solaris-64int
(with 48 registered patches, see perl -V for more detail)
For CC:
magma:oracle $what cc
can't open cc (26)
magma:oracle $which cc
/usr/ucb/cc
magma:oracle $cc
/usr/ucb/cc:  language optional software package not installed

It is exactly as Ron and Michael Nhan said, you need to either install 
the same compiler that was used to build your perl or you need to 
build perl with the comipler you have

Modules __MUST__ be built with the same compiler that was used to 
build perl.




Re: Can't locate DBI.pm

2005-04-28 Thread Michael A Chase
On 04/27/2005 01:22 PM, Chekuri, Lalitha said:
It is fresh install:
magma:oracle $uname -a
SunOS magma 5.9 Generic_117171-12 sun4u sparc SUNW,Ultra-60
My perl -v 
magma:oracle $perl -v

This is perl, v5.6.1 built for sun4-solaris-64int
(with 48 registered patches, see perl -V for more detail)
For CC:
magma:oracle $what cc
can't open cc (26)
magma:oracle $which cc
/usr/ucb/cc
magma:oracle $cc
/usr/ucb/cc:  language optional software package not installed
It is exactly as Ron and Michael Nhan said, you need to either install 
the same compiler that was used to build your perl or you need to build 
perl with the comipler you have

Modules __MUST__ be built with the same compiler that was used to build 
perl.

--
Mac :})
** I usually forward private questions to the appropriate mail list. **
Ask Smarter: http://www.catb.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.


RE: Can't locate DBI.pm

2005-04-28 Thread Chekuri, Lalitha
It is fresh install:
magma:oracle $uname -a
SunOS magma 5.9 Generic_117171-12 sun4u sparc SUNW,Ultra-60

My perl -v 
magma:oracle $perl -v

This is perl, v5.6.1 built for sun4-solaris-64int
(with 48 registered patches, see perl -V for more detail)

For CC:
magma:oracle $what cc
can't open cc (26)
magma:oracle $which cc
/usr/ucb/cc
magma:oracle $cc
/usr/ucb/cc:  language optional software package not installed




-Original Message-
From: Reidy, Ron [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 27, 2005 4:14 PM
To: Chekuri, Lalitha; Michael Nhan
Cc: dbi-users@perl.org
Subject: RE: Can't locate DBI.pm

1.  Which C compiler was your Perl built with (perl -V)?
2.  Do you have that C compiler on your system (which cc OR which (name
of C compiler from #1 above)?

If not, you will need to fix this situation by:

a.  Install the C compiler used to build your Perl and then try to
install DBI and DBD::Oracle

-OR-

b.  Install gcc properly (**AND** you will need to downgrade from the
3.x version to 2.96 as described in the Oracle installation manuals)
c.  Build Perl from source (I am using 5.8.6 w/o trouble)
d.  Build DBI and DBD::Oracle from CPAN as described in one of the hits
in my previous link.

Good luck.

-
Ron Reidy
Lead DBA
Array BioPharma, Inc.


-Original Message-
From: Chekuri, Lalitha [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 27, 2005 2:06 PM
To: Reidy, Ron; Michael Nhan
Cc: dbi-users@perl.org
Subject: RE: Can't locate DBI.pm


Hi ron, thanks for your input. When I try to install, it is saying cc is
not there. Then I started installed gcc3.3 from gcc site. Now to install
that also it is saying cc is not there.. what is going on

Can you please help...Lalitha


-Original Message-
From: Reidy, Ron [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 26, 2005 6:28 PM
To: Chekuri, Lalitha; Michael Nhan
Cc: dbi-users@perl.org
Subject: RE: Can't locate DBI.pm

Google is your friend ...

http://www.google.com/search?q=install+perl+modules&sourceid=mozilla-sea
rch&start=0&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:e
n-US:official

-
Ron Reidy
Lead DBA
Array BioPharma, Inc.


-Original Message-
From: Chekuri, Lalitha [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 26, 2005 3:33 PM
To: Michael Nhan
Cc: dbi-users@perl.org
Subject: RE: Can't locate DBI.pm


How do I compile?

-Original Message-
From: Michael Nhan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 26, 2005 5:28 PM
To: Chekuri, Lalitha
Cc: dbi-users@perl.org
Subject: Re: Can't locate DBI.pm

Are you sure this is the perl where DBI is installed.  If you reinstall 
solaris 9, the prebuilt perl on the box from the install will not have
the 
DBI and DBD-Oracle installed.  You will need to compile these yourself.



> Date: Tue, 26 Apr 
2005 12:10:21 -0400
> From: "Chekuri, Lalitha" <[EMAIL PROTECTED]>
> To: dbi-users@perl.org
> Subject: Can't locate DBI.pm
> 
> Hi,
>
> I have fresh install Solaris 9. We have some perl scripts to run. I am
> getting "Can't locate DBI.pm" error to execute the file. We access
> oracle 9 from this perl script. Can some one help me to fix this
> problem?
>
> My Perl version is:
> This is perl, v5.6.1 built for sun4-solaris-64int
> (with 48 registered patches, see perl -V for more detail)
>
> Copyright 1987-2001, Larry Wall
>
> Thanks
> Lalitha Chekuri
> 703-526-2025
>
>
>

---//---
 "He who learns must suffer. And even in our sleep,
  pain that cannot forget, falls drop by drop upon the heart; 
and, in our own despair, against our will,
  comes wisdom to us by the awful grace of God."
--- Aeschylus

This electronic message transmission is a PRIVATE communication which
contains
information which may be confidential or privileged. The information is
intended 
to be for the use of the individual or entity named above. If you are
not the 
intended recipient, please be aware that any disclosure, copying,
distribution 
or use of the contents of this information is prohibited. Please notify
the
sender  of the delivery error by replying to this message, or notify us
by
telephone (877-633-2436, ext. 0), and then delete it from your system.


This electronic message transmission is a PRIVATE communication which
contains
information which may be confidential or privileged. The information is
intended 
to be for the use of the individual or entity named above. If you are
not the 
intended recipient, please be aware that any disclosure, copying,
distribution 
or use of the contents of this information is prohibited. Please notify
the
sender  of the delivery error by replying to this message, or notify us
by
telephone (877-633-2436, ext. 0), and then delete it from your system.



RE: Can't locate DBI.pm

2005-04-28 Thread Chekuri, Lalitha
If I say make cc=gcc it says 'No arguments to build'

-Original Message-
From: Michael Nhan [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 27, 2005 4:11 PM
To: Chekuri, Lalitha
Cc: Reidy, Ron; dbi-users@perl.org
Subject: RE: Can't locate DBI.pm

Hi,

Can you compile by setting the CC flag to gcc, ie:

make CC=gcc

If this works and you don't get errors, then all is well.  If you get 
errors complaining about KPIC and other forte CC options, you will
either 
have to modify the makefile (not fun).  Or start over by compiling your 
own perl using gcc.

Regards,

Michael

> Date: Wed, 27 Apr 2005 16:06:18 -0400
> From: "Chekuri, Lalitha" <[EMAIL PROTECTED]>
> To: "Reidy, Ron" <[EMAIL PROTECTED]>,
> Michael Nhan <[EMAIL PROTECTED]>
> Cc: dbi-users@perl.org
> Subject: RE: Can't locate DBI.pm
> 
> Hi ron, thanks for your input. When I try to install, it is saying cc
is
> not there. Then I started installed gcc3.3 from gcc site. Now to
install
> that also it is saying cc is not there.. what is going on
>
> Can you please help...Lalitha
>
>
> -Original Message-
> From: Reidy, Ron [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 26, 2005 6:28 PM
> To: Chekuri, Lalitha; Michael Nhan
> Cc: dbi-users@perl.org
> Subject: RE: Can't locate DBI.pm
>
> Google is your friend ...
>
>
http://www.google.com/search?q=install+perl+modules&sourceid=mozilla-sea
>
rch&start=0&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:e
> n-US:official
>
> -
> Ron Reidy
> Lead DBA
> Array BioPharma, Inc.
>
>
> -Original Message-
> From: Chekuri, Lalitha [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 26, 2005 3:33 PM
> To: Michael Nhan
> Cc: dbi-users@perl.org
> Subject: RE: Can't locate DBI.pm
>
>
> How do I compile?
>
> -Original Message-
> From: Michael Nhan [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 26, 2005 5:28 PM
> To: Chekuri, Lalitha
> Cc: dbi-users@perl.org
> Subject: Re: Can't locate DBI.pm
>
> Are you sure this is the perl where DBI is installed.  If you
reinstall
> solaris 9, the prebuilt perl on the box from the install will not have
> the
> DBI and DBD-Oracle installed.  You will need to compile these
yourself.
>
>
>
>> Date: Tue, 26 Apr
> 2005 12:10:21 -0400
>> From: "Chekuri, Lalitha" <[EMAIL PROTECTED]>
>> To: dbi-users@perl.org
>> Subject: Can't locate DBI.pm
>>
>> Hi,
>>
>> I have fresh install Solaris 9. We have some perl scripts to run. I
am
>> getting "Can't locate DBI.pm" error to execute the file. We access
>> oracle 9 from this perl script. Can some one help me to fix this
>> problem?
>>
>> My Perl version is:
>> This is perl, v5.6.1 built for sun4-solaris-64int
>> (with 48 registered patches, see perl -V for more detail)
>>
>> Copyright 1987-2001, Larry Wall
>>
>> Thanks
>> Lalitha Chekuri
>> 703-526-2025
>>
>>
>>
>
>   ---//---
> "He who learns must suffer. And even in our sleep,
>  pain that cannot forget, falls drop by drop upon the heart;
> and, in our own despair, against our will,
>  comes wisdom to us by the awful grace of God."
>   --- Aeschylus
>
> This electronic message transmission is a PRIVATE communication which
> contains
> information which may be confidential or privileged. The information
is
> intended
> to be for the use of the individual or entity named above. If you are
> not the
> intended recipient, please be aware that any disclosure, copying,
> distribution
> or use of the contents of this information is prohibited. Please
notify
> the
> sender  of the delivery error by replying to this message, or notify
us
> by
> telephone (877-633-2436, ext. 0), and then delete it from your system.
>
>

---//---
 "He who learns must suffer. And even in our sleep,
  pain that cannot forget, falls drop by drop upon the heart; 
and, in our own despair, against our will,
  comes wisdom to us by the awful grace of God."
--- Aeschylus


Re: Can't locate DBI.pm

2005-04-27 Thread Michael A Chase
On 04/27/2005 01:13 PM, Reidy, Ron said:
b.  Install gcc properly (**AND** you will need to downgrade from the
3.x version to 2.96 as described in the Oracle installation manuals)
Where did you see this?  The advice is several years out of date.  I've 
used a couple different gcc 3.x versions to build DBI and DBD::Oracle.

--
Mac :})
** I usually forward private questions to the appropriate mail list. **
Ask Smarter: http://www.catb.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.


RE: Can't locate DBI.pm

2005-04-27 Thread Reidy, Ron
It looks like you have installed a binary version of perl.  Since it also looks 
like you misunderstood my last email, you will find which C compiler your perl 
was built with by executing perl -V, not perl -v.  It also looks like you do 
not have the Sun C compiler installed.
 
You should really talk with your SysAdmin about all this, but the bottom line 
is either:
 
a.  Install the Sun C compiler and try to continue from there ...
 
OR
 
b.  Install gcc properly;  Downgrade it per the Oracle install docs; build Perl 
from source; install DBI/DBD::Oracle from CPAN
 
Continued good luck.
 

- 
Ron Reidy 
Lead DBA 
Array BioPharma, Inc. 

-Original Message-
From: Chekuri, Lalitha [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 27, 2005 2:22 PM
To: Reidy, Ron; Michael Nhan
Cc: dbi-users@perl.org
Subject: RE: Can't locate DBI.pm



It is fresh install:

magma:oracle $uname -a

SunOS magma 5.9 Generic_117171-12 sun4u sparc SUNW,Ultra-60

My perl -v 

magma:oracle $perl -v

This is perl, v5.6.1 built for sun4-solaris-64int

(with 48 registered patches, see perl -V for more detail)

For CC:

magma:oracle $what cc

can't open cc (26)

magma:oracle $which cc

/usr/ucb/cc

magma:oracle $cc

/usr/ucb/cc:  language optional software package not installed




-Original Message-
From: Reidy, Ron [ mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 27, 2005 4:14 PM
To: Chekuri, Lalitha; Michael Nhan
Cc: dbi-users@perl.org
Subject: RE: Can't locate DBI.pm

1.  Which C compiler was your Perl built with (perl -V)?

2.  Do you have that C compiler on your system (which cc OR which (name of C 
compiler from #1 above)?

If not, you will need to fix this situation by:

a.  Install the C compiler used to build your Perl and then try to install DBI 
and DBD::Oracle

-OR-

b.  Install gcc properly (**AND** you will need to downgrade from the 3.x 
version to 2.96 as described in the Oracle installation manuals)

c.  Build Perl from source (I am using 5.8.6 w/o trouble)

d.  Build DBI and DBD::Oracle from CPAN as described in one of the hits in my 
previous link.

Good luck.

-

Ron Reidy

Lead DBA

Array BioPharma, Inc.


-Original Message-

From: Chekuri, Lalitha [ mailto:[EMAIL PROTECTED]

Sent: Wednesday, April 27, 2005 2:06 PM

To: Reidy, Ron; Michael Nhan

Cc: dbi-users@perl.org

Subject: RE: Can't locate DBI.pm


Hi ron, thanks for your input. When I try to install, it is saying cc is

not there. Then I started installed gcc3.3 from gcc site. Now to install

that also it is saying cc is not there.. what is going on

Can you please help...Lalitha


-Original Message-

From: Reidy, Ron [ mailto:[EMAIL PROTECTED] 

Sent: Tuesday, April 26, 2005 6:28 PM

To: Chekuri, Lalitha; Michael Nhan

Cc: dbi-users@perl.org

Subject: RE: Can't locate DBI.pm

Google is your friend ...

http://www.google.com/search?q=install+perl+modules 
<http://www.google.com/search?q=install+perl+modules&sourceid=mozilla-sea> 
&sourceid=mozilla-sea

rch&start=0&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:e

n-US:official

-

Ron Reidy

Lead DBA

Array BioPharma, Inc.


-Original Message-

From: Chekuri, Lalitha [ mailto:[EMAIL PROTECTED]

Sent: Tuesday, April 26, 2005 3:33 PM

To: Michael Nhan

Cc: dbi-users@perl.org

Subject: RE: Can't locate DBI.pm


How do I compile?

-Original Message-

From: Michael Nhan [ mailto:[EMAIL PROTECTED] 

Sent: Tuesday, April 26, 2005 5:28 PM

To: Chekuri, Lalitha

Cc: dbi-users@perl.org

Subject: Re: Can't locate DBI.pm

Are you sure this is the perl where DBI is installed.  If you reinstall 

solaris 9, the prebuilt perl on the box from the install will not have

the 

DBI and DBD-Oracle installed.  You will need to compile these yourself.



> Date: Tue, 26 Apr 

2005 12:10:21 -0400

> From: "Chekuri, Lalitha" <[EMAIL PROTECTED]>

> To: dbi-users@perl.org

> Subject: Can't locate DBI.pm

> 

> Hi,

>

> I have fresh install Solaris 9. We have some perl scripts to run. I am

> getting "Can't locate DBI.pm" error to execute the file. We access

> oracle 9 from this perl script. Can some one help me to fix this

> problem?

>

> My Perl version is:

> This is perl, v5.6.1 built for sun4-solaris-64int

> (with 48 registered patches, see perl -V for more detail)

>

> Copyright 1987-2001, Larry Wall

>

> Thanks

> Lalitha Chekuri

> 703-526-2025

>

>

>

---//---

 "He who learns must suffer. And even in our sleep,

  pain that cannot forget, falls drop by drop upon the heart; 

and, in our own despair, against our will,

  comes wisdom to us by the awful grace of God."

--- Aeschylus

This electronic message transmission is a PRIVATE communication which

contains

information which 

RE: Can't locate DBI.pm

2005-04-27 Thread Chekuri, Lalitha
Hi ron, thanks for your input. When I try to install, it is saying cc is
not there. Then I started installed gcc3.3 from gcc site. Now to install
that also it is saying cc is not there.. what is going on

Can you please help...Lalitha


-Original Message-
From: Reidy, Ron [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 26, 2005 6:28 PM
To: Chekuri, Lalitha; Michael Nhan
Cc: dbi-users@perl.org
Subject: RE: Can't locate DBI.pm

Google is your friend ...

http://www.google.com/search?q=install+perl+modules&sourceid=mozilla-sea
rch&start=0&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:e
n-US:official

-
Ron Reidy
Lead DBA
Array BioPharma, Inc.


-Original Message-
From: Chekuri, Lalitha [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 26, 2005 3:33 PM
To: Michael Nhan
Cc: dbi-users@perl.org
Subject: RE: Can't locate DBI.pm


How do I compile?

-Original Message-
From: Michael Nhan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 26, 2005 5:28 PM
To: Chekuri, Lalitha
Cc: dbi-users@perl.org
Subject: Re: Can't locate DBI.pm

Are you sure this is the perl where DBI is installed.  If you reinstall 
solaris 9, the prebuilt perl on the box from the install will not have
the 
DBI and DBD-Oracle installed.  You will need to compile these yourself.



> Date: Tue, 26 Apr 
2005 12:10:21 -0400
> From: "Chekuri, Lalitha" <[EMAIL PROTECTED]>
> To: dbi-users@perl.org
> Subject: Can't locate DBI.pm
> 
> Hi,
>
> I have fresh install Solaris 9. We have some perl scripts to run. I am
> getting "Can't locate DBI.pm" error to execute the file. We access
> oracle 9 from this perl script. Can some one help me to fix this
> problem?
>
> My Perl version is:
> This is perl, v5.6.1 built for sun4-solaris-64int
> (with 48 registered patches, see perl -V for more detail)
>
> Copyright 1987-2001, Larry Wall
>
> Thanks
> Lalitha Chekuri
> 703-526-2025
>
>
>

---//---
 "He who learns must suffer. And even in our sleep,
  pain that cannot forget, falls drop by drop upon the heart; 
and, in our own despair, against our will,
  comes wisdom to us by the awful grace of God."
--- Aeschylus

This electronic message transmission is a PRIVATE communication which
contains
information which may be confidential or privileged. The information is
intended 
to be for the use of the individual or entity named above. If you are
not the 
intended recipient, please be aware that any disclosure, copying,
distribution 
or use of the contents of this information is prohibited. Please notify
the
sender  of the delivery error by replying to this message, or notify us
by
telephone (877-633-2436, ext. 0), and then delete it from your system.



RE: Can't locate DBI.pm

2005-04-27 Thread Reidy, Ron
1.  Which C compiler was your Perl built with (perl -V)?
2.  Do you have that C compiler on your system (which cc OR which (name of C 
compiler from #1 above)?

If not, you will need to fix this situation by:

a.  Install the C compiler used to build your Perl and then try to install DBI 
and DBD::Oracle

-OR-

b.  Install gcc properly (**AND** you will need to downgrade from the 3.x 
version to 2.96 as described in the Oracle installation manuals)
c.  Build Perl from source (I am using 5.8.6 w/o trouble)
d.  Build DBI and DBD::Oracle from CPAN as described in one of the hits in my 
previous link.

Good luck.

-
Ron Reidy
Lead DBA
Array BioPharma, Inc.


-Original Message-
From: Chekuri, Lalitha [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 27, 2005 2:06 PM
To: Reidy, Ron; Michael Nhan
Cc: dbi-users@perl.org
Subject: RE: Can't locate DBI.pm


Hi ron, thanks for your input. When I try to install, it is saying cc is
not there. Then I started installed gcc3.3 from gcc site. Now to install
that also it is saying cc is not there.. what is going on

Can you please help...Lalitha


-Original Message-
From: Reidy, Ron [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 26, 2005 6:28 PM
To: Chekuri, Lalitha; Michael Nhan
Cc: dbi-users@perl.org
Subject: RE: Can't locate DBI.pm

Google is your friend ...

http://www.google.com/search?q=install+perl+modules&sourceid=mozilla-sea
rch&start=0&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:e
n-US:official

-
Ron Reidy
Lead DBA
Array BioPharma, Inc.


-Original Message-
From: Chekuri, Lalitha [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 26, 2005 3:33 PM
To: Michael Nhan
Cc: dbi-users@perl.org
Subject: RE: Can't locate DBI.pm


How do I compile?

-Original Message-
From: Michael Nhan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 26, 2005 5:28 PM
To: Chekuri, Lalitha
Cc: dbi-users@perl.org
Subject: Re: Can't locate DBI.pm

Are you sure this is the perl where DBI is installed.  If you reinstall 
solaris 9, the prebuilt perl on the box from the install will not have
the 
DBI and DBD-Oracle installed.  You will need to compile these yourself.



> Date: Tue, 26 Apr 
2005 12:10:21 -0400
> From: "Chekuri, Lalitha" <[EMAIL PROTECTED]>
> To: dbi-users@perl.org
> Subject: Can't locate DBI.pm
> 
> Hi,
>
> I have fresh install Solaris 9. We have some perl scripts to run. I am
> getting "Can't locate DBI.pm" error to execute the file. We access
> oracle 9 from this perl script. Can some one help me to fix this
> problem?
>
> My Perl version is:
> This is perl, v5.6.1 built for sun4-solaris-64int
> (with 48 registered patches, see perl -V for more detail)
>
> Copyright 1987-2001, Larry Wall
>
> Thanks
> Lalitha Chekuri
> 703-526-2025
>
>
>

---//---
 "He who learns must suffer. And even in our sleep,
  pain that cannot forget, falls drop by drop upon the heart; 
and, in our own despair, against our will,
  comes wisdom to us by the awful grace of God."
--- Aeschylus

This electronic message transmission is a PRIVATE communication which
contains
information which may be confidential or privileged. The information is
intended 
to be for the use of the individual or entity named above. If you are
not the 
intended recipient, please be aware that any disclosure, copying,
distribution 
or use of the contents of this information is prohibited. Please notify
the
sender  of the delivery error by replying to this message, or notify us
by
telephone (877-633-2436, ext. 0), and then delete it from your system.


This electronic message transmission is a PRIVATE communication which contains
information which may be confidential or privileged. The information is 
intended 
to be for the use of the individual or entity named above. If you are not the 
intended recipient, please be aware that any disclosure, copying, distribution 
or use of the contents of this information is prohibited. Please notify the
sender  of the delivery error by replying to this message, or notify us by
telephone (877-633-2436, ext. 0), and then delete it from your system.



RE: Can't locate DBI.pm

2005-04-27 Thread Michael Nhan
Hi,
Can you compile by setting the CC flag to gcc, ie:
make CC=gcc
If this works and you don't get errors, then all is well.  If you get 
errors complaining about KPIC and other forte CC options, you will either 
have to modify the makefile (not fun).  Or start over by compiling your 
own perl using gcc.

Regards,
Michael
Date: Wed, 27 Apr 2005 16:06:18 -0400
From: "Chekuri, Lalitha" <[EMAIL PROTECTED]>
To: "Reidy, Ron" <[EMAIL PROTECTED]>,
Michael Nhan <[EMAIL PROTECTED]>
Cc: dbi-users@perl.org
Subject: RE: Can't locate DBI.pm
Hi ron, thanks for your input. When I try to install, it is saying cc is
not there. Then I started installed gcc3.3 from gcc site. Now to install
that also it is saying cc is not there.. what is going on
Can you please help...Lalitha
-Original Message-
From: Reidy, Ron [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 26, 2005 6:28 PM
To: Chekuri, Lalitha; Michael Nhan
Cc: dbi-users@perl.org
Subject: RE: Can't locate DBI.pm
Google is your friend ...
http://www.google.com/search?q=install+perl+modules&sourceid=mozilla-sea
rch&start=0&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:e
n-US:official
-
Ron Reidy
Lead DBA
Array BioPharma, Inc.
-Original Message-
From: Chekuri, Lalitha [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 26, 2005 3:33 PM
To: Michael Nhan
Cc: dbi-users@perl.org
Subject: RE: Can't locate DBI.pm
How do I compile?
-Original Message-
From: Michael Nhan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 26, 2005 5:28 PM
To: Chekuri, Lalitha
Cc: dbi-users@perl.org
Subject: Re: Can't locate DBI.pm
Are you sure this is the perl where DBI is installed.  If you reinstall
solaris 9, the prebuilt perl on the box from the install will not have
the
DBI and DBD-Oracle installed.  You will need to compile these yourself.

Date: Tue, 26 Apr
2005 12:10:21 -0400
From: "Chekuri, Lalitha" <[EMAIL PROTECTED]>
To: dbi-users@perl.org
Subject: Can't locate DBI.pm
Hi,
I have fresh install Solaris 9. We have some perl scripts to run. I am
getting "Can't locate DBI.pm" error to execute the file. We access
oracle 9 from this perl script. Can some one help me to fix this
problem?
My Perl version is:
This is perl, v5.6.1 built for sun4-solaris-64int
(with 48 registered patches, see perl -V for more detail)
Copyright 1987-2001, Larry Wall
Thanks
Lalitha Chekuri
703-526-2025

---//---
"He who learns must suffer. And even in our sleep,
 pain that cannot forget, falls drop by drop upon the heart;
and, in our own despair, against our will,
 comes wisdom to us by the awful grace of God."
--- Aeschylus
This electronic message transmission is a PRIVATE communication which
contains
information which may be confidential or privileged. The information is
intended
to be for the use of the individual or entity named above. If you are
not the
intended recipient, please be aware that any disclosure, copying,
distribution
or use of the contents of this information is prohibited. Please notify
the
sender  of the delivery error by replying to this message, or notify us
by
telephone (877-633-2436, ext. 0), and then delete it from your system.

		---//---
"He who learns must suffer. And even in our sleep,
 pain that cannot forget, falls drop by drop upon the heart; 
and, in our own despair, against our will,
 comes wisdom to us by the awful grace of God."
		--- Aeschylus


RE: Can't locate DBI.pm

2005-04-26 Thread Reidy, Ron
Google is your friend ...

http://www.google.com/search?q=install+perl+modules&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official

-
Ron Reidy
Lead DBA
Array BioPharma, Inc.


-Original Message-
From: Chekuri, Lalitha [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 26, 2005 3:33 PM
To: Michael Nhan
Cc: dbi-users@perl.org
Subject: RE: Can't locate DBI.pm


How do I compile?

-Original Message-
From: Michael Nhan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 26, 2005 5:28 PM
To: Chekuri, Lalitha
Cc: dbi-users@perl.org
Subject: Re: Can't locate DBI.pm

Are you sure this is the perl where DBI is installed.  If you reinstall 
solaris 9, the prebuilt perl on the box from the install will not have
the 
DBI and DBD-Oracle installed.  You will need to compile these yourself.



> Date: Tue, 26 Apr 
2005 12:10:21 -0400
> From: "Chekuri, Lalitha" <[EMAIL PROTECTED]>
> To: dbi-users@perl.org
> Subject: Can't locate DBI.pm
> 
> Hi,
>
> I have fresh install Solaris 9. We have some perl scripts to run. I am
> getting "Can't locate DBI.pm" error to execute the file. We access
> oracle 9 from this perl script. Can some one help me to fix this
> problem?
>
> My Perl version is:
> This is perl, v5.6.1 built for sun4-solaris-64int
> (with 48 registered patches, see perl -V for more detail)
>
> Copyright 1987-2001, Larry Wall
>
> Thanks
> Lalitha Chekuri
> 703-526-2025
>
>
>

---//---
 "He who learns must suffer. And even in our sleep,
  pain that cannot forget, falls drop by drop upon the heart; 
and, in our own despair, against our will,
  comes wisdom to us by the awful grace of God."
--- Aeschylus

This electronic message transmission is a PRIVATE communication which contains
information which may be confidential or privileged. The information is 
intended 
to be for the use of the individual or entity named above. If you are not the 
intended recipient, please be aware that any disclosure, copying, distribution 
or use of the contents of this information is prohibited. Please notify the
sender  of the delivery error by replying to this message, or notify us by
telephone (877-633-2436, ext. 0), and then delete it from your system.



RE: Can't locate DBI.pm

2005-04-26 Thread Chekuri, Lalitha
How do I compile?

-Original Message-
From: Michael Nhan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 26, 2005 5:28 PM
To: Chekuri, Lalitha
Cc: dbi-users@perl.org
Subject: Re: Can't locate DBI.pm

Are you sure this is the perl where DBI is installed.  If you reinstall 
solaris 9, the prebuilt perl on the box from the install will not have
the 
DBI and DBD-Oracle installed.  You will need to compile these yourself.



> Date: Tue, 26 Apr 
2005 12:10:21 -0400
> From: "Chekuri, Lalitha" <[EMAIL PROTECTED]>
> To: dbi-users@perl.org
> Subject: Can't locate DBI.pm
> 
> Hi,
>
> I have fresh install Solaris 9. We have some perl scripts to run. I am
> getting "Can't locate DBI.pm" error to execute the file. We access
> oracle 9 from this perl script. Can some one help me to fix this
> problem?
>
> My Perl version is:
> This is perl, v5.6.1 built for sun4-solaris-64int
> (with 48 registered patches, see perl -V for more detail)
>
> Copyright 1987-2001, Larry Wall
>
> Thanks
> Lalitha Chekuri
> 703-526-2025
>
>
>

---//---
 "He who learns must suffer. And even in our sleep,
  pain that cannot forget, falls drop by drop upon the heart; 
and, in our own despair, against our will,
  comes wisdom to us by the awful grace of God."
--- Aeschylus


Re: Can't locate DBI.pm

2005-04-26 Thread Michael Nhan
Are you sure this is the perl where DBI is installed.  If you reinstall 
solaris 9, the prebuilt perl on the box from the install will not have the 
DBI and DBD-Oracle installed.  You will need to compile these yourself.


Date: Tue, 26 Apr 
2005 12:10:21 -0400
From: "Chekuri, Lalitha" <[EMAIL PROTECTED]>
To: dbi-users@perl.org
Subject: Can't locate DBI.pm
Hi,
I have fresh install Solaris 9. We have some perl scripts to run. I am
getting "Can't locate DBI.pm" error to execute the file. We access
oracle 9 from this perl script. Can some one help me to fix this
problem?
My Perl version is:
This is perl, v5.6.1 built for sun4-solaris-64int
(with 48 registered patches, see perl -V for more detail)
Copyright 1987-2001, Larry Wall
Thanks
Lalitha Chekuri
703-526-2025

		---//---
"He who learns must suffer. And even in our sleep,
 pain that cannot forget, falls drop by drop upon the heart; 
and, in our own despair, against our will,
 comes wisdom to us by the awful grace of God."
		--- Aeschylus


RE: Can't locate DBI.pm

2005-04-26 Thread Reidy, Ron
Is DBI installed?  Is it your "@INC" path?

-
Ron Reidy
Lead DBA
Array BioPharma, Inc.


-Original Message-
From: Chekuri, Lalitha [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 26, 2005 10:10 AM
To: dbi-users@perl.org
Subject: Can't locate DBI.pm


Hi,

I have fresh install Solaris 9. We have some perl scripts to run. I am
getting "Can't locate DBI.pm" error to execute the file. We access
oracle 9 from this perl script. Can some one help me to fix this
problem?

My Perl version is:
This is perl, v5.6.1 built for sun4-solaris-64int
(with 48 registered patches, see perl -V for more detail)

Copyright 1987-2001, Larry Wall

Thanks
Lalitha Chekuri
703-526-2025



This electronic message transmission is a PRIVATE communication which contains
information which may be confidential or privileged. The information is 
intended 
to be for the use of the individual or entity named above. If you are not the 
intended recipient, please be aware that any disclosure, copying, distribution 
or use of the contents of this information is prohibited. Please notify the
sender  of the delivery error by replying to this message, or notify us by
telephone (877-633-2436, ext. 0), and then delete it from your system.



Can't locate DBI.pm

2005-04-26 Thread Chekuri, Lalitha
Hi,

I have fresh install Solaris 9. We have some perl scripts to run. I am
getting "Can't locate DBI.pm" error to execute the file. We access
oracle 9 from this perl script. Can some one help me to fix this
problem?

My Perl version is:
This is perl, v5.6.1 built for sun4-solaris-64int
(with 48 registered patches, see perl -V for more detail)

Copyright 1987-2001, Larry Wall

Thanks
Lalitha Chekuri
703-526-2025




RE: Can't locate DBI.pm

2003-03-07 Thread Jeff Urlwin

> 
> 
> What's this error?
> 
> The DBI package is not installed?
> 
> "Software error:
> 
> [Thu Mar 6 15:01:54 2003] DBI.pm: Can't locate DBI.pm in @INC (@INC 
> contains: /usr/local/lib/perl5/5.00503/i386-freebsd 
> /usr/local/lib/perl5/5.00503 /usr/local/lib/site_perl 
> /usr/local/lib/site_perl .) at 
> /usr/local/etc/httpd/vhosts/vencendo/criabasededados.pl line 6. BEGIN 
> failed--compilation aborted at 
> /usr/local/etc/httpd/vhosts/vencendo/criabasededados.pl line 6."

Yes, you need to install DBI.


DBI FAQ (www.xmlproj.com/cgi/fom.cgi)

Regards,

Jeff




DBI: Can't locate DBI.pm

2003-03-06 Thread Paulo Eduardo
What's this error?

The DBI package is not installed?

"Software error:

[Thu Mar 6 15:01:54 2003] DBI.pm: Can't locate DBI.pm in @INC (@INC 
contains: /usr/local/lib/perl5/5.00503/i386-freebsd 
/usr/local/lib/perl5/5.00503 /usr/local/lib/site_perl 
/usr/local/lib/site_perl .) at 
/usr/local/etc/httpd/vhosts/vencendo/criabasededados.pl line 6. BEGIN 
failed--compilation aborted at 
/usr/local/etc/httpd/vhosts/vencendo/criabasededados.pl line 6."

Paulo

_
MSN Hotmail, o maior webmail do Brasil.  http://www.hotmail.com


Could not load authentication module Radius::AuthSQL: Can't locate DBI.pm in @INC

2002-02-14 Thread root

hey i am having a problem, when i try to load radiator ( a radius 
package ) i get a message that says "Could not load authentication 
module Radius::AuthSQL: Can't locate DBI.pm in @INC..." do i need to 
install DBI pointing to a specific directory?




SV: Can't locate DBI.pm - Oracle DBD

2001-10-30 Thread Melton Cline Presley

Ilya,

Thank you for your help!  This is undoubtedly old hat to you guys, but I was
confused by installation instructions for other modules that refer to a
PREFIX parameter that announces installation in nonstandard directories.

Anyway, I finally got DBI and DBD::Oracle installed successfully.

During installation of DBD, I encountered a plethora of complaints over the
lack of read permission to a series of Oracle files, mostly of the .h
variety, mostly in directory /opt/oracle8.1.7/rdbms/demo/ .  Perhaps such
woes have already been kicked around on dbi-users and a list of the relevant
files published; I simply haven't been able to get through on dbi.perl.org
yesterday or today to check.  Lacking such a list, our (fortunately
patient!) DBA and I were forced to repeatedly re-run the make while
resolving the access problems piecemeal.

Med venlig hilsen / Best regards,
Mel Presley
TDC Services, Copenhagen

> -Oprindelig meddelelse-
> Fra:  Sterin, Ilya [SMTP:[EMAIL PROTECTED]]
> Sendt:30. oktober 2001 06:54
> Til:  Melton Cline Presley; [EMAIL PROTECTED]
> Emne: RE: Can't locate DBI.pm  -  Oracle DBD
> 
> It can very easily be resolved by printing out your @INC with the same
> perl
> installation you are trying to install DBD::Oracle with.  Are you
> specifying
> the full path, so that it uses the 5.6 version for intall and have you
> done
> the same for DBI.  Remember that when you use a non standard directory for
> installation it is not in @INC, and therefore can't be found until you
> modify @INC.
> 
> Ilya
> 
> > -Original Message-
> > From: Melton Cline Presley [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, October 26, 2001 8:48 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: Can't locate DBI.pm - Oracle DBD
> >
> >
> > I've encountered an error while trying to install the DBD for Oracle.
> >
> > On our system, we presently need to retain Perl version 5.003 in the
> > standard directory placements.  In order to make use of DBI and the
> > Oracle DBD possible, I've (apparently successfully) installed Perl
> > version 5.6.1 using a PREFIX value of:
> >
> >   /export/home/udv/r80755/perl
> >
> > I then (also, apparently successfully) installed DBI-1.20 ,  doing the
> > decompress and unpack from this same directory.  I did NOT use a
> > -DPREFIX parameter when running the Makefile.PL to do this installation,
> > but I DID run the Makefile using the 5.6.1 version of Perl.  The
> > make test results following this installation showed no problems.
> >
> > I've subsequently tried to install DBD-Oracle-1.12 two different ways,
> > neither of which succeeded; both failed with the same diagnostic:
> >
> >  Can't locate DBI.pm in @INC ...
> >
> > I did NOT use a -DPREFIX parameter for either Makefile.PL installation
> > run.  The difference between the two installation attempts was that
> > the first was based in:
> >
> >  /export/home/udv/a70411/perl/bin/perl
> >
> > and the second in:
> >
> >  /export/home/udv/a70411/perl/bin/perl/DBI-1.20
> >
> > The reason I tried the second type of installation was that there is a
> > file /export/home/udv/a70411/perl/bin/perl/DBI-1.20/DBI.pm present, and
> > there are 3 other DBI.pm files in subdirectories of that directory.
> >
> > The session log is reproduced below, with the scene of the crime set off
> > by the insertion of some comment lines.  Note: 's' is a local utility
> > script that shows subdirectories of the current directory between a pair
> > of border lines; these border lines show the current directory.  's' can
> > also cd to a new directory.
> >
> > Note:  The session log is from the 2nd installation attempt.
> >
> > My inquiry is twofold:-
> >
> > Should I install the DBD as a sibling of the DBI (in the same
> directory),
> > or should I install it as a child of the DBD (in the DBI-1.20
> > subdirectory)?
> >
> > How can I solve the problem of the missing DBI.pm ?
> >
> > ---
> >
> > I will give thanks in advance for any help.
> >
> > Mel Presley
> > TDC Services
> > [EMAIL PROTECTED]
> >
> > 
> >
> > y313477!r80755:~/perl [105]> uname -a
> > SunOS y313477 5.6 Generic_105181-23 sun4u sparc SUNW,Ultra-Enterprise
> > y313477!r80755:~/perl [106]> s
> >
> > ==v= /export/home/udv/r80755/perl
> > ===v

RE: Can't locate DBI.pm - Oracle DBD

2001-10-29 Thread Sterin, Ilya

It can very easily be resolved by printing out your @INC with the same perl
installation you are trying to install DBD::Oracle with.  Are you specifying
the full path, so that it uses the 5.6 version for intall and have you done
the same for DBI.  Remember that when you use a non standard directory for
installation it is not in @INC, and therefore can't be found until you
modify @INC.

Ilya

> -Original Message-
> From: Melton Cline Presley [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 26, 2001 8:48 AM
> To: '[EMAIL PROTECTED]'
> Subject: Can't locate DBI.pm - Oracle DBD
>
>
> I've encountered an error while trying to install the DBD for Oracle.
>
> On our system, we presently need to retain Perl version 5.003 in the
> standard directory placements.  In order to make use of DBI and the
> Oracle DBD possible, I've (apparently successfully) installed Perl
> version 5.6.1 using a PREFIX value of:
>
>   /export/home/udv/r80755/perl
>
> I then (also, apparently successfully) installed DBI-1.20 ,  doing the
> decompress and unpack from this same directory.  I did NOT use a
> -DPREFIX parameter when running the Makefile.PL to do this installation,
> but I DID run the Makefile using the 5.6.1 version of Perl.  The
> make test results following this installation showed no problems.
>
> I've subsequently tried to install DBD-Oracle-1.12 two different ways,
> neither of which succeeded; both failed with the same diagnostic:
>
>  Can't locate DBI.pm in @INC ...
>
> I did NOT use a -DPREFIX parameter for either Makefile.PL installation
> run.  The difference between the two installation attempts was that
> the first was based in:
>
>  /export/home/udv/a70411/perl/bin/perl
>
> and the second in:
>
>  /export/home/udv/a70411/perl/bin/perl/DBI-1.20
>
> The reason I tried the second type of installation was that there is a
> file /export/home/udv/a70411/perl/bin/perl/DBI-1.20/DBI.pm present, and
> there are 3 other DBI.pm files in subdirectories of that directory.
>
> The session log is reproduced below, with the scene of the crime set off
> by the insertion of some comment lines.  Note: 's' is a local utility
> script that shows subdirectories of the current directory between a pair
> of border lines; these border lines show the current directory.  's' can
> also cd to a new directory.
>
> Note:  The session log is from the 2nd installation attempt.
>
> My inquiry is twofold:-
>
> Should I install the DBD as a sibling of the DBI (in the same directory),
> or should I install it as a child of the DBD (in the DBI-1.20
> subdirectory)?
>
> How can I solve the problem of the missing DBI.pm ?
>
> ---
>
> I will give thanks in advance for any help.
>
> Mel Presley
> TDC Services
> [EMAIL PROTECTED]
>
> 
>
> y313477!r80755:~/perl [105]> uname -a
> SunOS y313477 5.6 Generic_105181-23 sun4u sparc SUNW,Ultra-Enterprise
> y313477!r80755:~/perl [106]> s
>
> ==v= /export/home/udv/r80755/perl
> ===vvvvvvvv==
> bin DBI-1.20lib man perl-5.6.1
>
> ==^= /export/home/udv/r80755/perl
> ===^^^^^^^^==
>
> y313477!r80755:~/perl [107]> ls -la
> total 48056
> drwxr-xr-x   7 r80755   udv 4096 Okt 26 12:41 ./
> drwxr-xr-x   8 r80755   udv 4096 Okt 23 15:54 ../
> drwxr-xr-x   2 r80755   udv 4096 Okt 23 19:35 bin/
> drwxr-xr-x   6 r80755   udv 4096 Okt 26 12:50 DBI-1.20/
> -rw-r--r--   1 r80755   udv   624128 Okt 24 15:17 DBI-1.20.tar
> drwxr-xr-x   4 r80755   udv   96 Okt 23 19:34 lib/
> drwxr-xr-x   4 r80755   udv   96 Okt 23 19:36 man/
> drwxr-xr-x  29 r80755   udv 8192 Okt 23 19:27 perl-5.6.1/
> -rw-r--r--   1 r80755   udv  23951360 Okt 23 15:58 stable.tar
> y313477!r80755:~/perl [108]> s DBI-1.20
>
> ==v= /export/home/udv/r80755/perl/DBI-1.20
> vvvvvv==
> blibDBD-Oracle-1.>> lib t
> >>>>>>>>>>>>> Names truncated above are printed in full below
> <<<<<<<<<<<<<
> DBD-Oracle-1.12
> ==^= /export/home/udv/r80755/perl/DBI-1.20
> ^^^^^^==
>
> y313477!r80755:~/perl/DBI-1.20 [109]> ls -la
> total 2544
> drwxr-xr-x   6 r80755   udv 4096 Okt 26 12:50 ./
> drwxr-xr-x   7 r80755   udv 4096 Okt 26 12:41 ../
> drwxr-xr-x   7 r80755   udv   96 Okt 24 1

Can't locate DBI.pm - Oracle DBD

2001-10-29 Thread Melton Cline Presley

I've encountered an error while trying to install the DBD for Oracle.

On our system, we presently need to retain Perl version 5.003 in the
standard directory placements.  In order to make use of DBI and the
Oracle DBD possible, I've (apparently successfully) installed Perl
version 5.6.1 using a PREFIX value of:

  /export/home/udv/r80755/perl

I then (also, apparently successfully) installed DBI-1.20 ,  doing the
decompress and unpack from this same directory.  I did NOT use a
-DPREFIX parameter when running the Makefile.PL to do this installation,
but I DID run the Makefile using the 5.6.1 version of Perl.  The 
make test results following this installation showed no problems.

I've subsequently tried to install DBD-Oracle-1.12 two different ways,
neither of which succeeded; both failed with the same diagnostic:

     Can't locate DBI.pm in @INC ...

I did NOT use a -DPREFIX parameter for either Makefile.PL installation
run.  The difference between the two installation attempts was that
the first was based in:

 /export/home/udv/a70411/perl/bin/perl

and the second in:

 /export/home/udv/a70411/perl/bin/perl/DBI-1.20

The reason I tried the second type of installation was that there is a
file /export/home/udv/a70411/perl/bin/perl/DBI-1.20/DBI.pm present, and
there are 3 other DBI.pm files in subdirectories of that directory.

The session log is reproduced below, with the scene of the crime set off
by the insertion of some comment lines.  Note: 's' is a local utility
script that shows subdirectories of the current directory between a pair
of border lines; these border lines show the current directory.  's' can
also cd to a new directory.

Note:  The session log is from the 2nd installation attempt.

My inquiry is twofold:-

Should I install the DBD as a sibling of the DBI (in the same directory),
or should I install it as a child of the DBD (in the DBI-1.20 subdirectory)?

How can I solve the problem of the missing DBI.pm ?

---

I will give thanks in advance for any help.

Mel Presley
TDC Services
[EMAIL PROTECTED]



y313477!r80755:~/perl [105]> uname -a
SunOS y313477 5.6 Generic_105181-23 sun4u sparc SUNW,Ultra-Enterprise
y313477!r80755:~/perl [106]> s

==v= /export/home/udv/r80755/perl ===vvvvvvvv==
bin DBI-1.20lib man perl-5.6.1

==^= /export/home/udv/r80755/perl ===^^^^^^^^==

y313477!r80755:~/perl [107]> ls -la
total 48056
drwxr-xr-x   7 r80755   udv 4096 Okt 26 12:41 ./
drwxr-xr-x   8 r80755   udv 4096 Okt 23 15:54 ../
drwxr-xr-x   2 r80755   udv 4096 Okt 23 19:35 bin/
drwxr-xr-x   6 r80755   udv 4096 Okt 26 12:50 DBI-1.20/
-rw-r--r--   1 r80755   udv   624128 Okt 24 15:17 DBI-1.20.tar
drwxr-xr-x   4 r80755   udv   96 Okt 23 19:34 lib/
drwxr-xr-x   4 r80755   udv   96 Okt 23 19:36 man/
drwxr-xr-x  29 r80755   udv 8192 Okt 23 19:27 perl-5.6.1/
-rw-r--r--   1 r80755   udv  23951360 Okt 23 15:58 stable.tar
y313477!r80755:~/perl [108]> s DBI-1.20

==v= /export/home/udv/r80755/perl/DBI-1.20 vvvvvv==
blibDBD-Oracle-1.>> lib t   
>>>>>>>>>>>>> Names truncated above are printed in full below <<<<<<<<<<<<<
DBD-Oracle-1.12
==^= /export/home/udv/r80755/perl/DBI-1.20 ^^^^^^==

y313477!r80755:~/perl/DBI-1.20 [109]> ls -la
total 2544
drwxr-xr-x   6 r80755   udv 4096 Okt 26 12:50 ./
drwxr-xr-x   7 r80755   udv 4096 Okt 26 12:41 ../
drwxr-xr-x   7 r80755   udv   96 Okt 24 15:45 blib/
-r--r--r--   1 r80755   udv36841 Aug 25 01:33 Changes
-r--r--r--   1 r80755   udv 2050 Aug 25 00:05 dbd_xsh.h
drwxr-xr-x   5 r80755   udv 4096 Aug 31 18:27 DBD-Oracle-1.12/
-rw-r--r--   1 r80755   udv   567808 Okt 26 12:44 DBD-Oracle-1.12.tar
-r--r--r--   1 r80755   udv 1570 Aug 25 00:10 dbi_sql.h
-rw-r--r--   1 r80755   udv0 Okt 26 12:49 DBI.bs
-rw-r--r--   1 r80755   udv   105303 Okt 24 15:45 DBI.c
-rw-r--r--   1 r80755   udv   110576 Okt 26 12:49 DBI.o
-r--r--r--   1 r80755   udv   158339 Aug 25 01:33 DBI.pm
-r--r--r--   1 r80755   udv91378 Aug 25 00:10 DBI.xs
-r--r--r--   1 r80755   udv 7795 Aug 25 00:09 dbipport.h
-rw-r--r--   1 r80755   udv 5199 Okt 24 15:45 dbiproxy
-r--r--r--   1 r80755   udv 5578 Aug 25 00:05 dbiproxy.PL
-rw-r--r--   1 r80755   udv  403 Okt 24 15:45 dbish
-r--r--r--   1 r80755   udv  741 Aug 25 00:09 dbish.PL
-r--r--r--   1 r80755   udv17237 Aug 25 00:11 DBIXS.h
-r--r--r--   1 r80755   udv12098 Aug 25 00:11 Driv