unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#24219: Fwd: Compiling guile-2.0.12
       [not found] <ddea10ff-53a2-ea1d-29a5-788ac3e92fae@mrc-lmb.cam.ac.uk>
@ 2016-08-13 14:10 ` Paul Emsley
  2017-03-01  9:04   ` Andy Wingo
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Emsley @ 2016-08-13 14:10 UTC (permalink / raw)
  To: 24219


Fwd at the request of Mark Weaver.

Paul


-------- Forwarded Message --------
Subject: Compiling guile-2.0.12
Date: Thu, 11 Aug 2016 22:26:25 +0100
From: Paul Emsley <pemsley@mrc-lmb.cam.ac.uk>
To: guile-user@gnu.org


$ ./configure --prefix=$HOME/guile-2 --with-libltdl-prefix=$HOME/guile-2

checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for libltdl... no
configure: error: GNU libltdl (Libtool) not found, see README.


config.log has this:

configure:46406: checking for libltdl
configure:46428: gcc -o conftest -g -O2   conftest.c  -lltdl >&5
conftest.c:598:18: error: ltdl.h: No such file or directory
configure:46428: $? = 1

It seems to me that the argument to --with-libltdl-prefix is not being 
checked.  And that seems like a bug.

Do you agree?

Paul.






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#24219: Fwd: Compiling guile-2.0.12
  2016-08-13 14:10 ` bug#24219: Fwd: Compiling guile-2.0.12 Paul Emsley
@ 2017-03-01  9:04   ` Andy Wingo
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Wingo @ 2017-03-01  9:04 UTC (permalink / raw)
  To: Paul Emsley; +Cc: 24219-done

On Sat 13 Aug 2016 16:10, Paul Emsley <pemsley@mrc-lmb.cam.ac.uk> writes:

> $ ./configure --prefix=$HOME/guile-2 --with-libltdl-prefix=$HOME/guile-2
>
> checking for dlopen... no
> checking for dlopen in -ldl... yes
> checking whether a program can dlopen itself... yes
> checking whether a statically linked program can dlopen itself... yes
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking for libltdl... no
> configure: error: GNU libltdl (Libtool) not found, see README.
>
>
> config.log has this:
>
> configure:46406: checking for libltdl
> configure:46428: gcc -o conftest -g -O2   conftest.c  -lltdl >&5
> conftest.c:598:18: error: ltdl.h: No such file or directory
> configure:46428: $? = 1
>
> It seems to me that the argument to --with-libltdl-prefix is not being
> checked.  And that seems like a bug.

I looked at the generated "configure" file and it would seem that (in
your case) $HOME/guile-2/include is only added to the command line (via
-I $HOME/guile-2/include) if it exists and is a directory.  Similarly
for $HOME/guile-2/lib.  I suspect that was the situation.  Since this is
a standard autoconf thing and we do nothing special, I have to assume
that was the case.  Closing optimisitically :)

Andy





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-01  9:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <ddea10ff-53a2-ea1d-29a5-788ac3e92fae@mrc-lmb.cam.ac.uk>
2016-08-13 14:10 ` bug#24219: Fwd: Compiling guile-2.0.12 Paul Emsley
2017-03-01  9:04   ` Andy Wingo

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).