[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dbi-dev
Subject:    RE: Compilation..
From:       "Lowery, Thomas" <tlowery () dsdcng1 ! dsdc ! dla ! mil>
Date:       1998-01-30 18:29:00
[Download RAW message or body]

    *** From dbi-users -- To unsubscribe, see the end of this message. ***

Did all the test go ok?
Did you install DBI and DBD?

Try export PERL5LIB=/all/pkg

Tom

> ----------
> From: 	Deepa Sivasankarane[SMTP:deepa@ans.net]
> Sent: 	Thursday, January 29, 1998 6:06 PM
> To: 	dbi-users@fugue.com
> Subject: 	Compilation..
> 
>     *** From dbi-users -- To unsubscribe, see the end of this message.
> ***
> 
> Hi,
> 	I've been trying to run the simple.pl program from the
> dbi_samples.tar downloaded from the "hermetica" site..
> I have DBI 0.91 and DBD-Informix-0.58 installed in /all/pkg
> directory..
> Here's a piece of the code..
> 
> #!/usr/local/bin/perl5.004
> require 5.004;
> 
> 
> push (@INC, "/all/pkg/DBI-0.91");
> push (@INC, "/all/pkg/DBD-Informix-0.58");
> require (DBI);
> 
> #use DBI;
> 
> 
> When I compile it , I get
> Can't locate loadable object for module DBI in @INC (@INC contains:
> /usr/local/pkg/perl-5.004_04/lib/sun4-solaris/5.00404
> /usr/local/pkg/perl-5.004_04/lib
> /usr/local/pkg/perl-5.004_04/lib/site_perl/sun4-solaris
> /usr/local/pkg/perl-5.004_04/lib/site_perl /usr/local/lib
> /usr/local/lib/perl5 . /all/pkg/DBI-0.91 /all/pkg/DBD-Informix-0.58)
> at
> simple.pl.. for the line being "require(DBI)".
> Now DBI.pm and DBI.o are there in /all/pkg/DBI.91...
>  DBI.pm has "use DBI" so I just used require in the program (Even
> tried
> use DBI, did'nt work)
>   Could u please lemme know where I'm going wrong ?
> 
> thanx,
>  Deepa
> 
> 
> 
> 
> ----------------------------------------------------------------------
> --------
> To unsubscribe from this list, please visit http://www.fugue.com/dbi
> If you are without web access, or if you are having trouble with the
> web page,
> please send mail to dbi-request@fugue.com.   Please try to use the web
> page first - it will take a long time for your request to be processed
> by hand.
> ----------------------------------------------------------------------
> --------
> 


------------------------------------------------------------------------------
To unsubscribe from this list, please visit http://www.fugue.com/dbi
If you are without web access, or if you are having trouble with the web page,
please send mail to dbi-request@fugue.com.   Please try to use the web
page first - it will take a long time for your request to be processed by hand.
------------------------------------------------------------------------------

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic