* Guile OpenGL
@ 2021-01-08 23:19 Tim Meehan
2021-01-09 7:03 ` Aleix Conchillo Flaqué
2021-01-09 11:01 ` Vladimir Zhbanov
0 siblings, 2 replies; 5+ messages in thread
From: Tim Meehan @ 2021-01-08 23:19 UTC (permalink / raw)
To: guile-user
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Guile OpenGL
2021-01-08 23:19 Guile OpenGL Tim Meehan
@ 2021-01-09 7:03 ` Aleix Conchillo Flaqué
2021-01-09 11:01 ` Vladimir Zhbanov
1 sibling, 0 replies; 5+ messages in thread
From: Aleix Conchillo Flaqué @ 2021-01-09 7:03 UTC (permalink / raw)
To: Tim Meehan; +Cc: guile-user
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Guile OpenGL
2021-01-08 23:19 Guile OpenGL Tim Meehan
2021-01-09 7:03 ` Aleix Conchillo Flaqué
@ 2021-01-09 11:01 ` Vladimir Zhbanov
2021-01-09 22:59 ` Tim Meehan
1 sibling, 1 reply; 5+ messages in thread
From: Vladimir Zhbanov @ 2021-01-09 11:01 UTC (permalink / raw)
To: guile-user
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Guile OpenGL
2021-01-09 11:01 ` Vladimir Zhbanov
@ 2021-01-09 22:59 ` Tim Meehan
2021-01-10 20:12 ` Aleix Conchillo Flaqué
0 siblings, 1 reply; 5+ messages in thread
From: Tim Meehan @ 2021-01-09 22:59 UTC (permalink / raw)
To: guile-user
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 <vzhbanov@gmail.com> wrote:
> 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
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Guile OpenGL
2021-01-09 22:59 ` Tim Meehan
@ 2021-01-10 20:12 ` Aleix Conchillo Flaqué
0 siblings, 0 replies; 5+ messages in thread
From: Aleix Conchillo Flaqué @ 2021-01-10 20:12 UTC (permalink / raw)
To: Tim Meehan; +Cc: guile-user
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 <btmeehan@gmail.com> 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 <vzhbanov@gmail.com> wrote:
>
> > 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
> >
> >
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-01-10 20:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-08 23:19 Guile OpenGL Tim Meehan
2021-01-09 7:03 ` Aleix Conchillo Flaqué
2021-01-09 11:01 ` Vladimir Zhbanov
2021-01-09 22:59 ` Tim Meehan
2021-01-10 20:12 ` Aleix Conchillo Flaqué
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).