guix-devel
[Top][All Lists]
Advanced

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

[outreach] Help trying to create R package


From: Laura Lazzati
Subject: [outreach] Help trying to create R package
Date: Sat, 13 Oct 2018 10:36:26 -0300

 Hi!
I'm creating a new thread so that it does not end up messy.
I am reading about defining new packages, and since I have always
installed R with apt, I am trying to do so with ./configure make make
install to have it running on my VM, and then try to create the
package and check if both works

I am having trouble with the ./configure part. I find missing
dependencies, that I try to solve using guix package -i PACKAGE

I am running

 ./configure --with-readline=no --with-x=no

First I faced not having gfortran, so I run
guix install -i fortran
ran ./configure again, and ended up installing
zlib and bzlip2 (both with guix package)
Now, after running ./configure, I get the error:
configure: error: "liblzma library and headers are required"
but I cannot find that with guix package.
Any Ideas about what I should do?

besides, I don't  know why I still get every time I run guix package
-i, for instance:
The following package will be installed:
   bzip2    1.0.6    /gnu/store/rw1ilvs76rf2p4p0bi1fx3bffprwwb7g-bzip2-1.0.6

substitute: guile: warning: failed to install locale
substitute: hint: Consider installing the `glibc-utf8-locales' or
`glibc-locales' package and
substitute: defining `GUIX_LOCPATH', along these lines:
substitute:
substitute:      guix package -i glibc-utf8-locales
substitute:      export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
substitute:
substitute: See the "Application Setup" section in the manual, for more info.

When I run guix package -I I get:
hello    2.10    out    /gnu/store/bihfrh609gkxb9dp7n96wlpigiv3krfy-hello-2.10
recutils    1.7    out
/gnu/store/6h02na6yz9smc7c7g62ss03kp4yhqpc1-recutils-1.7
glibc-locales    2.27    out
/gnu/store/s28fmfrq8r0c688x59cj0fcyh2pv87nj-glibc-locales-2.27
glibc-utf8-locales    2.27    out
/gnu/store/mbns811n696fl7g060cx6jqjh75mlj8i-glibc-utf8-locales-2.27
gfortran    7.3.0    out
/gnu/store/mw65pcca7x7mmq8v2r427f3plrahhyxl-gfortran-7.3.0
zlib    1.2.11    out    /gnu/store/fxiwj2wpp11sif613axdax7gmwzsg6kp-zlib-1.2.11
bzip2    1.0.6    out    /gnu/store/rw1ilvs76rf2p4p0bi1fx3bffprwwb7g-bzip2-1.0.6

And even at the bottom of my .bashrc I have:

  export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
    export PATH="/home/laura/.guix-profile/bin${PATH:+:}$PATH"
    export CPATH="/home/laura/.guix-profile/include${CPATH:+:}$CPATH"
    export 
LIBRARY_PATH="/home/laura/.guix-profile/lib${LIBRARY_PATH:+:}$LIBRARY_PATH"

Could you help me clarify this?

-Recall I am running everything under an Ubuntu distro -
Regards,
Laura



reply via email to

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