Hi,
 
  Could you help me to install the rgl package on Solaris 10 x86?
  I tried and got the following error messages.
  When I compiled my R as 64bit, I used the SUN ProW compilers.
  However, gcc seems to being used below as well as missing some information.
 
Thank you in advance,
Dongseok
 
> install.packages("rgl")
--- Please select a CRAN mirror for use in this session ---
* 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... libraries /usr/openwin/lib, headers /usr/openwin/include
 
checking for libpng-config... yes
configure: creating ./config.status
config.status: creating src/Makevars
** libs
CC -xtarget=generic64 -I/export/home/choid/bin/R2.2.1/lib/R/include -I/usr/openwin/include -DHAVE_PNG_H -I/usr/include/libpng12 -I/mounts/devel/SUNWspro/prd/include -I/mounts/devel/GNU/repoz/readline43/include   -KPIC  -O -xlibmil -dalign -I/mounts/devel/SUNWspro/prod/include -c api.cpp -o api.o
CC: Warning: Option -dalign passed to ld, if ld is invoked, ignored otherwise
CC -xtarget=generic64 -I/export/home/choid/bin/R2.2.1/lib/R/include -I/usr/openwin/include -DHAVE_PNG_H -I/usr/include/libpng12 -I/mounts/devel/SUNWspro/prd/include -I/mounts/devel/GNU/repoz/readline43/include   -KPIC  -O -xlibmil -dalign -I/mounts/devel/SUNWspro/prod/include -c Background.cpp -o Background.o
CC: Warning: Option -dalign passed to ld, if ld is invoked, ignored otherwise
"Background.cpp", line 54: Warning: boundingBox hides Shape::boundingBox.
1 Warning(s) detected.
CC -xtarget=generic64 -I/export/home/choid/bin/R2.2.1/lib/R/include -I/usr/openwin/include -DHAVE_PNG_H -I/usr/include/libpng12 -I/mounts/devel/SUNWspro/prd/include -I/mounts/devel/GNU/repoz/readline43/include   -KPIC  -O -xlibmil -dalign -I/mounts/devel/SUNWspro/prod/include -c BBoxDeco.cpp -o BBoxDeco.o
CC: Warning: Option -dalign passed to ld, if ld is invoked, ignored otherwise
CC -xtarget=generic64 -I/export/home/choid/bin/R2.2.1/lib/R/include -I/usr/openwin/include -DHAVE_PNG_H -I/usr/include/libpng12 -I/mounts/devel/SUNWspro/prd/include -I/mounts/devel/GNU/repoz/readline43/include   -KPIC  -O -xlibmil -dalign -I/mounts/devel/SUNWspro/prod/include -c Color.cpp -o Color.oCC: Warning: Option -dalign passed to ld, if ld is invoked, ignored otherwise
"Color.cpp", line 142: Error: The function "realloc" must have a prototype.
"Color.cpp", line 159: Error: The function "realloc" must have a prototype.
"Color.cpp", line 160: Error: The function "memcpy" must have a prototype.
"Color.cpp", line 168: Error: The function "free" must have a prototype.
"Color.cpp", line 175: Error: The function "realloc" must have a prototype.
"Color.cpp", line 196: Error: The function "realloc" must have a prototype.
"Color.cpp", line 247: Error: The function "realloc" must have a prototype.
7 Error(s) detected.
*** Error code 7
make: Fatal error: Command failed for target `Color.o'
ERROR: compilation failed for package 'rgl'
** Removing '/export/home/choid/bin/R2.2.1/lib/R/library/rgl'
 
The downloaded packages are in
        /tmp/Rtmp9Yaawc/downloaded_packages
> >



	[[alternative HTML version deleted]]


