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

Patrick McCabe <[email protected]>
Newsgroups gmane.user-groups.linux.tclug
Message-ID <eff16270-fff6-998e-2e31-39893d2e5fd7@zok>
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 <[email protected] 
> <mailto:[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

_______________________________________________
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.