* Failures of `AC CHECK_SIZEOF'
@ 2008-03-19 8:24 Ludovic Courtès
0 siblings, 0 replies; only message in thread
From: Ludovic Courtès @ 2008-03-19 8:24 UTC (permalink / raw)
To: guile-devel
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-03-19 8:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-19 8:24 Failures of `AC CHECK_SIZEOF' Ludovic Courtès
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).