I was having this same problem.
First make sure DBI is installed using the ppm tool Start Menu ->
Programs -> Active State Per... -> Perl Package Manager
If you have the most up to date version, you will need to modify the
scmbug code.
I removed the check for the version of DBI and everything was fine.
In share/Scmbug/lib/scmbug/Daemon/Bugzilla.pm
Comment out the following code:
# if ($PRODUCT_ON_WINDOWS) {
# $package_name = "DBI";
# $package_version = "1.50";
# my $package_exists_retval;
# my $package_exists_version_found = "";
# ( $package_exists_retval, $package_exists_version_found ) =
package_exists( $package_name, $package_version );
# if ( $package_exists_retval == 0 ) {
# if ( $package_exists_version_found eq "" ) {
# return ( 2, "Package '" . $package_name . "' not found.
v$package_version is needed.\n" . package_installation_instructions(
$package_name ) );
# } else {
# return ( 2, "Package '" . $package_name . "' v$package_version
not
found. v$package_exists_version_found found instead.\n" .
package_installation_instructions( $package_name ) );
# }
# }
# }
Let me know if you run into any more problems. My company just got
done doing the same thing and it is a hack filled bear on windows.
On Fri, Jan 9, 2009 at 6:30 AM, pulkit kumar
<[email protected]> wrote:
> Hello All,
>
>
>
> I have installed and configured scmbug for integration of SVN and Bugzilla
> on windows.
>
>
>
> After starting the batch file scmbug-server.bat I am getting the following
> error in log file:
>
>
>
>
>
> *******************************************
>
> 2009/01/09 16:13:25 Scmbug WARN>
> Daemon.pm:80:Scmbug::Daemon::Daemon::read_configuration - Read configuration
> file 'C:/Program Files/Scmbug/etc/scmbug/daemon.conf'
>
> 2009/01/09 16:13:25 Scmbug ERROR>
> Daemon.pm:113:Scmbug::Daemon::Daemon::read_configuration -
>
> *******************************************
>
> **
>
> **
>
> ** Scmbug error 79: Package 'DBI' v1.50 not found. v0 found instead.
>
> On a UNIX system, this package can be installed by running:
>
> perl -MCPAN -e 'install DBI';
>
>
>
> On a Windows system, this package can be installed by running:
>
> C:> ppm
>
> ppm> install DBI
>
> Initialization of bug-tracking system 'Bugzilla' version '3.0.0' failed.
> This could be due to an unsupported version of this system, or
> misconfiguration.
>
> **
>
>
>
> Following are the version of softwares installed on the system running the
> configuration:
>
>
>
> VisualSVN : 1.6.2
>
> Apache : 2.2
>
> Bugzilla : 3.2.0
>
> scmbug : 0-26-9
>
> MySQL : 4.1.22
>
> Active Perl : 5.10.0
>
> Python : 2.5
>
>
>
> Also, installing the version 3.0.0 of Bugzilla not working either.
>
>
>
>
>
> Any pointers for the above issue are highly appreciated
>
>
>
> Thanking in advance.......
>
>
>
> Regards,
>
> Pulkit
>
> DISCLAIMER ========== This e-mail may contain privileged and confidential
> information which is the property of Persistent Systems Ltd. It is intended
> only for the use of the individual or entity to which it is addressed. If
> you are not the intended recipient, you are not authorized to read, retain,
> copy, print, distribute or use this message. If you have received this
> communication in error, please notify the sender and delete all copies of
> this message. Persistent Systems Ltd. does not accept any liability for
> virus infected mails.
>
> _______________________________________________
> scmbug-users mailing list
> [email protected]
> http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
>
>
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users