unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Correct way to install perl-anyevent-i3?
@ 2022-07-27 13:28 Chris Keschnat via
  2022-07-27 14:25 ` Csepp
  2022-07-27 14:25 ` Ricardo Wurmus
  0 siblings, 2 replies; 4+ messages in thread
From: Chris Keschnat via @ 2022-07-27 13:28 UTC (permalink / raw)
  To: help-guix


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-07-27 17:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-27 13:28 Correct way to install perl-anyevent-i3? Chris Keschnat via
2022-07-27 14:25 ` Csepp
2022-07-27 14:25 ` Ricardo Wurmus
2022-07-27 17:28   ` Chris Keschnat via

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).