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
>
>
> _______________________________________________
> 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/20200319/8e3d9c7c/attachment-0001.htm>