Hi,

On start scmbug, I got the error:

Starting SCM to bug-tracking integration daemon: scmbug_daemon
*******************************************
**
**
** Scmbug error 79: Package 'globals.pl' not found in installation
directory '/usr/share/bugzilla/'.
Initialization of bug-tracking system 'Bugzilla' version '2.22.0'
failed. This could be due to an unsupported version of this system, or
misconfiguration.
**
**

After, check the configuration file (etc/scmbug/daemon.conf) and the
permissions on the bugzilla install directory (644), a little look on
the code, I try change the line 267 of the Common.pm:

Index: CVSROOT/lib/scmbug/Scmbug/Common.pm
===================================================================
RCS file: /projects/scmbug/cvsroot/CVSROOT/lib/scmbug/Scmbug/Common.pm,v
retrieving revision 1.4
diff -r1.4 Common.pm
257c257
<     if ( !eval ( $cmd ) ) {
---
    if ( !eval { $cmd } ) {


What this code change?
The eval() function, run the '$cmd' on compile-time instead of at run-time.

I not test the impacts of this code on daemon. But the start its OK!

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

Reply via email to