[R] Can't install rgl: installed package can't be loaded; 'memory not mapped'

Waichler, Scott R Scott.Waichler at pnnl.gov
Sat Aug 8 23:19:40 CEST 2015


> > Hi, I can't install package rgl.  The last lines from the install process  talking
> about the error are:
> 
> I'd guess you have an OpenGL problem.  Does glxgears run?

Yes, it does.  I wasn't aware of the program before you mentioned it, but a display opens with 3 gears and here is some output:
[root at hokulea R-3.2.1_install]# glxgears -info
GL_RENDERER   = Mesa GLX Indirect
GL_VERSION    = 1.2 (1.5 Mesa 6.5.1)
GL_VENDOR     = Mesa project: www.mesa3d.org
GL_EXTENSIONS = GL_ARB_depth_texture GL_ARB_imaging GL_ARB_multitexture GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_texture_border_clamp GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_draw_range_elements GL_EXT_framebuffer_object GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_vertex_array GL_ATI_texture_mirror_once GL_IBM_texture_mirrored_repeat GL_NV_blend_square GL_NV_texture_rectangle GL_NV_texgen_reflection GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow
24839 frames in 6.0 seconds = 4153.389 FPS
7152 frames in 6.0 seconds = 1192.594 FPS
. . . 

Scott


> > ** testing if installed package can be loaded
> > sh: line 1: 11949 Segmentation fault      '/files3/R/R-
> 3.2.1_install/lib64/R/bin/R' --no-save --slave 2>&1 <
> '/tmp/RtmpQCpp6N/file2b115f4f8e1d'
> >
> >  *** caught segfault ***
> > address (nil), cause 'memory not mapped'
> > aborting ...
> > ERROR: loading failed
> >
> > I realize this is probably not an R problem, but a Google search turns up
> nothing that helps, and I'm hoping someone here can help anyway.  Below
> are my sessionInfo() output and the contents of the first file generated with
> "R CMD check rgl_0.95.1247.tar.gz".
> >
> >> sessionInfo()
> > R version 3.2.1 (2015-06-18)
> > Platform: x86_64-unknown-linux-gnu (64-bit)
> >
> > locale:
> >  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
> >  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
> >  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
> >  [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
> >  [9] LC_ADDRESS=C               LC_TELEPHONE=C
> > [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
> >
> > attached base packages:
> > [1] stats     graphics  grDevices utils     datasets  methods   base
> >
> > loaded via a namespace (and not attached):
> > [1] tools_3.2.1
> >
> >
> > # R CMD check rgl_0.95.1247.tar.gz
> > * installing *source* package 'rgl' ...
> > ** package 'rgl' successfully unpacked and MD5 sums checked checking
> > for gcc... gcc -std=gnu99 checking whether the C compiler works... yes
> > checking for C compiler default output file name... a.out checking for
> > suffix of executables...
> > checking whether we are cross compiling... no checking for suffix of
> > object files... o checking whether we are using the GNU C compiler...
> > yes checking whether gcc -std=gnu99 accepts -g... yes checking for gcc
> > -std=gnu99 option to accept ISO C89... none needed checking how to run
> > the C preprocessor... gcc -std=gnu99 -E checking for gcc... (cached)
> > gcc -std=gnu99 checking whether we are using the GNU C compiler...
> > (cached) yes checking whether gcc -std=gnu99 accepts -g... (cached)
> > yes checking for gcc -std=gnu99 option to accept ISO C89... (cached)
> > none needed checking whether __attribute__((visibility())) is
> > supported... yes checking whether gcc -std=gnu99 accepts
> > -fvisibility... yes checking whether  accepts -fvisibility... no
> > checking for libpng-config... yes
> > configure: using libpng-config
> > configure: using libpng dynamic linkage checking for X... libraries ,
> > headers checking GL/gl.h usability... yes checking GL/gl.h presence...
> > yes checking for GL/gl.h... yes checking GL/glu.h usability... yes
> > checking GL/glu.h presence... yes checking for GL/glu.h... yes
> > checking for glEnd in -lGL... yes checking for gluProject in -lGLU...
> > yes checking for freetype-config... yes
> > configure: using Freetype and FTGL
> > configure: creating ./config.status
> > config.status: creating src/Makevars
> > ** libs
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c ABCLineSet.cpp -o ABCLineSet.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c BBoxDeco.cpp -o BBoxDeco.o
> > BBoxDeco.cpp: In member function 'int rgl::AxisInfo::getNticks(float,
> float)':
> > BBoxDeco.cpp:239: warning: converting to 'int' from 'float'
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c Background.cpp -o Background.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c ClipPlane.cpp -o ClipPlane.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c Color.cpp -o Color.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c Disposable.cpp -o Disposable.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c Light.cpp -o Light.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c LineSet.cpp -o LineSet.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c LineStripSet.cpp -o LineStripSet.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c Material.cpp -o Material.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c NULLgui.cpp -o NULLgui.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c PlaneSet.cpp -o PlaneSet.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c PointSet.cpp -o PointSet.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c PrimitiveSet.cpp -o PrimitiveSet.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c RenderContext.cpp -o RenderContext.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c Shape.cpp -o Shape.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c SphereMesh.cpp -o SphereMesh.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c SphereSet.cpp -o SphereSet.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c SpriteSet.cpp -o SpriteSet.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c String.cpp -o String.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c Surface.cpp -o Surface.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c TextSet.cpp -o TextSet.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c Texture.cpp -o Texture.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c Viewpoint.cpp -o Viewpoint.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c api.cpp -o api.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c assert.cpp -o assert.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c callbacks.cpp -o callbacks.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c device.cpp -o device.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c devicemanager.cpp -o devicemanager.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c fps.cpp -o fps.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c ftgl.cpp -o ftgl.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c geom.cpp -o geom.o
> > gcc -std=gnu99 -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -
> DHAVE_PNG_H -I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -fvisibility=hidden -fpic  -
> g -O2  -c gl2ps.c -o gl2ps.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c glErrors.cpp -o glErrors.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c glgui.cpp -o glgui.o
> > glgui.cpp: In member function 'virtual void rgl::GLBitmapFont::draw(const
> char*, int, double, double, const rgl::RenderContext&)':
> > glgui.cpp:115: warning: passing 'double' for argument 3 to 'GLint
> gl2psTextOpt(const char*, const char*, GLshort, GLint, GLfloat)'
> > glgui.cpp: In constructor 'rgl::GLFTFont::GLFTFont(const char*, int, double,
> const char*)':
> > glgui.cpp:144: warning: converting to 'unsigned int' from 'double'
> > glgui.cpp: In member function 'virtual void rgl::GLFTFont::draw(const
> char*, int, double, double, const rgl::RenderContext&)':
> > glgui.cpp:182: warning: passing 'double' for argument 3 to 'GLint
> gl2psTextOpt(const char*, const char*, GLshort, GLint, GLfloat)'
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c gui.cpp -o gui.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c init.cpp -o init.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c par3d.cpp -o par3d.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c pixmap.cpp -o pixmap.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c platform.cpp -o platform.o
> > gcc -std=gnu99 -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -
> DHAVE_PNG_H -I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -fvisibility=hidden -fpic  -
> g -O2  -c pretty.c -o pretty.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c render.cpp -o render.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c rglmath.cpp -o rglmath.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c rglview.cpp -o rglview.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c scene.cpp -o scene.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c select.cpp -o select.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c subscene.cpp -o subscene.o
> > subscene.cpp: In member function 'void
> rgl::Subscene::setupViewport(rgl::RenderContext*)':
> > subscene.cpp:736: warning: converting to 'int' from 'double'
> > subscene.cpp:737: warning: converting to 'int' from 'double'
> > subscene.cpp:738: warning: converting to 'int' from 'double'
> > subscene.cpp:739: warning: converting to 'int' from 'double'
> > subscene.cpp:741: warning: converting to 'int' from 'double'
> > subscene.cpp:742: warning: converting to 'int' from 'double'
> > subscene.cpp:743: warning: converting to 'int' from 'double'
> > subscene.cpp:744: warning: converting to 'int' from 'double'
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c win32gui.cpp -o win32gui.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c win32lib.cpp -o win32lib.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c x11gui.cpp -o x11gui.o
> > g++ -I/files3/R/R-3.2.1_install/lib64/R/include -DNDEBUG -DHAVE_PNG_H -
> I/usr/include/libpng12 -DHAVE_FREETYPE -Iext/ftgl -
> I/usr/include/freetype2 -Iext -I/usr/local/include   -g -O2 -fvisibility=hidden
> -fpic  -g -O2  -c x11lib.cpp -o x11lib.o
> > g++ -shared -L/files3/R/R-3.2.1_install/lib64/R/lib -L/usr/local/lib64
> > g++ -o rgl.so ABCLineSet.o BBoxDeco.o Background.o ClipPlane.o Color.o
> > g++ Disposable.o Light.o LineSet.o LineStripSet.o Material.o NULLgui.o
> > g++ PlaneSet.o PointSet.o PrimitiveSet.o RenderContext.o Shape.o
> > g++ SphereMesh.o SphereSet.o SpriteSet.o String.o Surface.o TextSet.o
> > g++ Texture.o Viewpoint.o api.o assert.o callbacks.o device.o
> > g++ devicemanager.o fps.o ftgl.o geom.o gl2ps.o glErrors.o glgui.o
> > g++ gui.o init.o par3d.o pixmap.o platform.o pretty.o render.o
> > g++ rglmath.o rglview.o scene.o select.o subscene.o win32gui.o
> > g++ win32lib.o x11gui.o x11lib.o -lGLU -lGL -L/usr/lib64 -lpng12 -lX11
> > g++ -lfreetype -L/files3/R/R-3.2.1_install/lib64/R/lib -lR
> > installing to /files3/R/R-3.2.1_install/rgl.Rcheck/rgl/libs
> > ** R
> > ** demo
> > ** inst
> > ** preparing package for lazy loading
> > ** help
> > *** installing help indices
> > ** building package indices
> > ** installing vignettes
> > ** testing if installed package can be loaded
> > sh: line 1: 11949 Segmentation fault      '/files3/R/R-
> 3.2.1_install/lib64/R/bin/R' --no-save --slave 2>&1 <
> '/tmp/RtmpQCpp6N/file2b115f4f8e1d'
> >
> >  *** caught segfault ***
> > address (nil), cause 'memory not mapped'
> > aborting ...
> > ERROR: loading failed
> > * removing '/files3/R/R-3.2.1_install/rgl.Rcheck/rgl'
> >
> > Scott Waichler
> > Pacific Northwest National Laboratory
> > Richland, WA  USA
> >
> > ______________________________________________
> > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide
> > http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> >



More information about the R-help mailing list