Can any one help me out from the error below.. i've been trying to use DBI module on
win 2000 with Activeperl 5.6.4 and Perl 5.8 and Apache 2.0.. i dont know where i went
wrong.. do i have to write any thing the system registry file.. plz help me out..
[Tue Sep 4 12:10:38 2003] [error] [client 127.0.0.1] Premature end of script headers:
c:/program files/apache group/apache/cgi-bin/alldsn.cgi
[Tue Sep 4 12:10:38 2003] [error] [client 127.0.0.1] Can't locate loadable object for
module DBI in @INC (@INC contains: E:/Perl/lib E:/Perl/site/lib .) at
E:/Perl/lib/DBI.pm line 255
[Tue Sep 4 12:10:38 2003] [error] [client 127.0.0.1] BEGIN failed--compilation aborted
at E:/Perl/lib/DBI.pm line 255.
[Tue Sep 4 12:10:38 2003] [error] [client 127.0.0.1] Compilation failed in require at
c:\PROGRA~1\APACHE~1\apache\cgi-bin\alldsn.cgi line 4.
[Tue Sep 4 12:10:38 2003] [error] [client 127.0.0.1] BEGIN failed--compilation aborted
at c:\PROGRA~1\APACHE~1\apache\cgi-bin\alldsn.cgi line 4.
i was unable to reach to the point where i can start using any database.. the problem
is, i starts receiving error messages on use DBI; call... like on this command....
#!E:\perl\bin\perl.exe -w
print "Content-type: text/html\n\n";
-->> use DBI;
when i comment this line, my program starts working fine..
i have tried a lot to install DBI module through PPM.. but it gives me the following
message
C:\rep>ppm install dbi.ppd
Error: no suitable installation target found for package DBI.
i've also set the repository directories.. n added this DBI module in it.. but dont
know wat is wrong in it..
your help will be really appreciated ...
Farhan