unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Chris Keschnat via <help-guix@gnu.org>
To: help-guix@gnu.org
Subject: Correct way to install perl-anyevent-i3?
Date: Wed, 27 Jul 2022 15:28:57 +0200	[thread overview]
Message-ID: <867d3yis8u.fsf@catsu.it> (raw)


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	other threads:[~2022-07-27 13:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-27 13:28 Chris Keschnat via [this message]
2022-07-27 14:25 ` Correct way to install perl-anyevent-i3? Csepp
2022-07-27 14:25 ` Ricardo Wurmus
2022-07-27 17:28   ` Chris Keschnat via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=867d3yis8u.fsf@catsu.it \
    --to=help-guix@gnu.org \
    --cc=chris@catsu.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).