On 25/02/16 10:54, Richard W.M. Jones wrote:
Apply the attached patch, followed by doing:
make -C perl clean
./configure
make
Rich.
I applied the patch, unfortunately the issue is still present.
This is what I get if I run interactive Perl console.
DB<1> use Sys::Guestfs
Can't locate loadable object for module Sys::Guestfs in @INC (@INC
contains: /home/noxdafox/development/libguestfs/perl/lib /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1
/usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at (eval
8)[/usr/share/perl/5.22/perl5db.pl:737] line 2.
Compilation failed in require at (eval
8)[/usr/share/perl/5.22/perl5db.pl:737] line 2.
at (eval 8)[/usr/share/perl/5.22/perl5db.pl:737] line 2.
main::BEGIN() called at (eval
8)[/usr/share/perl/5.22/perl5db.pl:737] line 2
eval {...} called at (eval
8)[/usr/share/perl/5.22/perl5db.pl:737] line 2
eval 'no strict; ($@, $!, $^E, $,, $/, $\\, $^W) =
@DB::saved;package main; $^D = $^D | $DB::db_stop;
use Sys::Guestfs;
' called at /usr/share/perl/5.22/perl5db.pl line 737
DB::eval called at /usr/share/perl/5.22/perl5db.pl line 3110
DB::DB called at -e line 1
BEGIN failed--compilation aborted at (eval
8)[/usr/share/perl/5.22/perl5db.pl:737] line 2.
at (eval 8)[/usr/share/perl/5.22/perl5db.pl:737] line 2.
eval 'no strict; ($@, $!, $^E, $,, $/, $\\, $^W) =
@DB::saved;package main; $^D = $^D | $DB::db_stop;
use Sys::Guestfs;
' called at /usr/share/perl/5.22/perl5db.pl line 737
DB::eval called at /usr/share/perl/5.22/perl5db.pl line 3110
DB::DB called at -e line 1
I have no experience with Perl. Is it failing evaluating the module?
I checked the module and it's contained in the path
/home/noxdafox/development/libguestfs/perl/lib which is present in @INC.