From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Damien Mattei Newsgroups: gmane.lisp.guile.devel Subject: Fwd: compilation error on Apple M1 Date: Mon, 26 Dec 2022 15:33:08 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004a527e05f0bc04ed" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3661"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Mon Dec 26 15:33:59 2022 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p9oYB-0000jG-5W for guile-devel@m.gmane-mx.org; Mon, 26 Dec 2022 15:33:59 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p9oXd-0001r5-Qz; Mon, 26 Dec 2022 09:33:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9oXc-0001ql-6P for guile-devel@gnu.org; Mon, 26 Dec 2022 09:33:24 -0500 Original-Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p9oXa-0002hq-A6 for guile-devel@gnu.org; Mon, 26 Dec 2022 09:33:23 -0500 Original-Received: by mail-ej1-x631.google.com with SMTP id x22so26278215ejs.11 for ; Mon, 26 Dec 2022 06:33:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=/WvCB3gwU4bHQNkht5taU4F5EbnB69VRE8lSOvbNbBQ=; b=arEdDLHq+8GwGnv9E4c4DR+iPA03Uqd+LmmK/Ujw265zfAMrzDXNxVDF6so9V3Fz+F tF99esbpmYpmVGs2BNfRQlaLfPgnEQlzv6Rzarq/9KxsfQcYr3kZFcvPZnsOWES2Uo3d TzNWeV42zjV864aDQGR2/HLHG7Xr4O8xFaCHkJ0BwKqK5uUJKrhSicgGOHYFRq9GuKSG vPVqg3rvS9+sd6XDqdKE8X0E1IAM8oozoh5DTLEQt8XWWU3skps2TkdgE0eHEfz7BYU8 18R4kGdAgdsUn/ovhSAv6g+HRkt2zxrmKZw0aoLMzwHW06BZNNoNY/VHZ3VVHQUtJTZu /xmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/WvCB3gwU4bHQNkht5taU4F5EbnB69VRE8lSOvbNbBQ=; b=aF9Q/eigZpM/aQmia1k6x6BMpN/+5sLWh0lzp5SxsZzdqKmVfLgvhdb11FhGPVXAvQ l3gXvy001jK+4mMIx8zINrqgwFP3ybTcF7Lr6fbXFI/aYGMvCqHwPPKB7YdKrEZGRkE4 v5I1gvdTgHD9pV+c29VKVjWvekaKYyt8AO0+FPKoOmgokYpf39ZAYatmYTN/snyCzQyn nqhPRG8L5l6rS9Qn40AXxUd/tyuHpqyXpsRvAe/KiEt9NJW18B0DSbCT4J2GNZCOCt0p fV4rX79lua6vg/lITNn4pjOHwVLe3Bi0G/6a+7PSAHNcsTUE0boXY6wH2E/wIcjqP+9s Kk9Q== X-Gm-Message-State: AFqh2koChZXscXb/jMqld2eBZfn4SxOPXO1p7wnmgUOc3pZwZHdFRYF3 sztozzg5I8Geuw8LXJE6iXpTH7tXip62l01hTY/sWbCmR+k= X-Google-Smtp-Source: AMrXdXuBD70PlK6nvQeUzDSxbLiqUNjBnApfxg/qve1T2GRwH1F7JT5CUsWO+v2wYvhBw+8mevTrOrqBeDrWtG7pPZM= X-Received: by 2002:a17:906:9518:b0:814:2bd6:2f91 with SMTP id u24-20020a170906951800b008142bd62f91mr1713150ejx.395.1672065200049; Mon, 26 Dec 2022 06:33:20 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::631; envelope-from=damien.mattei@gmail.com; helo=mail-ej1-x631.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.devel:21533 Archived-At: --0000000000004a527e05f0bc04ed Content-Type: text/plain; charset="UTF-8" thanks for your help Dale,anyway readline is a simple option but really cool... Damien ---------- Forwarded message --------- From: Damien Mattei Date: Mon, Dec 26, 2022 at 3:31 PM Subject: Re: compilation error on Apple M1 To: 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) ;;; :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]> https://www.gnu.org/software/guile/manual/html_node/Loading-Readline-Support.html 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 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 > > > > --0000000000004a527e05f0bc04ed Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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@roadr= unner.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-r= eadline.dylib", message "dlopen(guile-readline.dylib, 0x0005): tr= ied: 'guile-readline.dylib' (no such file), '/System/Volumes/Pr= eboot/Cryptexes/OSguile-readline.dylib' (no such file), '/usr/lib/g= uile-readline.dylib' (no such file, not in dyld cache), 'guile-read= line.dylib' (no such file), '/usr/local/lib/guile-readline.dylib= 9; (no such file), '/usr/lib/guile-readline.dylib' (no such file, n= ot 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)> (ac= tivate-readline)
;;; <stdin>:3:1: warning: possibly unbound variab= le `activate-readline'
ice-9/boot-9.scm:1685:16: In procedure raise-= exception:
Unbound variable: activate-readline

Entering a new pro= mpt.=C2=A0 Type `,bt' for a backtrace or `,q' to continue.
schem= e@(guile-user) [1]>
= but it is so long time since my initial config of readline for guile that p= erheaps i miss a step.

Regards,
Da= mien

--0000000000004a527e05f0bc04ed--