[R-SIG-Mac] rgl

Benilton Carvalho bcarvalh at jhsph.edu
Wed Feb 13 03:52:01 CET 2008


So sorry for the incomplete report... I meant to add:

g++-4.0 -arch x86_64 -dynamiclib -Wl,-headerpad_max_install_names -Wl,- 
macosx_version_min -Wl,10.4 -undefined dynamic_lookup -single_module - 
multiply_defined suppress -L/usr/local/lib -o rgl.so BBoxDeco.o  
Background.o Color.o Disposable.o FaceSet.o Light.o LineSet.o  
LineStripSet.o Material.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 TriangleSet.o Viewpoint.o api.o assert.o  
callbacks.o device.o devicemanager.o fps.o geom.o gl2ps.o glgui.o  
gui.o init.o math.o osxgui.o osxlib.o par3d.o pixmap.o render.o  
rglview.o scene.o select.o win32gui.o win32lib.o x11gui.o x11lib.o - 
lGLU -lGL -framework OpenGL  -L/usr/X11/lib -Wl,-rpath,/usr/X11/lib - 
lpng12 -lz -lm -L/usr/X11/lib -lX11  -L/Users/bcarvalh/Desktop/R-rc/ 
lib/x86_64 -lR
ld: -rpath can only be used when targeting Mac OS X 10.5 or later

collect2: ld returned 1 exit status
make: *** [rgl.so] Error 1
chmod: /Users/bcarvalh/Desktop/R-rc/library/rgl/libs/x86_64/*: No such  
file or directory
ERROR: compilation failed for package 'rgl'
** Removing '/Users/bcarvalh/Desktop/R-rc/library/rgl'

cheers,
b


On Feb 12, 2008, at 9:30 PM, Benilton Carvalho wrote:

> Thanks a lot Simon,
>
> I very much appreciate your kindness in pointing me back to the FAQ.
>
> That got me moving a little bit more and I'm now surprised by the  
> following error:
>
> g++-4.0 -arch x86_64 -dynamiclib -Wl,-headerpad_max_install_names - 
> Wl,-macosx_version_min -Wl,10.4 -undefined dynamic_lookup - 
> single_module -multiply_defined suppress -L/usr/local/lib -o rgl.so  
> BBoxDeco.o Background.o Color.o Disposable.o FaceSet.o Light.o  
> LineSet.o LineStripSet.o Material.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 TriangleSet.o  
> Viewpoint.o api.o assert.o callbacks.o device.o devicemanager.o  
> fps.o geom.o gl2ps.o glgui.o gui.o init.o math.o osxgui.o osxlib.o  
> par3d.o pixmap.o render.o rglview.o scene.o select.o win32gui.o  
> win32lib.o x11gui.o x11lib.o -lGLU -lGL -framework OpenGL  -L/usr/ 
> X11/lib -Wl,-rpath,/usr/X11/lib -lpng12 -lz -lm -L/usr/X11/lib - 
> lX11  -L/Users/bcarvalh/Desktop/R-rc/lib/x86_64 -lR
> ld: -rpath can only be used when targeting Mac OS X 10.5 or later
>
> Any suggestion?
>
> Thank you so much,
>
> b
>
> > sessionInfo()
> R version 2.6.2 RC (2008-02-05 r44340)
> i386-apple-darwin9.1.0
>
> locale:
> C
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> loaded via a namespace (and not attached):
> [1] tools_2.6.2
>
>
>
>
> On Feb 12, 2008, at 9:09 PM, Simon Urbanek wrote:
>
>> Benilton,
>>
>> please read
>> http://r.research.att.com/building.html
>> (referenced from the R for Mac OS X FAQ) and fix your X11 in case  
>> you didn't already.
>>
>> Cheers,
>> Simon
>>
>>
>> On Feb 12, 2008, at 8:15 PM, Benilton Carvalho wrote:
>>
>>> Dear All,
>>>
>>> my apologies if a solution was already proposed for this and I  
>>> missed. I didn't have much success with my search, therefore I ask  
>>> here directions on building the rgl package from the source using  
>>> Leopard (and R-2.6.2 RC - 64 bits, built from the source).
>>>
>>> I initially tried what I always do to install packages:
>>>
>>> install.packages("rgl", dep=T, type="source")
>>>
>>> which failed with:
>>>
>>> checking for glEnd in -lGL... no
>>> configure: error: missing required library GL
>>>
>>> Well, OpenGL is available under Frameworks: /System/Library/ 
>>> Frameworks/OpenGL.framework
>>>
>>> and I wonder if anyone could give me some suggestions on how to  
>>> pass and what are the correct 'configure' options to install the  
>>> rgl package.
>>>
>>> Thank you very much,
>>>
>>> b
>>>
>>> _______________________________________________
>>> R-SIG-Mac mailing list
>>> R-SIG-Mac at stat.math.ethz.ch
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2419 bytes
Desc: not available
Url : https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20080212/ee2bf921/attachment-0001.bin 


More information about the R-SIG-Mac mailing list