Skip to content
Prev 4235 / 21312 Next

[Bioc-devel] GLX extension missing on petty

On Wed, Apr 3, 2013 at 9:45 AM, Dan Tenenbaum <dtenenba at fhcrc.org> wrote:
A little more info on this.

There are two problems. The first is that as mentioned before, our
builds do not run physically logged into the console; they use a
virtual frame buffer (Xvfb).

We could look into changing this, but at present triplex seems to be
the only package having this problem.

Xvfb apparently does not have the OpenGL extensions compiled in. I
will check with the XQuartz people. They have been responsive before.

The second problem is if I do log into the actual physical console of
the machine, I am able to build triplex but I get the following
segfault when trying to run R CMD check on triplex:
This turns out to be reproducible simply like this:

library(rgl)
example(rgl.material)

And it's caused by the following line (Material.cpp:39) in the rgl package:

  const char* version = (const char*)glGetString(GL_VERSION);

glGetString() is a function in the OpenGL library and it is segfaulting.


Obviously that should not be happening. I'll try to track that down.

In the short term, you can disable all vignette code chunks that use
rgl (with eval=FALSE), and do the same with examples that use rgl
(with \dontrun{}).

The problem as far as I can tell is just on Snow Leopard which is what
we use on our build systems.
The package builds, checks, installs and runs OK on my Mountain Lion laptop.

Dan