in reply to from 5.8 to 5.10

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

Replies are listed 'Best First'.
Re^2: from 5.8 to 5.10
by citromatik (Curate) on Jun 01, 2009 at 08:18 UTC
    is this a bug in 5.10 or did I do sometime wrong?

    Probably the latter. Try to ask these questions and see if that helps:

    • Where is the module (WebDB) installed in my machine
    • Is that directory listed in the error message? (where the contents of @INC is listed)
    • citromatik

      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 2009 error client 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 2009 error client xx.xxx.xxx.xxx BEGIN failed--compilation aborted at /var/www/index.cgi line 6. Sat May 30 00:33:50 2009 error client 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
        sorry but the above message is from me I forgot to sign in. Pr0t0n