guix-devel
[Top][All Lists]
Advanced

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

Re: Installing manually built software in Guix


From: Ludovic Courtès
Subject: Re: Installing manually built software in Guix
Date: Fri, 07 Feb 2014 23:37:11 +0100
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Mark H Weaver <address@hidden> skribis:

> As a Guile developer, I'm in the habit of building Guile from git, and
> occasionally installing that version with --prefix=/usr.
>
> As a Guix enthusiast, I've recently been experimenting with building
> Guile from git, with my environment variables set to attempt to use only
> things from Guix:

I’ve been doing something similar.

> I just tried "make install", as root, with these same environment
> variable settings (but with HOME=/home/mhw).  It failed in the middle.
> Here's the tail of the log:
>
> make[2]: Entering directory `/home/mhw/guile/guile-readline'
> make  install-am
> make[3]: Entering directory `/home/mhw/guile/guile-readline'
> make[4]: Entering directory `/home/mhw/guile/guile-readline'
>  /home/mhw/.guix-profile/bin/mkdir -p '/usr/lib'
>  /bin/bash ../libtool   --mode=install /home/mhw/.guix-profile/bin/install -c 
>   libguilereadline-v-18.la '/usr/lib'
> libtool: install: warning: relinking `libguilereadline-v-18.la'
> libtool: install: (cd /home/mhw/guile/guile-readline; /bin/bash 
> /home/mhw/guile/libtool  --silent --tag CC --mode=relink gcc -Wall 
> -Wmissing-prototypes -Wdeclaration-after-statement -Wpointer-arith 
> -Wswitch-enum -fno-strict-aliasing 
> -I/nix/store/a9j9bl7m73rhlal9z83z3wbl9m17di4i-libgc-7.4.0/include -g -O2 
> -version-info 18:0:0 -export-dynamic -no-undefined -o 
> libguilereadline-v-18.la -rpath /usr/lib readline.lo -lreadline -lncurses 
> ../libguile/libguile-2.0.la ../lib/libgnu.la -lcrypt -lm )
> libtool: relink: warning: `/home/mhw/.guix-profile/lib/libunistring.la' seems 
> to be moved
> libtool: relink: warning: `/home/mhw/.guix-profile/lib/libgmp.la' seems to be 
> moved
> libtool: relink: warning: `/home/mhw/.guix-profile/lib/libltdl.la' seems to 
> be moved
> /usr/lib/libgc.so: could not read symbols: File in wrong format
> collect2: error: ld returned 1 exit status

Here it’s trying to use the “wrong” libgc, which is itself possibly
linked with a different libc.

Can you try installing libgc from Guix, and make sure it’s the one
that’s picked up when building Guile?

HTH,
Ludo’.



reply via email to

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