Hi Lucas, http://bugzilla.mkgnu.net/show_bug.cgi?id=926
https://bugzilla.mozilla.org/show_bug.cgi?id=87411#c18 claims that globals.pl is gone in 2.24 and is present in 2.22. You shouldn't be getting this error message. On Mon, 2007-02-05 at 10:46 -0300, Lucas Zechim wrote: > 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/'. Are you sure bugzilla is installed in /usr/share/bugzilla ? A lot of people got bugzilla 2.22 working as a backend that includes globals.pl. > 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 code you are looking at was reused from Bugzilla's source code. I believe it's correct -- you shouldn't modify it. > The eval() function, run the '$cmd' on compile-time instead of at run-time. Are you sure ? I thought it was running it at run-time, when the daemon starts. > I not test the impacts of this code on daemon. But the start its OK! Does the integration work though ? What does /var/log/scmbug/error.log say ? _______________________________________________ scmbug-users mailing list [email protected] http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
