Have you installed libbackuppc-xs-perl?

On 3/20/20 9:41 AM, gregrwm wrote:
> dropping a level off PERLLIB looks like some progress:
>
> 0#  PERLLIB=/usr/share/backuppc/lib ./backuppcfs.pl 
> <http://backuppcfs.pl> /mnt/b
> Can't locate BackupPC/XS.pm in @INC (you may need to install the 
> BackupPC::XS module) (@INC contains: /usr/local/BackupPC/lib 
> /usr/share/backuppc/lib /etc/perl 
> /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 
> /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 
> /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 
> /usr/share/perl/5.26 /usr/local/lib/site_perl 
> /usr/lib/x86_64-linux-gnu/perl-base) at ./backuppcfs.pl 
> <http://backuppcfs.pl> line 67.
> BEGIN failed--compilation aborted at ./backuppcfs.pl 
> <http://backuppcfs.pl> line 67.
>   2#
>
> but begs the question about BackupPC/XS.pm
>
>
> On Fri, Mar 20, 2020 at 8:02 AM gregrwm <tclug1 at whitleymott.net 
> <mailto:tclug1 at whitleymott.net>> wrote:
>
>     fascinating:
>
>       0#  perl -MConfig -le 'print $INC{"Config.pm"}'
>     /usr/lib/x86_64-linux-gnu/perl/5.26/Config.pm
>       0#  PERLLIB=/usr/share/backuppc/lib/BackupPC perl
>     -MBackupPC::Lib -le 'print $INC{"Config.pm"}'
>     Can't locate BackupPC/Lib.pm in @INC (you may need to install the
>     BackupPC::Lib module) (@INC contains:
>     /usr/share/backuppc/lib/BackupPC /etc/perl
>     /usr/local/lib/x86_64-linux-gnu/perl/5.26.1
>     /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26
>     /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26
>     /usr/share/perl/5.26 /usr/local/lib/site_perl
>     /usr/lib/x86_64-linux-gnu/perl-base).
>     BEGIN failed--compilation aborted.
>       2#
>
>     so, huh?  didn't my 2nd post show that adding
>     PERLLIB=/usr/share/backuppc/lib/BackupPC satisfied it's search for
>     BackupPC/Lib.pm? i'm lost.
>
>
>     On Thu, Mar 19, 2020 at 11:21 PM Patrick McCabe
>     <patrickm at citilink.com <mailto:patrickm at citilink.com>> wrote:
>
>         Try this:
>
>         $ perl -MConfig -le 'print $INC{"Config.pm"}'
>
>         I get:
>         /usr/lib/x86_64-linux-gnu/perl/5.26/Config.pm
>
>         You can also try
>
>         PERLLIB=/usr/share/backuppc/lib/BackupPC -MBackupPC::Lib -le
>         'print $INC{"Config.pm"}'
>
>         and see if that gives you the same answer.
>
>
>         On 3/19/20 8:36 PM, gregrwm wrote:
>>         now it's looking for %Config.  hmm. perhaps the script i'm
>>         trying to run here was built on a distro other than ubuntu
>>         and things are in different places?
>>
>>           0# ./backuppcfs.pl <http://backuppcfs.pl> /mnt/b
>>         Can't locate Fuse.pm in @INC (you may need to install the
>>         Fuse module) (@INC contains: /etc/perl
>>         /usr/local/lib/x86_64-linux-gnu/perl/5.26.1
>>         /usr/local/share/perl/5.26.1
>>         /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5
>>         /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26
>>         /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base)
>>         at ./backuppcfs.pl <http://backuppcfs.pl> line 59.
>>         BEGIN failed--compilation aborted at ./backuppcfs.pl
>>         <http://backuppcfs.pl> line 59.
>>           2#  apt-get install libfuse-perl
>>           0# ./backuppcfs.pl <http://backuppcfs.pl> /mnt/b
>>         Can't locate BackupPC/Lib.pm in @INC (you may need to install
>>         the BackupPC::Lib module) (@INC contains:
>>         /usr/local/BackupPC/lib /etc/perl
>>         /usr/local/lib/x86_64-linux-gnu/perl/5.26.1
>>         /usr/local/share/perl/5.26.1
>>         /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5
>>         /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26
>>         /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base)
>>         at ./backuppcfs.pl <http://backuppcfs.pl> line 66.
>>         BEGIN failed--compilation aborted at ./backuppcfs.pl
>>         <http://backuppcfs.pl> line 66.
>>           2# PERLLIB=/usr/share/backuppc/lib/BackupPC ./backuppcfs.pl
>>         <http://backuppcfs.pl> /mnt/b
>>         Global symbol "%Config" requires explicit package name (did
>>         you forget to declare "my %Config"?) at
>>         /usr/lib/x86_64-linux-gnu/perl5/5.26/Fuse.pm line 130.
>>         Compilation failed in require at ./backuppcfs.pl
>>         <http://backuppcfs.pl> line 59. BEGIN failed--compilation
>>         aborted at ./backuppcfs.pl <http://backuppcfs.pl> line 59.
>>         255#
>>
>>
>>         On Thu, Mar 19, 2020 at 7:54 PM Patrick McCabe
>>         <patrickm at citilink.com <mailto:patrickm at citilink.com>> wrote:
>>
>>             libfuse-perl - Perl bindings for FUSE (Filesystems in
>>             USErland
>>
>>             $ sudo apt install libfuse-perl
>>
>>
>>             in 3/19/20 7:12 PM, gregrwm wrote:
>>>             sorry to be a perl sluggard, this should be easy for you
>>>             bionic folks, what's the best/proper bionic response to
>>>             "Can't locate Fuse.pm in @INC (you may need to install
>>>             the Fuse module)"?
>>>
>>>             apt-get install <what>
>>>             or
>>>             perl <what>?
>>>
>>>             tia,
>>>             greg
>>
> -- 
> this concludes test 42 of big bang inflation dynamics.  in the advent 
> of an actual universe, further instructions will be provided.  
> 000000000000000000000042
>
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> tclug-list at mn-linux.org
> http://mailman.mn-linux.org/mailman/listinfo/tclug-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20200320/bdb3aa92/attachment.htm>