[R-SIG-Mac] installing rgl with the 3.0 RC
Bryan Hanson
hanson at depauw.edu
Tue Feb 5 03:06:40 CET 2013
I don't think I've seen this reported yet (apologies if I missed it).
There has previously been a problem similar to this, which was fixed by removing aglrgl.so (documented here: http://r-forge.r-project.org/tracker/index.php?func=detail&aid=1996&group_id=234&atid=946).
Trying to install the binary version, it downloads fine, reporting as follows:
> install.packages("rgl")
Installing package into ‘/Users/bryanhanson/Library/R/3.0/library’
(as ‘lib’ is unspecified)
There is a binary version available (and will be
installed) but the source version is later:
binary source
rgl 0.92.894 0.93.921
Next:
> library("rgl")
Error : .onLoad failed in loadNamespace() for 'rgl', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/Users/bryanhanson/Library/R/3.0/library/rgl/libs/x86_64/aglrgl.so':
dlopen(/Users/bryanhanson/Library/R/3.0/library/rgl/libs/x86_64/aglrgl.so, 6): Symbol not found: _R_pretty0
Referenced from: /Users/bryanhanson/Library/R/3.0/library/rgl/libs/x86_64/aglrgl.so
Expected in: /Library/Frameworks/R.framework/Versions/3.0/Resources/lib/libR.dylib
Error: package or namespace load failed for ‘rgl’
This is NOT the same missing symbol as previously reported.
The output from installing from source is appended at the very bottom of this message. For kicks, I tried deleting aglrgl.so which was the previous fix. That doesn't work here, it just pushes the problem to rgl.so and if you delete that, it really tanks.
I hope this is clear. Anyone have a suggestion? Thanks, Bryan
*********** sessionInfo()
R Under development (unstable) (2013-02-03 r61829)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] grid stats graphics grDevices utils datasets
[7] methods base
other attached packages:
[1] ggplot2_0.9.3 lattice_0.20-13 plyr_1.8
[4] sos_1.3-5 brew_1.0-6
loaded via a namespace (and not attached):
[1] amap_0.8-7 chemometrics_1.3.8 class_7.3-5
[4] colorspace_1.2-0 dichromat_1.2-4 digest_0.6.1
[7] e1071_1.6-1 gtable_0.1.2 labeling_0.1
[10] MASS_7.3-23 munsell_0.4 mvoutlier_1.9.9
[13] mvtnorm_0.9-9994 nnet_7.3-5 pcaPP_1.9-48
[16] pls_2.3-0 proto_0.3-10 RColorBrewer_1.0-5
[19] reshape2_1.2.2 robustbase_0.9-4 rpart_4.1-0
[22] scales_0.2.3 seriation_1.0-9 som_0.3-5
[25] stringr_0.6.2 tools_3.0.0 TSP_1.0-7
********** Output from source build:
> install.packages("rgl", type = "source")
Installing package into ‘/Users/bryanhanson/Library/R/3.0/library’
(as ‘lib’ is unspecified)
trying URL 'http://cran.at.r-project.org/src/contrib/rgl_0.93.921.tar.gz'
Content type 'application/x-gzip' length 1731089 bytes (1.7 Mb)
opened URL
==================================================
downloaded 1.7 Mb
********
******** Loading Bryan's .Rprofile
********
Loading required package: brew
********
******** Completed Bryan's .Rprofile GET TO WORK!
********
* installing *source* package ‘rgl’ ...
** package ‘rgl’ successfully unpacked and MD5 sums checked
checking for gcc... gcc -arch x86_64 -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 -arch x86_64 -std=gnu99 accepts -g... yes
checking for gcc -arch x86_64 -std=gnu99 option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -arch x86_64 -std=gnu99 -E
checking for gcc... (cached) gcc -arch x86_64 -std=gnu99
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc -arch x86_64 -std=gnu99 accepts -g... (cached) yes
checking for gcc -arch x86_64 -std=gnu99 option to accept ISO C89... (cached) none needed
checking for libpng-config... no
checking libpng... checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking png.h usability... no
checking png.h presence... no
checking for png.h... no
checking for png_read_update_info in -lpng... no
configure: libpng header and lib found
configure: using libpng dynamic linkage
checking for X... libraries /usr/X11/lib, headers /usr/X11/include
checking for glEnd in -lGL... yes
checking for gluProject in -lGLU... yes
checking for freetype-config... no
configure: creating ./config.status
config.status: creating src/Makevars
** libs
*** arch - x86_64
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c ABCLineSet.cpp -o ABCLineSet.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c BBoxDeco.cpp -o BBoxDeco.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c Background.cpp -o Background.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c Color.cpp -o Color.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c Disposable.cpp -o Disposable.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c Light.cpp -o Light.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c LineSet.cpp -o LineSet.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c LineStripSet.cpp -o LineStripSet.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c Material.cpp -o Material.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c PlaneSet.cpp -o PlaneSet.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c PointSet.cpp -o PointSet.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c PrimitiveSet.cpp -o PrimitiveSet.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c QuadSet.cpp -o QuadSet.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c RenderContext.cpp -o RenderContext.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c Shape.cpp -o Shape.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c SphereMesh.cpp -o SphereMesh.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c SphereSet.cpp -o SphereSet.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c SpriteSet.cpp -o SpriteSet.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c String.cpp -o String.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c Surface.cpp -o Surface.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c TextSet.cpp -o TextSet.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c Texture.cpp -o Texture.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c Viewpoint.cpp -o Viewpoint.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c api.cpp -o api.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c assert.cpp -o assert.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c callbacks.cpp -o callbacks.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c device.cpp -o device.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c devicemanager.cpp -o devicemanager.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c fps.cpp -o fps.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c ftgl.cpp -o ftgl.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c geom.cpp -o geom.o
gcc -arch x86_64 -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -fPIC -g -O2 -c gl2ps.c -o gl2ps.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c glErrors.cpp -o glErrors.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c glgui.cpp -o glgui.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c gui.cpp -o gui.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c init.cpp -o init.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c par3d.cpp -o par3d.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c pixmap.cpp -o pixmap.o
gcc -arch x86_64 -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -fPIC -g -O2 -c pretty.c -o pretty.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c render.cpp -o render.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c rglmath.cpp -o rglmath.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c rglview.cpp -o rglview.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c scene.cpp -o scene.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c select.cpp -o select.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c win32gui.cpp -o win32gui.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c win32lib.cpp -o win32lib.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c x11gui.cpp -o x11gui.o
x11gui.cpp: In constructor ‘gui::X11GUIFactory::X11GUIFactory(const char*)’:
x11gui.cpp:470: warning: deprecated conversion from string constant to ‘char*’
x11gui.cpp: In member function ‘virtual gui::WindowImpl* gui::X11GUIFactory::createWindowImpl(gui::Window*)’:
x11gui.cpp:636: warning: deprecated conversion from string constant to ‘char*’
x11gui.cpp:637: warning: deprecated conversion from string constant to ‘char*’
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/System/Library/Frameworks/OpenGL.framework/Headers -DHAVE_PNG_H -I/usr/X11/include -DDarwin -DNO_GL_PREFIX -I/usr/X11R6/include -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c x11lib.cpp -o x11lib.o
g++ -arch x86_64 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o rgl.so ABCLineSet.o BBoxDeco.o Background.o Color.o Disposable.o Light.o LineSet.o LineStripSet.o Material.o PlaneSet.o PointSet.o PrimitiveSet.o QuadSet.o RenderContext.o Shape.o SphereMesh.o SphereSet.o SpriteSet.o String.o Surface.o TextSet.o Texture.o Viewpoint.o api.o assert.o callbacks.o device.o devicemanager.o fps.o ftgl.o geom.o gl2ps.o glErrors.o glgui.o gui.o init.o par3d.o pixmap.o pretty.o render.o rglmath.o rglview.o scene.o select.o win32gui.o win32lib.o x11gui.o x11lib.o -lGLU -lGL -framework OpenGL -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -lpng -L/usr/X11/lib -lX11 -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
mkdir Temp
mv x11*.o Temp
mkdir -p AGL
mv AGL/* .
MAKINGAGL=TRUE /Library/Frameworks/R.framework/Resources/bin/R CMD SHLIB -o aglrgl.so *.cpp *.c \
osx/*.mm osx/*.cpp
mv: rename AGL/* to ./*: No such file or directory
make: [aglrgl.so] Error 1 (ignored)
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -DHAVE_PNG_H -DRGL_USE_COCOA -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c x11gui.cpp -o x11gui.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -DHAVE_PNG_H -DRGL_USE_COCOA -Iext -I/usr/local/include -g -O2 -fPIC -g -O2 -c x11lib.cpp -o x11lib.o
g++ -arch x86_64 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -DHAVE_PNG_H -DRGL_USE_COCOA -Iext -I/usr/local/include -fPIC -c osx/osxgui.mm -o osx/osxgui.o
osx/osxgui.mm:9:2: error: #error Cocoa backend reguires FreeType font reneder
make[1]: *** [osx/osxgui.o] Error 1
make: *** [aglrgl.so] Error 1
ERROR: compilation failed for package ‘rgl’
* removing ‘/Users/bryanhanson/Library/R/3.0/library/rgl’
* restoring previous ‘/Users/bryanhanson/Library/R/3.0/library/rgl’
The downloaded source packages are in
‘/private/var/folders/f4/5smpz_448xj3_l0059_zm20h0000gn/T/RtmpM2rLKg/downloaded_packages’
Warning message:
In install.packages("rgl", type = "source") :
installation of package ‘rgl’ had non-zero exit status
More information about the R-SIG-Mac
mailing list