[R] Compilation error on installing rgl package

Duncan Murdoch murdoch at stats.uwo.ca
Fri Feb 22 02:26:12 CET 2008


On 21/02/2008 3:13 PM, Kenneth Lo wrote:
> Thank you for your reply.  Hope that it will be
> available soon.

It won't happen unless someone does it.  What you should be asking is 
how to learn to do it, or how to encourage someone else to do it.

Duncan Murdoch

> 
> Kenneth
> 
> 
> --- Duncan Murdoch <murdoch at stats.uwo.ca> wrote:
> 
>> On 20/02/2008 4:54 PM, Kenneth Lo wrote:
>>> Hi all,
>>>
>>> I encountered difficulties when I tried to install
>> the
>>> rgl package.  I'm using R devel (2.7.0) on Mac OS
>> X
>>> 10.5.1.  Below is the message popping up when
>>> compiling the package from source.
>> There's been some discussion of this on the
>> R-sig-mac list.  The problem 
>> is that none of the developers of rgl have access to
>> 64 bit OSX (or 10.5 
>> of any type, for that matter), and nobody with
>> access has provided a 
>> patch.
>>
>> Duncan Murdoch
>>
>>> I'd be grateful if someone can help me solve the
>>> problem.
>>>
>>> Thanks,
>>> Kenneth
>>>
>>> * Installing *source* package 'rgl' ...
>>> checking for gcc... gcc -arch x86_64 -std=gnu99
>>> checking for C compiler default output file
>> name...
>>> a.out
>>> checking whether the C compiler works... yes
>>> checking whether we are cross compiling... no
>>> checking for suffix of executables... 
>>> 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 ANSI C... 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 ANSI C... (cached) none needed
>>> checking for libpng-config... yes
>>> configure: using libpng-config
>>> 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
>>> configure: creating ./config.status
>>> config.status: creating src/Makevars
>>> ** libs
>>> g++ -arch x86_64
>>>
>> -I/Library/Frameworks/R.framework/Resources/include
>> -I/Library/Frameworks/R.framework/Resources/include
> -I/System/Library/Frameworks/OpenGL.framework/Headers
>>> -DHAVE_PNG_H -I/usr/local/include/libpng12
>>> -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
> -I/System/Library/Frameworks/OpenGL.framework/Headers
>>> -DHAVE_PNG_H -I/usr/local/include/libpng12
>>> -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
> -I/System/Library/Frameworks/OpenGL.framework/Headers
>>> -DHAVE_PNG_H -I/usr/local/include/libpng12
>>> -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
> -I/System/Library/Frameworks/OpenGL.framework/Headers
>>> -DHAVE_PNG_H -I/usr/local/include/libpng12
>>> -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
> -I/System/Library/Frameworks/OpenGL.framework/Headers
>>> -DHAVE_PNG_H -I/usr/local/include/libpng12
>>> -I/usr/X11/include -DDarwin -DNO_GL_PREFIX
>>> -I/usr/X11R6/include -Iext -I/usr/local/include  
>> -g
>>> -O2 -fPIC  -g -O2 -c FaceSet.cpp -o FaceSet.o
>>> g++ -arch x86_64
>>>
>> -I/Library/Frameworks/R.framework/Resources/include
>> -I/Library/Frameworks/R.framework/Resources/include
> -I/System/Library/Frameworks/OpenGL.framework/Headers
>>> -DHAVE_PNG_H -I/usr/local/include/libpng12
>>> -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
> -I/System/Library/Frameworks/OpenGL.framework/Headers
>>> -DHAVE_PNG_H -I/usr/local/include/libpng12
>>> -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
> -I/System/Library/Frameworks/OpenGL.framework/Headers
>>> -DHAVE_PNG_H -I/usr/local/include/libpng12
>>> -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
> -I/System/Library/Frameworks/OpenGL.framework/Headers
>>> -DHAVE_PNG_H -I/usr/local/include/libpng12
>>> -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
> -I/System/Library/Frameworks/OpenGL.framework/Headers
>>> -DHAVE_PNG_H -I/usr/local/include/libpng12
>>> -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
>>
> === message truncated ===
> 
> 
> 
>       ____________________________________________________________________________________
> Never miss a thing.  Make Yahoo your home page.
> 
> ______________________________________________
> R-help at r-project.org mailing list
> 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