help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Correct way to install perl-anyevent-i3?


From: Chris Keschnat
Subject: Correct way to install perl-anyevent-i3?
Date: Wed, 27 Jul 2022 15:28:57 +0200

Hello,
I have =i3-wm= installed via a package under =operating-system=.
Calling =i3-save-tree= gives the following error:

#+begin_src sh

  $ i3-save-tree
  Can't locate AnyEvent/I3.pm in @INC (you may need to install the AnyEvent::I3 
module) (@INC contains: 
/gnu/store/hy6abswwv4d89zp464fw52z65fkzr7h5-perl-5.34.0/lib/perl5/site_perl/5.34.0/x86_64-linux-thread-multi
 
/gnu/store/hy6abswwv4d89zp464fw52z65fkzr7h5-perl-5.34.0/lib/perl5/site_perl/5.34.0
 
/gnu/store/hy6abswwv4d89zp464fw52z65fkzr7h5-perl-5.34.0/lib/perl5/5.34.0/x86_64-linux-thread-multi
 /gnu/store/hy6abswwv4d89zp464fw52z65fkzr7h5-perl-5.34.0/lib/perl5/5.34.0) at 
/run/current-system/profile/bin/i3-save-tree line 19.
  BEGIN failed--compilation aborted at 
/run/current-system/profile/bin/i3-save-tree line 19

#+end_src

So I added =perl-anyevent-i3= to the package definition (in the 
=operating-system=).
After a =guix system reconfigure= and a reboot, =i3-save-tree= is still giving 
the same error.

There seems to be something wrong with the load path
(I don't know perl terminology, but I hope it is clear what I mean).

The locations are as follows:

#+begin_src sh

  $ which i3
  /run/current-system/profile/bin/i3
  $ ls -l /run/current-system
  lrwxrwxrwx 1 root root 50 27.07.2022 15:19 /run/current-system -> 
/gnu/store/nv9h5bdfyz3hzv11c7c2kaxiiqkv84ds-system
  $ locate I3.pm
  
/gnu/store/d3xis9wkrmi2lrpkb61cl31nsyrpm921-perl-anyevent-i3-0.17/lib/perl5/site_perl/5.34.0/AnyEvent/I3.pm

#+end_src

PS: I had started with installing =perl-anyevent-i3= under my normal user. The 
errors were similar.

I am unsure how to proceed and grateful for any hints.

Thank you
Chris



reply via email to

[Prev in Thread] Current Thread [Next in Thread]