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>
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 <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
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20200320/3756eec6/attachment.htm>