I just used the package manager with ActivePerl - I assume it installed them 
within its own structure.

My bugzilla.pm already has this block:

    if ($self->is_version_latest()) {
        unshift @INC, $self->installation_directory() . "/lib";
    }

And I can see in Process Monitor that it's scanning the bugzilla/lib folder 
looking for files.

James.

-----Original Message-----
From: Michal Kašpar
Sent: 18 June 2010 07:54

On Thu, 2010-06-17 at 14:42 +0100, James Thorpe wrote:
> ** Scmbug error 79: Package 'Bugzilla' not found in installation
> directory 'D:/Internal Applications/Bugzilla/bugzilla-3.4.5'.

Did you install perl modules needed for Bugzilla into its directory
($BUGZILLA_HOME/lib)? If so, you might have ran into the same bug I did.
Quick and dirty fix should be (for Linux, adjust to your needs):
--- /home/mkaspar/Bugzilla.pm   2009-10-08 08:43:27.000000000 +0200
+++ /usr/share/scmbug/lib/Scmbug/Daemon/Bugzilla.pm     2009-10-08 
14:01:47.000000000 +0200
@@ -121,6 +121,9 @@
     my $package_name = "";
     my $package_version = "";
 
+    unshift @INC, 
$self->installation_directory()."/lib/x86_64-linux-thread-multi";
+    unshift @INC, $self->installation_directory()."/lib";
     # Include the bugzilla libraries
     unshift @INC, $self->installation_directory();
     chdir $self->installation_directory();



_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to