Why do we get the "cannot find Bugzilla.pm" - Mozilla

This is a discussion on Why do we get the "cannot find Bugzilla.pm" - Mozilla ; I get this strange message when I started my working Bugzillla system on my http://localhost: Software error: Can't locate Bugzilla/DB/Schema.pm in @INC (@INC contains: . lib C:/ Perl/site/lib C:/Perl/lib) at Bugzilla/DB.pm line 44. BEGIN failed--compilation aborted at Bugzilla/DB.pm line 44. ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Why do we get the "cannot find Bugzilla.pm"

  1. Why do we get the "cannot find Bugzilla.pm"

    I get this strange message when I started my working Bugzillla system
    on my http://localhost:

    Software error:
    Can't locate Bugzilla/DB/Schema.pm in @INC (@INC contains: . lib C:/
    Perl/site/lib C:/Perl/lib) at Bugzilla/DB.pm line 44.
    BEGIN failed--compilation aborted at Bugzilla/DB.pm line 44.
    Compilation failed in require at Bugzilla.pm line 43.
    BEGIN failed--compilation aborted at Bugzilla.pm line 43.
    Compilation failed in require at C:/Bugzilla/index.cgi line 34.
    BEGIN failed--compilation aborted at C:/Bugzilla/index.cgi line 34.

    For help, please send mail to the webmaster (xyz@wxy.com), giving this
    error message and the time and date of the error.


    C:\Perl\bin>perl.exe -T c:\Bugzilla\collectstats.pl
    Can't locate Bugzilla.pm in @INC (@INC contains: . lib C:/Perl/site/
    lib C:/Perl/lib) at c:\Bugzilla\co
    llectstats.pl line 40.
    BEGIN failed--compilation aborted at c:\Bugzilla\collectstats.pl line
    40.

    However, after trying to install/update Bugzilla and other perl
    modules and restart the services, Bugzilla seems to be up and running.

    in C:\Bugzilla, run the
    cvs update -R -d -rBugzilla_Stable

    in C:\Perl\bin, run the
    ppm upgrade

    and finally check if you have all the necessary modules
    perl checksetup.pl --check-modules

    and else if the mysql and apache services were started

    Although I got my Bugzilla running, I still get the 'cannot locate
    Bugzilla error'!

    C:\Perl\bin>perl.exe -T c:\Bugzilla\collectstats.pl
    Can't locate Bugzilla.pm in @INC (@INC contains: . lib C:/Perl/site/
    lib C:/Perl/lib) at c:\Bugzilla\co
    llectstats.pl line 40.
    BEGIN failed--compilation aborted at c:\Bugzilla\collectstats.pl line
    40.

    I wish I know what is happening here!

    Regards
    Krishna

  2. Re: Why do we get the "cannot find Bugzilla.pm"

    On Apr 13, 11:05*am, krishna81m wrote:
    > C:\Perl\bin>perl.exe -T c:\Bugzilla\collectstats.pl


    You are running it wrong. This will work:
    c:\Perl\bin> cd c:\Bugzilla
    c:\Bugzilla> c:\Perl\bin\perl.exe -wT .\collectstats.pl

    (collectstats.pl, and all Bugzilla scripts, expect Bugzilla.pm to be
    in the current working directory, which you are using as c:\Perl\bin)

+ Reply to Thread