Hi Kristis,
On Fri, 2011-03-04 at 23:59 -0500, Kristis Makris wrote:
> Marcel, can I ask you to REMOVE the export and instead try solving
> this
> inside Bugzilla.pm.in with some form of "use lib"?
Any suggestion on how I should try to solve this? I don't even have a
Bugzilla.pm.in to begin with. I installed from RPM.
Apparently, only adding the Bugzilla/lib directory using
unshift @INC, $self->installation_directory() . "/lib";
doesn't seem to cut the cake. Just check the output of my earlier trial
to get things working, where I added the lines
print STDOUT Dumper( @INC );
print STDOUT Dumper( $self );
to /usr/share/scmbug/lib/Scmbug/Daemon/Bugzilla.pm
$VAR1 = '/srv/bugzilla-3.4.10/lib';
$VAR2 = '/srv/bugzilla-3.4.10';
$VAR3 = '/usr/share/scmbug/lib';
$VAR4 = '/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi';
$VAR5 = '/usr/lib/perl5/5.10.0';
$VAR6 = '/usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi';
$VAR7 = '/usr/lib/perl5/site_perl/5.10.0';
$VAR8 = '/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi';
$VAR9 = '/usr/lib/perl5/vendor_perl/5.10.0';
$VAR10 = '/usr/lib/perl5/vendor_perl';
$VAR11 = '.';
$VAR1 = bless( {
'database_vendor' => 'mysql',
'location' => '127.0.0.1',
'version' => '3.4.10',
'installed_locally' => 1,
'installation_directory' => '/srv/bugzilla-3.4.10',
'port' => '3306',
'username' => 'bugs',
'version_type' => 'up_to_3_4',
'database' => 'bugs',
'bug_url_prefix' => 'http://127.0.0.1/show_bug.cgi?id='
}, 'Scmbug::Daemon::Bugzilla' );
The /srv/bugzilla-3.4.10/lib is clearly there. Yet, the required
libraries are not picked up by perl.
>
> Unless this is solved inside Bugzilla.pm.in, it will not be
> appropriately fixed. The scmbug daemon cannot be shipped with an
> export
> PERL5LIB=Bugzilla_directory hardcoded in the rc script.
>
I fully agree with that.
Best regards,
Marcel Loose.
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users