From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vladimir Zhbanov Newsgroups: gmane.lisp.guile.user Subject: Re: Guile OpenGL Date: Sat, 9 Jan 2021 14:01:39 +0300 Message-ID: <20210109110139.GA1326@newvzh.lokolhoz> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3147"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.10.1 (2018-07-13) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sat Jan 09 12:02:44 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 1kyC16-0000ix-DI for guile-user@m.gmane-mx.org; Sat, 09 Jan 2021 12:02:44 +0100 Original-Received: from localhost ([::1]:59044 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyC14-0002K7-GN for guile-user@m.gmane-mx.org; Sat, 09 Jan 2021 06:02:42 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyC0e-0002Jl-5j for guile-user@gnu.org; Sat, 09 Jan 2021 06:02:16 -0500 Original-Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]:42508) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kyC0c-0000gC-1r for guile-user@gnu.org; Sat, 09 Jan 2021 06:02:15 -0500 Original-Received: by mail-lf1-x130.google.com with SMTP id b26so29216708lff.9 for ; Sat, 09 Jan 2021 03:02:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=kvT0t9piP2ngMMtqKgOGPGu+s0+DVZNgXssklS9YwLA=; b=i888Xk2uVeLmD3m6z7tK4XwzHO8RJ9UMQbaKNoyk4ww38jML+k1gDpINvpdzsRIHLP umvhJJh+JYcDsf7J6jI5UnIfaNZnL0jLst70ZGi3aHiZZmjTuPB3cIVYVmNGMtN3meXW h0On4S1/iMw6NyiHr1//IssMIZj/HTl7Ou5lsQWC7jkMGH3o23iKs81wxp8iV5okAyj+ UGdWx4hjfaDn7OTjG3nawvs5YE2EQX1kI7uxNu25NjFJMVWUNjFnl0Hdho1RHSME4N+M hjNHz9yhKoAAKP/WyokVH/PTYE+FaIzBqktmWmJ/3pQ99rmg4mS845jw+4k3xPZwQT4l 4HQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=kvT0t9piP2ngMMtqKgOGPGu+s0+DVZNgXssklS9YwLA=; b=D6WiXXHF8zSEvSP9ueF/1NB0GgS1Lm9FILmGYAYeJOcmG30rFeXqjugenBVRc/LSbO aHLchkp+u5DmN7AjHCpdKPPiEGBuAFpbO8k+Cox4g7ubuYvkKrjE3G1Oq+FLIbMqq06X vNzaFx8/v2lmsdwQhZRjFr07RoTTQ6ZKxQ687RnDBX4k3A4G8vZLNq5GhXCIfA1B+fLf Xg8Np4NbYHo86EE/3SfQpRmoPVR92wMrr1V/cIvKMg94wYqpCa6AhSwCDj6tdN9qNrVr w+jQJhCkPy0ScvGTHuNUdXYSoT5XNgMI8hAHp2kDTCSFZkExO3QyDAjLx4IvvG0OISFe LcYg== X-Gm-Message-State: AOAM530fRcnVGIRTpHIUifDm+YsIp+RAz342a958QpQKc9077596BX1T f4zTQFPI+CmRwGlswGDc8/yRyJhJErU= X-Google-Smtp-Source: ABdhPJzBo/BAH+0ZLh7AwO+7/AN4ISq5S1b22DekB6oSCLc4jHmWPDB3P1s2UcclIdgvHClzpScEEg== X-Received: by 2002:a19:787:: with SMTP id 129mr3234567lfh.234.1610190131535; Sat, 09 Jan 2021 03:02:11 -0800 (PST) Original-Received: from newvzh.lokolhoz ([95.179.127.140]) by smtp.gmail.com with ESMTPSA id 198sm2347880lfn.51.2021.01.09.03.02.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Jan 2021 03:02:10 -0800 (PST) Original-Received: from vovka by newvzh.lokolhoz with local (Exim 4.92) (envelope-from ) id 1kyC0D-0001N4-TU for guile-user@gnu.org; Sat, 09 Jan 2021 14:01:49 +0300 Mail-Followup-To: guile-user@gnu.org Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::130; envelope-from=vzhbanov@gmail.com; helo=mail-lf1-x130.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:17165 Archived-At: 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 make > 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=/usr/local/lib/guile/3.0/ccache guile > (I'm probably just going to add that environment variable to ~/.bashrc) > > 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="" > fi > fi > - _guile_versions_to_search="2.2 2.0" > + _guile_versions_to_search="3.0 2.2 2.0" > if test -n "$GUILE_EFFECTIVE_VERSION"; then > _guile_tmp="" > 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 (λ)επτόν EDA — https://github.com/lepton-eda