[R] installing rgl package on linux suse 10.1
Gavin Simpson
gavin.simpson at ucl.ac.uk
Wed Nov 1 19:36:16 CET 2006
On Wed, 2006-11-01 at 15:52 +0100, Steven Gorlé wrote:
> Dear R wizards,
>
> In windows I get really cool graphs with the rgl package.
> However on linux, it seems that I can't install one of my favourite packages.
> I get a error message on X11, but all X11 packages are installed on my linux
> desktop.
> Who can help me out here?
Guessing that you don't have the development headers for X. I've never
used SUSE, but on my Fedora system the relevant package is:
xorg-x11-devel
I think suse uses the Xorg flavour of X so there is a chance the package
will be similarly named. If so, install it (or the correct package) and
try again.
At a terminal, typing
rpm -qa | grep x11
might help show you if the basic package is xorg-x11 for which you'd
need the devel package mentioned above, or point you in the direction of
the correct package to install
HTH
G
>
> Thanks!
>
> Steven Gorlé
>
>
> >install.packages()
>
> * Installing *source* package 'rgl' ...
> checking for gcc... gcc
> 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 accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking how to run the C preprocessor... gcc -E
> checking for X... no
> configure: error: X11 not found but required, configure aborted.
> ERROR: configuration failed for package 'rgl'
> ** Removing '/usr/lib/R/library/rgl'
>
> The downloaded packages are in
> /tmp/RtmpUAg2Xh/downloaded_packages
> Warning message:
> installation of package 'rgl' had non-zero exit status in: install.packages()
> >
>
> ______________________________________________
> R-help at 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
> and provide commented, minimal, self-contained, reproducible code.
--
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
Gavin Simpson [t] +44 (0)20 7679 0522
ECRC [f] +44 (0)20 7679 0565
UCL Department of Geography
Pearson Building [e] gavin.simpsonATNOSPAMucl.ac.uk
Gower Street
London, UK [w] http://www.ucl.ac.uk/~ucfagls/
WC1E 6BT [w] http://www.freshwaters.org.uk/
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
More information about the R-help
mailing list