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: Fri, 8 Jan 2021 23:03:30 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17927"; 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 Sat Jan 09 08:04:06 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 1ky8I8-0004Z4-HG for guile-user@m.gmane-mx.org; Sat, 09 Jan 2021 08:04:04 +0100 Original-Received: from localhost ([::1]:50832 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ky8I7-0004Sp-FY for guile-user@m.gmane-mx.org; Sat, 09 Jan 2021 02:04:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ky8Hq-0004Si-47 for guile-user@gnu.org; Sat, 09 Jan 2021 02:03:46 -0500 Original-Received: from mail-pg1-x52a.google.com ([2607:f8b0:4864:20::52a]:42870) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ky8Ho-00072h-C9 for guile-user@gnu.org; Sat, 09 Jan 2021 02:03:45 -0500 Original-Received: by mail-pg1-x52a.google.com with SMTP id g15so9094513pgu.9 for ; Fri, 08 Jan 2021 23:03:43 -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; bh=nRYA7q82vtIkOupsvldWdvNM7djwIBo1TcXqpvezx8M=; b=AyJjlPTsnua7jgwuWGTWIP5nRic4Rn9BpXxDO1p22iD6XvBUABVAsGzbGaV9zFQ62f eQeMJpBc6j5ORLBUMgm0s3tlYQZqc9L165+KvJwfV2X3VMUtDmYe5dvboxIewsEMp4xm 0j4Lv/MInPAoEhXJi5U1DQ6Jz5Rlf+f+in1Sn2aM+tKHellqGA5URjLI6o1tlDyL6235 H6JUEstSSurvcyhZ3B/KYkM6ExLGhSwk4/NSl4xkVcf+p9T7dEf7LXsGefkgXuwZUXej uxPotzot8OiS0T8STsfNSm1BVPUR0hZEtCeHKRoBQTxwDzNhJMvkUpRsZmWqzgYL0WQl I4GA== 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; bh=nRYA7q82vtIkOupsvldWdvNM7djwIBo1TcXqpvezx8M=; b=es9vW1+hjwWKaQQGUtmyeIbDHYhZheG3Xf22qS9HFOtQgynP/wCy6Q6cj8j+f6GulD RZMCH9KbutRakKvxY12lDkcf/wnzOwT7+HDLceX7vsQ27y+VwRDu6I6Grzd9e9HRENpW weliFSpy+R9DpmpEu1Px3oYi8fC3Lb2GRKAWkVUq1dkCiGZk0sS2gNSFfCCp7RyACpIE LHNwpGDp8yFNVGGK3SshpB+SdbB8V4Wqatjn92VSBYR1mSH0CL3wdvN9MnWNB/LXdcDA gxbv85GF1MTMb8HxCVmd0vtFiXrNGcGYLJJwVueQobJjpp9XNXem80IB5JKxQyhpdwgR 6sCQ== X-Gm-Message-State: AOAM533vXu/KsiN47Ht30Eq24koVas+MxixuHJT442xgYeVS/VVbg+3W w7uk/oR2U7Q2NVWdsOxL1Yvf5YyGaD7MIapems0= X-Google-Smtp-Source: ABdhPJyTkaFGPI16gJ4TdgRBRDThmYLWeBiLIbkexogt1rvU4XGc2Y/DPBMTh7hMKuB8zOcVQE6sU6BnMjBqmVbEszk= X-Received: by 2002:a63:2262:: with SMTP id t34mr10616157pgm.166.1610175821953; Fri, 08 Jan 2021 23:03:41 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::52a; envelope-from=aconchillo@gmail.com; helo=mail-pg1-x52a.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:17164 Archived-At: When installing libraries manually to /usr/local GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH are your friends. There's no other way to do it, AFAIK. Also, guile-opengl should install .go files in site-ccache instead of ccache. I think I sent a patch a while back with both your change and the ccache->site-ccache, but not sure who maintains it now. Aleix On Fri, Jan 8, 2021 at 3:19 PM 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