delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/15/06:32:51

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: Guile and Readline won't play together
References: <000001c22bc5$138a5620$734b1cd3 AT Dell>
Organization: Jan at Appel
Mail-Followup-To: cygwin AT cygwin DOT com
From: Jan Nieuwenhuizen <janneke AT gnu DOT org>
Date: Mon, 15 Jul 2002 12:32:41 +0200
In-Reply-To: <000001c22bc5$138a5620$734b1cd3@Dell> ("Jason C. Johnston"'s
message of "Mon, 15 Jul 2002 16:01:28 +1000")
Message-ID: <87sn2lnuwm.fsf@peder.flower>
Lines: 50
User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2
(i386-debian-linux-gnu)
MIME-Version: 1.0

"Jason C. Johnston" <jason AT astadhyayi DOT net> writes:

> I cannot get readline to work in guile. Creating, as suggested on the
> man
> page, a ~/.guile file containing:
>
>      (use-modules (ice-9 readline))
>      (activate-readline)
>
> results in:
>
>       ERROR: In procedure dynamic-link:
>       ERROR: file: "libguilereadline", message: "file not found"
> (By contrast, (use-modules (ice-9 popen)), for instance, works fine.)

That may happen because, as you found out, readline must be
dynamically linked when you do that.

> In fact, there are files called libguilereadline.{a, dll.a, la} in
> /usr/lib.

That's correct.  You also have cygguilereadline-14.dll in /usr/bin, I
hope.

> Now /usr/lib is not in my PATH, normally, so I tried prefixing it, with
> the result on firing up guile:
>
>   assertion "(!*pargz && !*pargz_len && !before) || ((*pargz <= before)
> &&     
>   (before < (*pargz + *pargz_len)))" failed: file   
>   "/usr/src/libtool/devel/libtool-20020502/libltdl/ltdl.c", line 548

Hmm.  Guile 1.5.6-3 was linked against latest libtool from cvs.  It
looks like there may be a conflict (or another problem) with the
libtool that's currently in Cygwin.

Unless someone else has a smart guess what's going on here, I'll
rebuild guile with Cygwin's latest libtool-devel, and see what
happens.

> Any pointers, please? 

I think you just found a bug, we'll have to look into this.

Greetings,
Jan.

-- 
Jan Nieuwenhuizen <janneke AT gnu DOT org> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019