Subject: Fwd: Compiling guile-2.0.12
From: Paul Emsley <[email-masked]>
To: [email-masked]
Date: Sat, 13 Aug 2016 15:10:21 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

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 <[email-masked]>
To: [email-masked]

$ ./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.