Re: Can't locate Fuse.pm in @INC

gregrwm <[email protected]>
Newsgroups gmane.user-groups.linux.tclug
Message-ID <CAD+dB9DCK2YLf_V=c9ski11T6XH+eAkNCFkg3YoBE0N9rX_t-A@mail.gmail.com>
thank you that seems to move it along a tad further, next up:
BackupPC/DirOps.pm, which must be up some other tree:

  0#  apt-get install libbackuppc-xs-perl
...
  0#  PERLLIB=/usr/share/backuppc/lib ./backuppcfs.pl /mnt/b
Can't locate BackupPC/DirOps.pm in @INC (you may need to install the
BackupPC::DirOps 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 line 68.
BEGIN failed--compilation aborted at ./backuppcfs.pl line 68.
*  2#  apt-get install libbackuppc-dirops-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libbackuppc-dirops-perl
  100#  apt-cache search backuppc
backuppc - high-performance, enterprise-grade system for backing up PCs
libfile-rsyncp-perl - Perl based implementation of an Rsync client
libio-dirent-perl - Perl module for accessing dirent structs returned by
readdir
hobbit-plugins - plugins for the Xymon network monitor
libbackuppc-xs-perl - Perl module for BackupPC
nagios-plugins-contrib - Plugins for nagios compatible monitoring systems
  0#


On Fri, Mar 20, 2020 at 12:35 PM Patrick McCabe <[email protected]>
wrote:

> 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 /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 line 67.
> BEGIN failed--compilation aborted at ./backuppcfs.pl line 67.
>   2#
>
> but begs the question about BackupPC/XS.pm
>
>
> On Fri, Mar 20, 2020 at 8:02 AM gregrwm <[email protected]> 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 <[email protected]>
>> 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 /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 line 59.
>>> BEGIN failed--compilation aborted at ./backuppcfs.pl line 59.
>>>   2#  apt-get install libfuse-perl
>>>   0#  ./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 line 66.
>>> BEGIN failed--compilation aborted at ./backuppcfs.pl line 66.
>>>   2#  PERLLIB=/usr/share/backuppc/lib/BackupPC ./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 line 59.
>>> BEGIN failed--compilation aborted at ./backuppcfs.pl line 59.
>>>   255#
>>>
>>>
>>> On Thu, Mar 19, 2020 at 7:54 PM Patrick McCabe <[email protected]>
>>> 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
>>>>
>>>>

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
[email protected]
http://mailman.mn-linux.org/mailman/listinfo/tclug-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.