From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Aleix_Conchillo_Flaqu=C3=A9?= Newsgroups: gmane.lisp.guile.user Subject: Re: Guile OpenGL Date: Sun, 10 Jan 2021 12:12:42 -0800 Message-ID: References: <20210109110139.GA1326@newvzh.lokolhoz> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2628"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-user To: Tim Meehan Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sun Jan 10 21:13:23 2021 Return-path: Envelope-to: guile-user@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 1kyh5W-0000J2-D9 for guile-user@m.gmane-mx.org; Sun, 10 Jan 2021 21:13:22 +0100 Original-Received: from localhost ([::1]:47308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyh5V-0000WJ-Bs for guile-user@m.gmane-mx.org; Sun, 10 Jan 2021 15:13:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyh5F-0000VL-55 for guile-user@gnu.org; Sun, 10 Jan 2021 15:13:05 -0500 Original-Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]:40889) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kyh55-0006MK-VM for guile-user@gnu.org; Sun, 10 Jan 2021 15:13:04 -0500 Original-Received: by mail-pl1-x636.google.com with SMTP id q4so8398237plr.7 for ; Sun, 10 Jan 2021 12:12:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=JcLHI6W3bmUp3+p+Ii3Z1o25nzGki/EV3H6IxiKzbng=; b=FHFrvdiyCdgAsJUMiv3Mm0yDkH27CDf6xaX1NSrEXDhIOrgRnGEbwgwcK2XgcwyIT4 oLCDd+bYivaMvQ5W4SkERepegrCbbtVDXWwPL7h53cigEa+MORsmkfuTlfP4mwY1vdvd +RmJZr0ntH/0SZ/EAoaXHVMCebgqxFNUNkGIfPSJJw3In4AKV3ydt74c6rf+G/MT8o5B GFpfcCW1DBNIco3glcmycRLrqfsvU5EPTeD+LOA8F+BLQI6eQtGU4QK+Wq3l3mrs+El0 srevfVQbzZKX8Aiye/1cu5QkJIKlBKQAqMMZKLjilK+DD1yRlYpjBgDnX1LZPRkNNJAk 0yZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=JcLHI6W3bmUp3+p+Ii3Z1o25nzGki/EV3H6IxiKzbng=; b=tye1ZuqVGCEJhg/sFuW7RVI5DNiuTNvSqxGasx3I5b3m+fEMiJXX5Lr2qRdnyOrY2G JkP755dfm81gKc777k85C/QlkRAalVRy/CMo4wDE3eNmHTQVCjBxvIRTYoYNkuheX1wG 0iTaJ4nZfUxu6ioQYHwHSa8/opPKKd6PBMpMVVCxgNieuOr0yWLgNDKhbDUa6Sktwd12 2Ny90/HFWtpR2jyPuJqf3CrCLHLMnWtaHQBjeJH5+cMA2FQvk7qP3tCjyhMYB7Ufx+Q3 F85USdgIL53TZflo/oJqQSSmssanelXPPQrKOMjAn0PQrnzhxJByy/1VagkoL07iGXXL yz/Q== X-Gm-Message-State: AOAM532HmJCP/2XZTlHvuaiVJuIfJDDQ/2CLusOw/3SSTuth2ek2Sxnd 9c7NGU4n8Uk77Z/IP9xyAq/VUaZgQ/JNXX1QAsM= X-Google-Smtp-Source: ABdhPJxTHiVQY0zYWR7r1AZbnh96q+mTJoxkdneakiRmNqnG3gOiKZcbvT79d3KbPlV7/OF1BreSgOHgxmHXaBoasuA= X-Received: by 2002:a17:902:9049:b029:da:efd6:4c12 with SMTP id w9-20020a1709029049b02900daefd64c12mr13397682plz.12.1610309572926; Sun, 10 Jan 2021 12:12:52 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::636; envelope-from=aconchillo@gmail.com; helo=mail-pl1-x636.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, 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-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17167 Archived-At: Actually, there's another way which is tinkering with %load-compiled-path and %load-path variables, the latter better modified through (add-to-load-path). But environment variables seem safer, imo. On Sat, Jan 9, 2021 at 2:59 PM Tim Meehan wrote: > > Aleix and Vladimir - thanks! > and yes, this was so that I could eventually tinker with chickadee :-) > > On Sat, Jan 9, 2021 at 5:03 AM Vladimir Zhbanov wrot= e: > > > Hi Tim, > > > > On Fri, Jan 08, 2021 at 05:19:16PM -0600, Tim Meehan wrote: > > > I tried to configure Guile OpenGL with Guile 3.0.4 ... and I had to m= ake > > > the following change in order to make it work (included below). > > > Apparently, it wants to be installed in: > > > /usr/local/lib/guile/3.0/ccache > > > > > > Apparently I need to change some configuration. > > > Adding this to "~/.guile" didn't work: > > > (add-to-load-path "/usr/local/lib/guile/3.0/ccache") > > > > > > This worked (all on the command line before calling the guile > > executable): > > > GUILE_LOAD_COMPILED_PATH=3D/usr/local/lib/guile/3.0/ccache guile > > > (I'm probably just going to add that environment variable to ~/.bashr= c) > > > > > > Is there a "more correct" way of making guile aware of this? > > > > > > (Small tweak to "configure" below:) > > > > > > --- configure 2021-01-08 09:10:50.827301450 -0600 > > > +++ configure-new 2021-01-08 09:10:37.527634319 -0600 > > > @@ -2536,7 +2536,7 @@ > > > PKG_CONFIG=3D"" > > > fi > > > fi > > > - _guile_versions_to_search=3D"2.2 2.0" > > > + _guile_versions_to_search=3D"3.0 2.2 2.0" > > > if test -n "$GUILE_EFFECTIVE_VERSION"; then > > > _guile_tmp=3D"" > > > for v in $_guile_versions_to_search; do > > > > Is it about chickadee, uh :-) ? > > > > In order to compile it I added the following line to ~/.guile: > > > > (add-to-load-path "/usr/local/share/guile/site/3.0") > > > > Well, it had to compile once again after installing despite some > > *.go files have been already installed in the dirs you've > > mentioned. > > > > (I'm not sure this only change did the trick, probably I used > > GUILE_LOAD_PATH as well, though cannot remember now for what > > package/library :-/ ) > > > > -- > > Vladimir > > > > (=CE=BB)=CE=B5=CF=80=CF=84=CF=8C=CE=BD EDA =E2=80=94 https://github.com= /lepton-eda > > > >