all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: Installing manually built software in Guix
Date: Sun, 09 Feb 2014 00:17:43 -0500	[thread overview]
Message-ID: <87zjm050g8.fsf@netris.org> (raw)
In-Reply-To: <874n486ga1.fsf@netris.org> (Mark H. Weaver's message of "Sat, 08 Feb 2014 23:50:30 -0500")

Mark H Weaver <mhw@netris.org> 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---
@HAVE_READLINE_TRUE@am_libguilereadline_v_@LIBGUILEREADLINE_MAJOR@_la_rpath =  \
@HAVE_READLINE_TRUE@	-rpath $(libdir)
--8<---------------cut here---------------end--------------->8---

and later in the same file:

--8<---------------cut here---------------start------------->8---
libguilereadline-v-@LIBGUILEREADLINE_MAJOR@.la: $(libguilereadline_v_@LIBGUILEREADLINE_MAJOR@_la_OBJECTS) $(libguilereadline_v_@LIBGUILEREADLINE_MAJOR@_la_DEPENDENCIES) $(EXTRA_libguilereadline_v_@LIBGUILEREADLINE_MAJOR@_la_DEPENDENCIES) 
	$(AM_V_CCLD)$(libguilereadline_v_@LIBGUILEREADLINE_MAJOR@_la_LINK) $(am_libguilereadline_v_@LIBGUILEREADLINE_MAJOR@_la_rpath) $(libguilereadline_v_@LIBGUILEREADLINE_MAJOR@_la_OBJECTS) $(libguilereadline_v_@LIBGUILEREADLINE_MAJOR@_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	other threads:[~2014-02-09  5:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-07 21:07 Installing manually built software in Guix Mark H Weaver
2014-02-07 22:37 ` Ludovic Courtès
2014-02-09  4:50   ` Mark H Weaver
2014-02-09  5:17     ` Mark H Weaver [this message]
2014-02-09 20:50     ` Ludovic Courtès

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zjm050g8.fsf@netris.org \
    --to=mhw@netris.org \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.