[Users] Clawsker doesn't start (Can't locate Gtk3.pm in @INC...)

Dave Howorth dave at howorth.org.uk
Sun Nov 11 21:43:35 CET 2018


On Sun, 11 Nov 2018 22:26:35 +0200
Removed GDPR <removed-gdpr at example.com> wrote:

> On Sun, 11 Nov 2018 19:07:55 +0100 Andrej Kacian wrote:
> 
> > So make an RPM package, using specfile from some
> > other Perl module as a guide.  
> 
> Why would I do that? I am not going to redistribute
> the software (+ I don't even know how to create RPM).
> I just build it for one particular machine and put it
> in /opt.
> 
> On Sun, 11 Nov 2018 20:12:04 +0000 Dave Howorth wrote:
> 
> > I said it was SAFE and EASY.
> > 
> > $ # install
> > $ cpanm Gtk3
> > 
> > $ # uninstall
> > $ cpanm -U Gtk3
> > 
> > I confess I had to look the last one up (man cpanm),
> > because I have never needed to use it. Even if a
> > perl module is completely broken, it does no harm to
> > have it on your system. Perl automatically installs
> > them in a safe place, where they have no effect
> > unless you use them.  
> 
> Thanks for this info. Need I do all this as root? Or
> would it be better to do it as user? (considering I
> run clawsker as user)

If you install it as root then it is available to all users. If you
install it as a user then it is only available to that user. So your
choice depending on your circumstances. If you want to get really
clever, you can use perlbrew or local::lib to have multiple different
perl environments for each user, but I would suggest that is a massive
overkill for your situation.

If you haven't used cpanm before, you'll probably get asked various
questions about mirrors etc. Just take the defaults or offer sensible
answers if you know them. You won't break anything.

> BTW if anyone else is interested about the openSUSE
> report on this:
> 
> https://bugzilla.opensuse.org/show_bug.cgi?id=1115549

Thanks for the link. perl-Gtk3 doesn't show up in a search, but I
expect Andreas knows better than me. I don't much care what perl
modules are in the distro.



More information about the Users mailing list