I installed SCMBug on Windows System with Mantis + Subversion.
When I start scmbug-server.bat i get follow error:
** Scmbug error 79: Package 'DBI' v1.50 not found. v1.48 found instead.
On a UNIX system, this package can be installed by running:
perl -MCPAN -e 'install DBI';
there is my daemon.conf:
#
# This is a template configuration file for the scmbug-server daemon
#
$daemon_configuration = {
# Logging configuration
logs => { error => 'C:/Program Files/Scmbug/var/log/scmbug/error.log' ,
activity => 'C:/Program
Files/Scmbug/var/log/scmbug/activity.log' },
# Port the daemon will start on
daemon_port => 3872,
# Configuration information of the bug tracking
# system
bugtracker => {
# The possible options are:
# - 'Bugzilla'
# - 'Mantis'
# - 'RequestTracker'
type => 'Mantis',
# This MUST be in the format x.y.z, where x,y,z
# are integers
version => '1.1.1',
database_location => '127.0.0.1',
database_port => '3360',
# Valid values are the ones accepted by the Perl DBI.
#
# For Bugzilla and RequestTracker, this value is ignored
#
# For Mantis, *some* valid values (there are others) are:
# - 'mysql'
# - 'Pg'
database_vendor => 'mysql',
# For RequestTracker these values are ignored
database_name => 'mantis',
database_username => 'root',
database_password => '',
# Used only for Bugzilla.
#
# Flags whether the live bugtracker instance is installed
# locally on the same machine the daemon is running
installed_locally => 1,
# Used for Bugzilla and RequestTracker.
#
# Path to the directory of the bugtracker sources providing
an
# API that the daemon can use
installation_directory => '/usr/share/bugzilla',
# Prefix used to display a bug
bug_url_prefix => 'http://127.0.0.1/show_bug.cgi?id=' },
# Translation list of SCM usernames to bug-tracking
# usernames. Mappings based on mapping_ldap are applied
# first. Mappings based on mapping_regexes are applied second and
# can override a mapping based on mapping_ldap. Mappings based on
# mapping_values are applied last and can override all other
# mappings.
userlist => {
# Apply a case sensitive username translation.
mapping_case_sensitive => 1,
# This is a mapping based on LDAP.
ldap_scm_username_attribute
# defines the LDAP attribute that will be used to match the
# SCM username. The SCM username will be mapped into the
# bug-tracking username defined by
# ldap_bugtracking_username_attribute.
mapping_ldap => {
enabled => 0,
ldap_server => '127.0.0.1',
ldap_port => '389',
# A binddn (e.g. cn=default) that has access to read all
# attributes
ldap_binddn => 'replace_with_binddn',
# The password of the binddn that has access to read all
# attributes
ldap_binddn_password => 'replace_with_binddn_password',
# The BaseDN in which to search for the
# ldap_scm_username_attribute (e.g.
"ou=People,o=Company")
ldap_basedn => 'replace_with_basedn',
# The name of the attribute containing the user's SCM
# username
ldap_scm_username_attribute => 'uid',
# The name of the attribute containing the user's
# bug-tracking username
ldap_bugtracking_username_attribute => 'mail',
# LDAP filter to AND with the
ldap_scm_username_attribute
# for filtering the list of valid SCM users.
ldap_filter => ''
},
# This is a mapping based on regular expressions. The first
# expression defines how the SCM username will be matched.
The
# second defines how it will be transformed, and uses the
# unnamed variable $1 that was described by the first
# expression. The mapping is checked for a match as:
# m/$first_regex/
# and is applied as: s/$first_regex/$second_regex/
mapping_regexes => {
enabled => 0,
values => {
# This is an example of mapping a Windows
Domain user
# from 'DOMAIN\user' to
'[EMAIL PROTECTED]'
'^DOMAIN\\\\(\w+)$' =>
'[EMAIL PROTECTED]',
# This is an example of mapping a UNIX user
from
# 'example_user' to
'[EMAIL PROTECTED]'
'^(\w+)$' => '[EMAIL PROTECTED]'
}
},
# This is a one-to-one mapping of SCM usernames to
bugtracking
# usernames. Mappings in this list override mappings from
# mapping_regexes.
mapping_values => {
enabled => 0,
values => {
'DOMAIN\\example_user' =>
'[EMAIL PROTECTED]',
'example_user2' =>
'[EMAIL PROTECTED]'
}
},
}
};
With the Perl Package Manager(ActiveState ActivePerl 5.6) I installed DBI
v1.48, this version is up to date.
Additional I installed Cygwin.
Can anybody help me?
Best Regards
Hermann Dering
Systemintegrator
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users