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: Mark H Weaver
Subject: Re: Installing manually built software in Guix
Date: Sun, 09 Feb 2014 00:17:43 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Mark H Weaver <address@hidden> writes:
> I guess the problem might be related to an "-rpath /usr/lib" that ends
> up in 'relink_command' in guile-readline/libguilereadline-v-18.la:
>
> # Directory that this library needs to be installed in:
> libdir='/usr/lib'
> relink_command="(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 @inst_prefix_dir@)"
>
> I'm not sure why libtool is putting that rpath in there [...]

I have another piece of the puzzle.  The first place I see this "-rpath"
is in guile-readline/Makefile.in:

--8<---------------cut here---------------start------------->8---
@address@hidden@address@hidden =  \
@HAVE_READLINE_TRUE@    -rpath $(libdir)
--8<---------------cut here---------------end--------------->8---

and later in the same file:

--8<---------------cut here---------------start------------->8---
address@hidden@.la: $(address@hidden@_la_OBJECTS) 
$(address@hidden@_la_DEPENDENCIES) $(address@hidden@_la_DEPENDENCIES) 
        $(AM_V_CCLD)$(address@hidden@_la_LINK) $(address@hidden@_la_rpath) 
$(address@hidden@_la_OBJECTS) $(address@hidden@_la_LIBADD) $(LIBS)
--8<---------------cut here---------------end--------------->8---

I used the versions of autoconf, automake, libtool, and libtool:bin from
recent Guix master when running ./autogen.sh, ./configure, make, etc.

    Thanks,
      Mark



reply via email to

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