On Fri, Jan 26, 2001 at 11:44:43AM -0500, Debika Bhattacharyya wrote:
> 
> I've successfully installed Apache 1.3.12 and ActivePerl (version perl 5.6.0)..I'm 
>trying set up a website that uses html-cgi scripts to talk to an oracle database 
>using perl and the perl dbi.  the error i'm getting when  i try to run a perl script 
>from the cgi-bin directory is from use of the line:
>  
>         use DBI;
> 
> The error from the Apache error log file is:
> 
> [Fri Jan 26 11:17:48 2001] [error] [client 192.168.1.9] Premature end of script 
>headers: c:/apache/cgi-bin/test.pl
> [Fri Jan 26 11:17:48 2001] [error] [client 192.168.1.9] Can't locate DBI.pm in @INC 
>(@INC contains: c:/Perl/lib c:/Perl/site/lib .) at c:/apache/cgi-bin/test.pl line 4.
> 
> [Fri Jan 26 11:17:48 2001] [error] [client 192.168.1.9] BEGIN failed--compilation 
>aborted at c:/apache/cgi-bin/test.pl line 4.
> 
> I thought that the dbi.pm  module came with active perl but  i guess  i was wrong.
> Please tell me "where (in which directory) "  i should install dbi.pm and 
>dbd::oracle.  

Read the documentation that came with the software, about ppm. Then
use ppm to download these modules from repository and install them.

Yours,

-- 
------------------------------------------------------------------------
 Honza Pazdziora | [EMAIL PROTECTED] | http://www.fi.muni.cz/~adelton/
 .project: Perl, mod_perl, DBI, Oracle, auth. WWW servers, XML/XSL, ...
Petition for a Software Patent Free Europe http://petition.eurolinux.org
------------------------------------------------------------------------

Reply via email to