guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guile OpenGL


From: Vladimir Zhbanov
Subject: Re: Guile OpenGL
Date: Sat, 9 Jan 2021 14:01:39 +0300
User-agent: Mutt/1.10.1 (2018-07-13)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]