unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: "Aleix Conchillo Flaqué" <aconchillo@gmail.com>
To: Tim Meehan <btmeehan@gmail.com>
Cc: guile-user <guile-user@gnu.org>
Subject: Re: Guile OpenGL
Date: Fri, 8 Jan 2021 23:03:30 -0800	[thread overview]
Message-ID: <CA+XASoXrdGvp9e45GkQ_q81nD2oaaAV3Ysq6wAPCVv3ZvuaV7w@mail.gmail.com> (raw)
In-Reply-To: <CACgrOxJeKaBGW_xMf-sXVk2EUDjPL0-UiHZi81YmD49G66C6sQ@mail.gmail.com>

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 <btmeehan@gmail.com> 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



  reply	other threads:[~2021-01-09  7:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-08 23:19 Guile OpenGL Tim Meehan
2021-01-09  7:03 ` Aleix Conchillo Flaqué [this message]
2021-01-09 11:01 ` Vladimir Zhbanov
2021-01-09 22:59   ` Tim Meehan
2021-01-10 20:12     ` Aleix Conchillo Flaqué

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+XASoXrdGvp9e45GkQ_q81nD2oaaAV3Ysq6wAPCVv3ZvuaV7w@mail.gmail.com \
    --to=aconchillo@gmail.com \
    --cc=btmeehan@gmail.com \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).