>
>Achar, could you try the following patch?
> if ($self->is_version_up_to_3_4() || $self->is_version_latest()) {
>- unshift @INC, $self->installation_directory() . "/lib";
>+ use lib $self->installation_directory();
> }
Hi Kristis,
Thanks for the reply. I have tried the below patch
But I am getting the below compilation errors while starting scmbug.
Starting SCM to bug-tracking integration daemon:
scmbug_daemonCan't call method "installation_directory" on an undefined
value at /usr/share/scmbug/lib/Scmbug/Daemon/Bugzilla.pm line 143.
BEGIN failed--compilation aborted at
/usr/share/scmbug/lib/Scmbug/Daemon/Bugzilla.pm line 143.
Compilation failed in require at
/usr/share/scmbug/lib/Scmbug/Daemon/Daemon.pm line 22.
BEGIN failed--compilation aborted at
/usr/share/scmbug/lib/Scmbug/Daemon/Daemon.pm line 22.
Compilation failed in require at /usr/sbin/scmbug_daemon.pl line 25.
BEGIN failed--compilation aborted at /usr/sbin/scmbug_daemon.pl line 25.
Please let me know if there are any dependencies.
Regards
Achar
-----Original Message-----
From: Kristis Makris [mailto:[email protected]]
Sent: Tuesday, February 15, 2011 6:23 AM
To: Thorsten Schöning; Raghavendra Achar L
Cc: [email protected]
Subject: Re: [scmbug-users] Scmbug error 79: Package 'Bugzilla' not found in
installation directory
On Mon, 2011-02-14 at 08:20 +0100, Thorsten Schöning wrote:
> How does it include the lib folder in current code? It should
> with use lib:
It currently issues:
if ($self->is_version_up_to_3_4() || $self->is_version_latest()) {
unshift @INC, $self->installation_directory() . "/lib";
}
Achar, could you try the following patch?
===================================================================
RCS
file:
/projects/scmbug/cvsroot/system/src/lib/product/Daemon/Bugzilla.pm.in,v
retrieving revision 1.86
diff -u -r1.86 Bugzilla.pm.in
--- Bugzilla.pm.in 27 Sep 2010 18:59:23 -0000 1.86
+++ Bugzilla.pm.in 15 Feb 2011 00:50:05 -0000
@@ -139,7 +139,7 @@
chdir $self->installation_directory();
if ($self->is_version_up_to_3_4() || $self->is_version_latest()) {
- unshift @INC, $self->installation_directory() . "/lib";
+ use lib $self->installation_directory();
}
#
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users