unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: guile-devel@gnu.org
Subject: Failures of `AC CHECK_SIZEOF'
Date: Wed, 19 Mar 2008 09:24:00 +0100	[thread overview]
Message-ID: <877ifz2kbj.fsf@gnu.org> (raw)

Hi,

We've seen failures of the type "cannot compute sizeof (char)",
resulting from the fact that the executable produced by
`AC_CHECK_SIZEOF' cannot be run because it's linked against a library
that's not in the dynamic linker's search path (`LD_LIBRARY_PATH' or
similar).

For the record, I discussed it with the Autoconf people:

  http://thread.gmane.org/gmane.comp.sysutils.autoconf.general/10250

The solution suggested by Ralf Wildenhues involves using M4 macros as
found in Gnulib to make sure that executables (including those produced
by `configure') get the right `RPATH' so that they can actually be run.

A simpler solution would be to move all `AC_CHECK_SIZEOF' tests earlier
than any `AC_CHECK_LIB' call in `configure.in'.  Unfortunately, we have
a number of `AC_TRY_RUN' tests that would fail later on anyway.

Thanks,
Ludovic.





                 reply	other threads:[~2008-03-19  8:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: https://www.gnu.org/software/guile/

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

  git send-email \
    --in-reply-to=877ifz2kbj.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guile-devel@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).