unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Laura Lazzati <laura.lazzati.15@gmail.com>
To: rekado@elephly.net
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: [outreach] Help trying to create R package
Date: Thu, 18 Oct 2018 22:05:28 -0300	[thread overview]
Message-ID: <CAPNLzUNTr+2v0KQ=6+N32oLYiBf6=eL=hGbuvZTJgb4HtRgTnA@mail.gmail.com> (raw)
In-Reply-To: <CAPNLzUPdrBbTW6vVUcdFYMqNrvP4W6caUF-FbzoS-f-YofMH=w@mail.gmail.com>

On Thu, Oct 18, 2018 at 3:17 PM Laura Lazzati
<laura.lazzati.15@gmail.com> wrote:
>
> On Thu, Oct 18, 2018 at 3:15 PM Ricardo Wurmus <rekado@elephly.net> wrote:
> >
> >
> > Hi Laura,
> >
> > > configure: checking for guile 2.2
> > > configure: found guile 2.2
> > > checking for guile-2.2... /usr/bin/guile-2.2
> > > checking for Guile version >= 2.2... 2.2.3
> > > checking for guild-2.2... no
> > > checking for guile-config-2.2... no
> > > checking for guile-tools-2.2... no
> > > configure: error: 'guild' binary not found; please check your
> > > guile-2.x installation.
> >
> > I recommend using “guix environment --pure guix” when on a foreign
> > distribution.
> Yes, I am trying that right now :) I'll let you know after reading
> Invoking guix environment and trying that. Hope this works
> >
I have tried lots of things today, not successfully.

with guix environment guix, I get the same output that I get without
using guix environment (I mean, it uses the installed guix that I tend
to use generally)
the output of which guix in both cases is:
/home/laura/.config/guix/current/bin/guix

with guix environment --pure guix --ad-hoc coreutils findutils which (or -C)
I get, the output:
Command 'lesspipe' is available in the following places
 * /bin/lesspipe
 * /usr/bin/lesspipe
The command could not be located because '/bin:/usr/bin' is not
included in the PATH environment variable.
lesspipe: command not found
There, I run which guix and get:
which: no guix in
(/gnu/store/khk3lpx1li9y5zxzdppn9wi4n5g1qsgs-profile/bin:/gnu/store/khk3lpx1li9y5zxzdppn9wi4n5g1qsgs-profile/sbin)

The closest I got was by setting:
PATH=$PATH:/usr/bin/:/bin
PATH=$PATH:/usr/local/bin
And since I still got the issue with guile, I went to
/usr/bin/
and created a symlink
sudo ln -s /gnu/store/p9wm67w3rfw3hlb9iljgvsfn84mz4w9d-guile-2.2.4 guile-2.2.4
(setting guile-2.2 that whas already there to a hidden file)
 Then the ./configure --localstatedir=/var
Worked fine, as well as the make (echo $? of both 0)
There, the result of which guix is:
/usr/local/bin/guix
( a symlink to -> /var/guix/profiles/per-user/root/guix-profile/bin/guix)
I could run the ./pre-inst-env guix package -i hello, took a while but worked.
Complained about having to do:
export PATH="/home/laura/.guix-profile/bin${PATH:+:}$PATH"
Did so.
And finally I appended my r-aspi definition to cran.scm
However, everything went wrong when trying to run: (sorry, the output
is long and I also get the same output with ./pre-inst-env lint
r-aspi)
./pre-inst-env guix build r-aspi
;;; note: source file /home/laura/guix/gnu/packages/cran.scm
;;;       newer than compiled /home/laura/guix/gnu/packages/cran.go
guix build: warning: failed to load '(gnu packages abiword)':
exception thrown: #<condition &invalid-base32-character [character:
#\t string: "a7izhueiqsdjs2eo7dfyb63cqje7mbqz6ennlyoynxxucbhpdnta"]
262f6c0>
guix build: warning: failed to load '(gnu packages android)':
In procedure module-lookup: Unbound variable: googletest
guix build: warning: failed to load '(gnu packages avr)':
In procedure module-lookup: Unbound variable: binutils
guix build: warning: failed to load '(gnu packages axoloti)':
In procedure module-lookup: Unbound variable: gcc-4.9
guix build: warning: failed to load '(gnu packages bioconductor)':
In procedure module-lookup: Unbound variable: perl-module-build
guix build: warning: failed to load '(gnu packages bootloaders)':
no binding `bc' in module (gnu packages algebra)
guix build: warning: failed to load '(gnu packages chemistry)':
In procedure module-lookup: Unbound variable: python2-numpy
guix build: warning: failed to load '(gnu packages commencement)':
In procedure module-lookup: Unbound variable: gnu-make
guix build: warning: failed to load '(gnu packages debug)':
In procedure module-lookup: Unbound variable: gnu-make
guix build: warning: failed to load '(gnu packages display-managers)':
In procedure module-lookup: Unbound variable: gpgme
guix build: warning: failed to load '(gnu packages games)':
In procedure module-lookup: Unbound variable: unzip
guix build: warning: failed to load '(gnu packages image-viewers)':
In procedure module-lookup: Unbound variable: curl
guix build: warning: failed to load '(gnu packages license)':
In procedure module-lookup: Unbound variable: perl
guix build: warning: failed to load '(gnu packages make-bootstrap)':
In procedure module-lookup: Unbound variable: coreutils
guix build: warning: failed to load '(gnu packages maven)':
In procedure module-lookup: Unbound variable: java-plexus-container-default
guix build: warning: failed to load '(gnu packages syndication)':
In procedure module-lookup: Unbound variable: curl
guix build: warning: failed to load '(gnu packages unrtf)':
In procedure module-lookup: Unbound variable: coreutils
guix build: error: r-aspi: unknown package




> >
> > Ricardo
> >
Regards,
Laura

  reply	other threads:[~2018-10-19  1:06 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-13 13:36 [outreach] Help trying to create R package Laura Lazzati
2018-10-13 17:58 ` Gábor Boskovits
2018-10-13 18:25 ` Catonano
2018-10-14  0:40   ` Laura Lazzati
2018-10-15 22:47     ` Laura Lazzati
2018-10-16  5:44       ` Björn Höfling
2018-10-16  6:23         ` Björn Höfling
2018-10-16  8:28           ` Gábor Boskovits
2018-10-16 13:13             ` Laura Lazzati
2018-10-16 22:18               ` Björn Höfling
2018-10-17  1:01                 ` Laura Lazzati
2018-10-17  7:17                   ` Björn Höfling
2018-10-17  8:21                     ` Gábor Boskovits
2018-10-17 14:27                       ` Laura Lazzati
2018-10-17 16:38                         ` Laura Lazzati
2018-10-17 17:13                           ` Clément Lassieur
2018-10-17 17:50                             ` Laura Lazzati
2018-10-18  1:36                     ` Laura Lazzati
2018-10-18  6:54                       ` Björn Höfling
2018-10-18  7:50                         ` Gábor Boskovits
2018-10-18 14:49                           ` Laura Lazzati
2018-10-18 15:15                             ` Gábor Boskovits
2018-10-18 15:25                               ` Laura Lazzati
2018-10-18 15:40                                 ` Gábor Boskovits
2018-10-18 16:18                                   ` Laura Lazzati
2018-10-18 17:26                                     ` Laura Lazzati
2018-10-18 17:41                                       ` Björn Höfling
2018-10-18 18:14                             ` Ricardo Wurmus
2018-10-18 18:17                               ` Laura Lazzati
2018-10-19  1:05                                 ` Laura Lazzati [this message]
2018-10-19  3:47                                   ` Laura Lazzati
2018-10-19  6:21                                     ` Gábor Boskovits
2018-10-19  7:09                                   ` Ricardo Wurmus
2018-10-19  7:29                                     ` Gábor Boskovits
2018-10-19 18:37                                       ` Laura Lazzati
2018-10-19 18:45                                         ` Gábor Boskovits
2018-10-19 20:35                                           ` Laura Lazzati
2018-10-19 21:25                                             ` Gábor Boskovits
2018-10-19 23:10                                               ` Laura Lazzati
2018-10-20  6:08                                                 ` Björn Höfling
2018-10-20  6:34                                                   ` Gábor Boskovits
2018-10-20 13:47                                                     ` Laura Lazzati
2018-10-20 14:01                                                   ` Ludovic Courtès
2018-11-02 19:44           ` Laura Lazzati
2018-11-02 20:12             ` Gábor Boskovits
2018-11-02 20:17               ` Laura Lazzati

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='CAPNLzUNTr+2v0KQ=6+N32oLYiBf6=eL=hGbuvZTJgb4HtRgTnA@mail.gmail.com' \
    --to=laura.lazzati.15@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=rekado@elephly.net \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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