guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: compilation error on Apple M1


From: Damien Mattei
Subject: Fwd: compilation error on Apple M1
Date: Mon, 26 Dec 2022 15:33:08 +0100

thanks for your help Dale,anyway readline is a simple option but really cool...

Damien


---------- Forwarded message ---------
From: Damien Mattei <damien.mattei@gmail.com>
Date: Mon, Dec 26, 2022 at 3:31 PM
Subject: Re: compilation error on Apple M1
To: <dsmich@roadrunner.com>


hello Dale,

yes i had to install gsed (gnu sed):
brew install gsed

now it is almost ok
but i do not understand anymore how to make work readline and this strange error:

scheme@(guile-user)> (use-modules (ice-9 readline))
While compiling _expression_:
In procedure dlopen: file "guile-readline.dylib", message "dlopen(guile-readline.dylib, 0x0005): tried: 'guile-readline.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSguile-readline.dylib' (no such file), '/usr/lib/guile-readline.dylib' (no such file, not in dyld cache), 'guile-readline.dylib' (no such file), '/usr/local/lib/guile-readline.dylib' (no such file), '/usr/lib/guile-readline.dylib' (no such file, not in dyld cache)"
scheme@(guile-user)>
the second try made no error:
scheme@(guile-user)> (use-modules (ice-9 readline))
scheme@(guile-user)
but it does not work the usual way:
scheme@(guile-user)> (activate-readline)
;;; <stdin>:3:1: warning: possibly unbound variable `activate-readline'
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Unbound variable: activate-readline

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
scheme@(guile-user) [1]>
but it is so long time since my initial config of readline for guile that perheaps i miss a step.

Regards,
Damien

On Mon, Dec 26, 2022 at 2:19 PM <dsmich@roadrunner.com> wrote:


-----------------------------------------

From: "Damien Mattei"
To: "guile-devel"
Cc:
Sent: Monday December 26 2022 6:13:42AM
Subject: Re: compilation error on Apple M1


> sed: -e: No such file or directory

The bsd sed is different than gnu sed.  There was a few patches sent out a while ago (by RhodiumToad?) that improved building on *bsd.

I wonder if those will help?

  -Dale




reply via email to

[Prev in Thread] Current Thread [Next in Thread]