Re: JSON::XS error

2013-10-09 Thread Florian Ernst
Hello all,

On Wed, Oct 09, 2013 at 08:58:20AM -0400, Brad Alexander wrote:
> Okay. So how do you rebuild the module?

It looks like that is up to Consol. I just tried rebuilding the package
myself but failed (first due to missing Build-Depends, then local
libraries were not found during build, after which I stopped; cf. [0]).

At the moment Consol provides packages that are uninstallable and don't
build in a clean build environment. Anyone is free to debug their build
setup, but I guess they could update the package best themselves. Maybe
they just need a gentle prod.

Cheers,
Flo


[0] relevant lines from my build log:
15:57:07 O: mv /tmp/buildd/thruk-1.76/debian/thruk/usr/share/thruk/local-lib 
/tmp/buildd/thruk-1.76/debian/thruk/usr/lib/thruk/perl5
15:57:07 O: mv: cannot stat 
'/tmp/buildd/thruk-1.76/debian/thruk/usr/share/thruk/local-lib': No such file 
or directory
15:57:07 O: make: *** [install] Error 1
15:57:07 O: dpkg-buildpackage: error: fakeroot debian/rules binary gave error 
exit status 2
15:57:07 O: E: Failed autobuilding of package


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131009141137.gb1...@fernst.no-ip.org



Re: JSON::XS error

2013-10-09 Thread Brad Alexander
Okay. So how do you rebuild the module?



On Wed, Oct 9, 2013 at 6:22 AM, Florian Ernst  wrote:

> Hello all,
>
> On Wed, Oct 09, 2013 at 05:16:27AM -0400, Brad Alexander wrote:
> > [...]
> > This is on an i386 sid container (openvz) running on proxmox-ve (wheezy).
> > When I try to install the thruk package (thruk_1.76-3_debian8_i386.deb),
> I
> > get the following error message:
> >
> >  Perl API version v5.14.0 of JSON::XS does not match v5.18.0 at
> > [...]
> > I have two JSON/XS.pm on the system, one from thruk and one from the
> thruk
> > package, and the other from libjson-xs-perl.
>
> On my test system these both merely differ in perldoc. They don't need
> to be updated.
>
> > Can anyone suggest how to get past this error?
>
> Consol needs to update their packages they provide for Jessie for Perl
> API v5.18.0. Most probably a rebuild will suffice, but that needs to be
> checked.
>
> I'm afraid there isn't much you can do at the moment but wait / prod
> Consol. Oh, and I'd refrain from needlessly installing CPAN packages.
>
> HTH,
> Flo
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/20131009102208.ga26...@fernst.no-ip.org
>
>


Re: JSON::XS error

2013-10-09 Thread Florian Ernst
Hello all,

On Wed, Oct 09, 2013 at 05:16:27AM -0400, Brad Alexander wrote:
> [...]
> This is on an i386 sid container (openvz) running on proxmox-ve (wheezy).
> When I try to install the thruk package (thruk_1.76-3_debian8_i386.deb), I
> get the following error message:
> 
>  Perl API version v5.14.0 of JSON::XS does not match v5.18.0 at
> [...]
> I have two JSON/XS.pm on the system, one from thruk and one from the thruk
> package, and the other from libjson-xs-perl.

On my test system these both merely differ in perldoc. They don't need
to be updated.
 
> Can anyone suggest how to get past this error?

Consol needs to update their packages they provide for Jessie for Perl
API v5.18.0. Most probably a rebuild will suffice, but that needs to be
checked.

I'm afraid there isn't much you can do at the moment but wait / prod
Consol. Oh, and I'd refrain from needlessly installing CPAN packages.

HTH,
Flo


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131009102208.ga26...@fernst.no-ip.org



Re: JSON::XS error

2013-10-09 Thread Sandro CAZZANIGA
Le 09/10/2013 11:16, Brad Alexander a écrit :
> Hi all,
> 
> I'm trying to install and experiment with Thruk on my nagios server, but
> am running into a perl error, which is why I am posting here. I asked on
> the thruk irc channel, but that went nowhere. In any case, this is
> beyond my pitiful perl-foo, so i figured I'd ask.
> 
> This is on an i386 sid container (openvz) running on proxmox-ve
> (wheezy). When I try to install the thruk package
> (thruk_1.76-3_debian8_i386.deb), I get the following error message:
> 
>  Perl API version v5.14.0 of JSON::XS does not match v5.18.0 at
> /usr/lib/thruk/perl5/i486-linux-gnu-thread-multi-64int/XSLoader.pm line 92.
>  Compilation failed in require at
> /usr/share/thruk/lib/Thruk/Utils/CLI.pm line 19.
>  BEGIN failed--compilation aborted at
> /usr/share/thruk/lib/Thruk/Utils/CLI.pm line 19.
>  Compilation failed in require at /usr/bin/thruk line 77.
> 
> where line 77 of /usr/share/thruk/lib/Thruk/Utils/CLI.pm is:
> 
>  use JSON::XS qw/encode_json decode_json/;
> 
> I have two JSON/XS.pm on the system, one from thruk and one from the
> thruk package, and the other from libjson-xs-perl.
> 
> Can anyone suggest how to get past this error?
> 
> Thanks,
> --b


hi,

try to upgrade JSON::XS via a tool like cpan, cpanm or whatever.

Cheers.

-- 
Sandro Cazzaniga

Site web: http://sandrocazzaniga.fr
Jabber:   kha...@jabber.fr
Twitter:  @Kharec
GitHub:   http://github.com/Kharec
IRC:  Kharec



signature.asc
Description: OpenPGP digital signature


JSON::XS error

2013-10-09 Thread Brad Alexander
Hi all,

I'm trying to install and experiment with Thruk on my nagios server, but am
running into a perl error, which is why I am posting here. I asked on the
thruk irc channel, but that went nowhere. In any case, this is beyond my
pitiful perl-foo, so i figured I'd ask.

This is on an i386 sid container (openvz) running on proxmox-ve (wheezy).
When I try to install the thruk package (thruk_1.76-3_debian8_i386.deb), I
get the following error message:

 Perl API version v5.14.0 of JSON::XS does not match v5.18.0 at
/usr/lib/thruk/perl5/i486-linux-gnu-thread-multi-64int/XSLoader.pm line 92.
 Compilation failed in require at /usr/share/thruk/lib/Thruk/Utils/CLI.pm
line 19.
 BEGIN failed--compilation aborted at
/usr/share/thruk/lib/Thruk/Utils/CLI.pm line 19.
 Compilation failed in require at /usr/bin/thruk line 77.

where line 77 of /usr/share/thruk/lib/Thruk/Utils/CLI.pm is:

 use JSON::XS qw/encode_json decode_json/;

I have two JSON/XS.pm on the system, one from thruk and one from the thruk
package, and the other from libjson-xs-perl.

Can anyone suggest how to get past this error?

Thanks,
--b