Re: [R] Error install rgl package on linux

From: Muhammad Subianto <msubianto_at_gmail.com>
Date: Thu 13 Jul 2006 - 00:57:18 EST


On this day 12/07/2006 15:57, Peter Dalgaard wrote:
> "Muhammad Subianto" <msubianto@gmail.com> writes:
>
>
>> QuadSet.o RenderContext.o render.o rglview.o scene.o select.o Shape.o
>> SphereMesh.o SphereSet.o SpriteSet.o String.o Surface.o TextSet.o
>> Texture.o TriangleSet.o types.o Viewpoint.o win32gui.o win32lib.o
>> x11gui.o x11lib.o -L -lX11 -lXext -lGL -lGLU -L/usr/lib -lpng12
>> -L/usr/lib/R/lib -lR
>> /usr/bin/ld: cannot find -lXext
>> collect2: ld returned 1 exit status
>> make: *** [rgl.so] Error 1
>
> ...
>
>> I think the error about missing devel-libraries on my fc5 but I do not
>> know which libraries are. I apologize for my poor linux knowledge and
>> expertise. Thank you very much.
>
> I have
>
> [pd@titmouse2 R]$ locate Xext
> /usr/include/X11/extensions/Xext.h
> /usr/include/X11/extensions/panoramiXext.h
> /usr/lib/libXext.so
> /usr/lib/libXext.so.6
> /usr/lib/libXext.so.6.4.0
> /usr/share/doc/libXext-1.0.0
> .....
>
>
> [pd@titmouse2 R]$ rpm -qf `locate Xext`
> xorg-x11-proto-devel-7.0-6
> xorg-x11-proto-devel-7.0-6
> libXext-devel-1.0.0-3.2
> libXext-1.0.0-3.2
> ....
>
> In general, if you get an error about a missing -lfoo, installing RPMs
> for libfoo and libfoo-devel is the first thing to try.
>
>
>

Thank you for giving me so much of your time to provide an explanation of installing RPMs. After I installed "libXext-devel" and then
> options(repos=c(CRAN="http://cran.at.r-project.org/"))
> install.packages("rgl", lib="/home/subianto/local/lib/R/library/site-packages", dependencies=TRUE)

Yes, it works perfectly. Thanks a lot, to Peter Dalgaard.

Sincerely, Muhammad Subianto



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jul 13 01:02:31 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 13 Jul 2006 - 02:18:14 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.