unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* julia: packaging GLFW.jl: No GLXFBConfigs returned
@ 2021-11-11 23:34 Théo Maxime Tyburn
  2021-11-13 10:52 ` Josselin Poiret
  0 siblings, 1 reply; 2+ messages in thread
From: Théo Maxime Tyburn @ 2021-11-11 23:34 UTC (permalink / raw)
  To: guix-devel

Hello Guixs,

I am trying to package GLFW.jl.
If I skip the tests the package gets compiled.
However running:

julia> using GLFW
julia> GLFW.CreateWindow(30,30,"hey")

outputs:
>GLFWError (API_UNAVAILABLE): GLX: No GLXFBConfigs returned

Running GLFW from a C program just works fine though.

By running strace I found out that at lot of .so.0 files are not
found. They are expected to be found in
/gnu/store/hzvvsg9yw1ik57p5xs2mq88cpwnfpbys-libglvnd-1.3.4/lib/libGLX_mesa.so.0
for example.

Is there a way to make these libraries accessible ? What would be the
right guixy way to do this ?

Kind regards,

Théo


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: julia: packaging GLFW.jl: No GLXFBConfigs returned
  2021-11-11 23:34 julia: packaging GLFW.jl: No GLXFBConfigs returned Théo Maxime Tyburn
@ 2021-11-13 10:52 ` Josselin Poiret
  0 siblings, 0 replies; 2+ messages in thread
From: Josselin Poiret @ 2021-11-13 10:52 UTC (permalink / raw)
  To: Théo Maxime Tyburn, guix-devel; +Cc: dev

Hello Théo,

Théo Maxime Tyburn <theo.tyburn@gmail.com> writes:

> Hello Guixs,
>
> I am trying to package GLFW.jl.
> If I skip the tests the package gets compiled.
> However running:
>
> julia> using GLFW
> julia> GLFW.CreateWindow(30,30,"hey")
>
> outputs:
>>GLFWError (API_UNAVAILABLE): GLX: No GLXFBConfigs returned
>
> Running GLFW from a C program just works fine though.

It would be better if you sent a snippet of your package definition so
we could all test out the problem.

> By running strace I found out that at lot of .so.0 files are not
> found. They are expected to be found in
> /gnu/store/hzvvsg9yw1ik57p5xs2mq88cpwnfpbys-libglvnd-1.3.4/lib/libGLX_mesa.so.0
> for example.
>
> Is there a way to make these libraries accessible ? What would be the
> right guixy way to do this ?

Are you using the guix-packaged julia-glfw-jll?  If so, it should be
built using a patched julia-jllwrappers that overrides the library
search path with the right one, and so the error shouldn't come from
there.  I can't say much more without the package definition though.

Best,
Josselin Poiret


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-13 13:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-11 23:34 julia: packaging GLFW.jl: No GLXFBConfigs returned Théo Maxime Tyburn
2021-11-13 10:52 ` Josselin Poiret

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).