From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laura Lazzati Subject: [outreach] Help trying to create R package Date: Sat, 13 Oct 2018 10:36:26 -0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gBK6L-000753-Nh for guix-devel@gnu.org; Sat, 13 Oct 2018 09:37:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gBK6K-0000xm-SI for guix-devel@gnu.org; Sat, 13 Oct 2018 09:37:05 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Cc: ricardo.wurmus@mdc-berlin.de 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