ArchiveOrangemail archive

Bug reports for GUILE, GNU's Ubiquitous Extension Language


bug-guile.gnu.org
(List home) (Recent threads) (394 other GNU lists)

Subscription Options

  • RSS or Atom: Read-only subscription using a browser or aggregator. This is the recommended way if you don't need to send messages to the list. You can learn more about feed syndication and clients here.
  • Conventional: All messages are delivered to your mail address, and you can reply. To subscribe, send an email to the list's subscribe address with "subscribe" in the subject line, or visit the list's homepage here.
  • Low traffic list: less than 3 messages per day
  • This list contains about 3,005 messages, beginning Mar 2010
  • 0 messages added yesterday
Report the Spam
This button sends a spam report to the moderator. Please use it sparingly. For other removal requests, read this.
Are you sure? yes no

configure and --with-libltdl-prefix ...

Ad
primus 1283710247Sun, 05 Sep 2010 18:10:47 +0000 (UTC)
Sun Sep  5 18:09:09 BST 2010

Please see: http://paste.lisp.org/display/114265

Above set to expire in 1 day,  so here is the info posted:

OS: OpenBSD 4.7

# pkg_info | grep ltdl
libltdl-1.5.26p0    GNU libtool system independent dlopen wrapper

# ls -la /usr/local/lib/*ltdl*
-rw-r--r--  1 root  bin    28806 Nov  1  2007 /usr/local/lib/libguile-ltdl.so.1.0
-rw-r--r--  1 root  wheel  27148 Mar 18 14:36 /usr/local/lib/libltdl.a
-rw-r--r--  1 root  wheel    783 Mar 18 14:36 /usr/local/lib/libltdl.la
-rw-r--r--  1 root  wheel  32932 Mar 18 14:36 /usr/local/lib/libltdl.so.4.5

# ./configure --with-libltdl-prefix=/usr/local 2>&1 | tee configure.l1g

# head -1 configure.l1g
configure: WARNING: unrecognized options: --with-libltdl-prefix
# tail -1 configure.l1g
configure: error: libltdl not found.  See README.

from README:
Guile depends on the following external libraries.
- libgmp
- libiconv
- libintl
- libltdl
- libunistring
- libgc
- libffi
It will also use the libreadline library if it is available.  For each
of these there is a corresponding --with-XXX-prefix option that you
can use when invoking ./configure, if you have these libraries
installed in a location other than the standard places (/usr and
/usr/local).

above implies that option --with-libltdl-prefix should exist.

successful configure using:

env LDFLAGS="/usr/local/lib" ./configure
(Ludovic Courtès)1283719926Sun, 05 Sep 2010 20:52:06 +0000 (UTC)
Hi,

Thanks for trying out the latest & greatest!primus  writes:

> # pkg_info | grep ltdl
> libltdl-1.5.26p0    GNU libtool system independent dlopen wrapperThat’s old; I strongly recommend Libtool 2.x, though I think 1.5 should
work too.> # ./configure --with-libltdl-prefix=/usr/local 2>&1 | tee configure.l1g
>
> # head -1 configure.l1g
> configure: WARNING: unrecognized options: --with-libltdl-prefixYes, that option isn’t supported, but I agree it should.  :-)

Instead you probably need to do:

  $ CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" \
    ./configure ...

Can you try this?

Thanks,
Ludo’.
primus 1283721633Sun, 05 Sep 2010 21:20:33 +0000 (UTC)
On Sun, Sep 05, 2010 at 10:51:52PM +0200, Ludovic Court?s wrote:
> Hi,
> 
> Thanks for trying out the latest & greatest!
> 
> primus  writes:
> 
> > # pkg_info | grep ltdl
> > libltdl-1.5.26p0    GNU libtool system independent dlopen wrapper
> 
> That???s old; I strongly recommend Libtool 2.x, though I think 1.5 should
> work too.
> 
> > # ./configure --with-libltdl-prefix=/usr/local 2>&1 | tee configure.l1g
> >
> > # head -1 configure.l1g
> > configure: WARNING: unrecognized options: --with-libltdl-prefix
> 
> Yes, that option isn???t supported, but I agree it should.  :-)Sun Sep  5 22:01:44 BST 2010

The README implies that the option is available.> 
> Instead you probably need to do:
> 
>   $ CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" \
>     ./configure ...I did set LDFLAGS (using env), and the configure
completed. (That was included in the paste.)

Thanks.
(Ludovic Courtès)1283726143Sun, 05 Sep 2010 22:35:43 +0000 (UTC)
Hi,primus  writes:

> On Sun, Sep 05, 2010 at 10:51:52PM +0200, Ludovic Court?s wrote:

>> primus  writes:[...]>> > # head -1 configure.l1g
>> > configure: WARNING: unrecognized options: --with-libltdl-prefix
>> 
>> Yes, that option isn???t supported, but I agree it should.  :-)
>
> Sun Sep  5 22:01:44 BST 2010
>
> The README implies that the option is available.What in the README makes you think so?

[...]> I did set LDFLAGS (using env), and the configure
> completed. (That was included in the paste.)Cool.

Thanks,
Ludo’.
primus 1283752073Mon, 06 Sep 2010 05:47:53 +0000 (UTC)
On Mon, Sep 06, 2010 at 12:35:21AM +0200, Ludovic Court?s wrote:
> > Sun Sep  5 22:01:44 BST 2010
> >
> > The README implies that the option is available.
> 
> What in the README makes you think so?Mon Sep  6 06:39:36 BST 2010

from README:
	Guile depends on the following external libraries.
	- libgmp
	- libiconv
	- libintl
	- libltdl
	- libunistring
	- libgc
	- libffi
	It will also use the libreadline library if it is available.  For each
	of these there is a corresponding --with-XXX-prefix option that you
	can use when invoking ./configure,

It lists each library and states that there is a corresponding
'with-XXX-prefix'.

# grep 'with-' configure | grep prefix
  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
  --with-libunistring-prefix[=DIR]  search for libunistring in DIR/include and DIR/lib
  --with-libgmp-prefix[=DIR]  search for libgmp in DIR/include and DIR/lib
  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
  --with-libreadline-prefix[=DIR]  search for libreadline in DIR/include and DIR/lib

The following *do not* exist in configure (as implied from README):

--with-libltdl-prefix
--with-libffi-prefix
--with-libbgc-prefix
(Ludovic Courtès)1283899624Tue, 07 Sep 2010 22:47:04 +0000 (UTC)
Hi,primus  writes:

> The following *do not* exist in configure (as implied from README):
>
> --with-libltdl-prefix
> --with-libffi-prefix
> --with-libbgc-prefixI’ve updated ‘configure’ and ‘README’:

  http://git.sv.gnu.org/cgit/guile.git/commit/?...

Thanks,
Ludo’.
primus 1284189318Sat, 11 Sep 2010 07:15:18 +0000 (UTC)
attconfig.log.bz2 (56.2 kB)
Sat Sep 11 07:48:59 BST 2010
On Mon, Sep 06, 2010 at 12:35:21AM +0200, Ludovic Court?s wrote:
> 
> >> > # head -1 configure.l1g
> >> > configure: WARNING: unrecognized options: --with-libltdl-prefix
> >> 
> >> Yes, that option isn???t supported, but I agree it should.  :-)
> >
> > Sun Sep  5 22:01:44 BST 2010
> >
> > The README implies that the option is available.
> 
> What in the README makes you think so?
> 
> [...]
> 
> > I did set LDFLAGS (using env), and the configure
> > completed. (That was included in the paste.)Hi guys,

Just to let you know,  guile-1.9.12 finally
compiled completely yesterday evening.

The solution was to pass LDFLAGS="-L/usr/local/lib -L/usr/lib"
to configure.

It was initially necessary to set LDFLAGS so that
libltdl could be found.

I've tried to find differences between ltdl and
iconv in the configure script.

iconv (and all other libs found /usr/local/lib
(unistring, readline, gc) all have many env variables associated with them, eg
LIBICONV,  LTLIBICONV, LTLIBUNISTRING), but not ltdl.  (see attached config.log)

There is still one bug still outstanding:
http://article.gmane.org/gmane.lisp.guile.bug...

Thanks for your patience is all this.
Home | About | Privacy