[R] installing rgl package on linux platform
Leeds, Mark (IED)
Mark.Leeds at morganstanley.com
Tue Sep 18 20:08:18 CEST 2007
I am using Redhat Linux and my info is below. I was trying to install
the rgl package using R CMD INSTALL and it was doing
fine until it got to the compilation of a pixmap program ? Does anyone
know what I could do to fix that ? Is it possible that
this package is not usable on this platform ? Thanks.
sessionInfo()
R version 2.5.0 (2007-04-23)
i686-pc-linux-gnu
locale:
C
attached base packages:
[1] "datasets" "utils" "stats" "graphics" "grDevices"
"methods" "base"
other attached packages:
lattice filehash reshape zoo chron MASS
"0.15-8" "1.0" "0.7.4" "1.3-1" "2.3-11" "7.2-33"
partial output of the R CMD INSTALL is below :
#=======================================================================
========================================================================
config.status: creating src/Makevars
** libs
g++ -I/ms/dist/fsf/PROJ/R/2.5.0/exec/lib/R/include
-I/ms/dist/fsf/PROJ/R/2.5.0/exec/lib/R/include -DHAVE_PNG_H
-I/usr/X11R6/include -Iext
-g -O2 -fpic -g -O2 -c BBoxDeco.cpp -o BBoxDeco.o
g++ -I/ms/dist/fsf/PROJ/R/2.5.0/exec/lib/R/include
-I/ms/dist/fsf/PROJ/R/2.5.0/exec/lib/R/include -DHAVE_PNG_H
-I/usr/X11R6/include -Iext
-g -O2 -fpic -g -O2 -c Background.cpp -o Background.o
g++ -I/ms/dist/fsf/PROJ/R/2.5.0/exec/lib/R/include
-I/ms/dist/fsf/PROJ/R/2.5.0/exec/lib/R/include -DHAVE_PNG_H
-I/usr/X11R6/include -Iext
-g -O2 -fpic -g -O2 -c Color.cpp -o Color.o
g++ -I/ms/dist/fsf/PROJ/R/2.5.0/exec/lib/R/include
-I/ms/dist/fsf/PROJ/R/2.5.0/exec/lib/R/include -DHAVE_PNG_H
-I/usr/X11R6/include -Iext
-g -O2 -fpic -g -O2 -c Disposable.cpp -o Disposable.o
g++ -I/ms/dist/fsf/PROJ/R/2.5.0/exec/lib/R/include
-I/ms/dist/fsf/PROJ/R/2.5.0/exec/lib/R/include -DHAVE_PNG_H
-I/usr/X11R6/include -Iext
-g -O2 -fpic -g -O2 -c FaceSet.cpp -o FaceSet.o
And many more g++ commands until it got to the one below.
g++ -I/ms/dist/fsf/PROJ/R/2.5.0/exec/lib/R/include
-I/ms/dist/fsf/PROJ/R/2.5.0/exec/lib/R/include -DHAVE_PNG_H
-I/usr/X11R6/include -Iext -g -O2 -fpic -g -O2 -c pixmap.cpp -o
pixmap.o
In file included from pixmap.cpp:13:
pngpixmap.h:273: syntax error before `*' token
pngpixmap.h: In static member function `static void
PNGPixmapFormat::Load::info_callback(png_struct*, png_info*)':
pngpixmap.h:180: `png_set_gray_1_2_4_to_8' undeclared (first use this
function)
pngpixmap.h:180: (Each undeclared identifier is reported only once for
each
function it appears in.)
pngpixmap.h:200: `png_set_palette_to_rgb' undeclared (first use this
function)
pngpixmap.h:214: `png_set_tRNS_to_alpha' undeclared (first use this
function)
make: *** [pixmap.o] Error 1
ERROR: compilation failed for package 'rgl'
** Removing
'/a/nyn19f1/vol/nyn19f1v2/r_ied_etlnas20/devusersleedsmar/res/R/lib_new/
rgl'
--------------------------------------------------------
This is not an offer (or solicitation of an offer) to buy/se...{{dropped}}
More information about the R-help
mailing list