I have the same problem here, I run Ubuntu Desktop 9.04 as server with apache as webserver with the perl module, and when I try to run some cgi scripts that I created in the past with WebDB to comfort the connection section(was with perl 5.8). But now (with 5.10 which is default in Ubuntu 9.04) I get the message "Can't locate WebDB.pm in @INC", is this a bug in 5.10 or did I do sometime wrong? please help me you're my last hope. Thanks in advance.
Greetz,
a Proud Perl Programmer
First thing you can't install WebDB from cpan so I had to download it manually and after the configuration I placed the file in this location /usr/lib/apache2/webdb, where it always was. After that I get an error in error.log from apache when I tried to access the cgi file:
Sat May 30 00:33:50 2009errorclient xx.xxx.xxx.xxx Can't locate WebDB.pm in @INC (@INC contains: /usr/lib/apache2/webdb /etc/perl /usr/local/lib/per$
Sat May 30 00:33:50 2009errorclient xx.xxx.xxx.xxx BEGIN failed--compilation aborted at /var/www/index.cgi line 6.
Sat May 30 00:33:50 2009errorclient xx.xxx.xxx.xxx Premature end of script headers: index.cgi
The strange thing is that everything worked in the past with ubuntu 8.04 en now with 9.04 it doesn't. I really hope you can help.
Pr0t0n