Hi,
 
Thank you very much for your prompt help.
 
1)
I downloaded 'rgl' package from CRAN and its version is 0.65.
This seems to be the lasted.
 
2)
 I added those two lines and now Color.cpp is compiled OK.
 However, I have a different error as following:
 
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 devicemanager.cpp -o devicemanager.o
CC: Warning: Option -dalign passed to ld, if ld is invoked, ignored otherwise
"devicemanager.cpp", line 19: Error: Could not find a match for std::vector<Device*>::vector(std::list<Device*>::iterator, std::list<Device*>::iterator) needed in DeviceManager::~DeviceManager().
1 Error(s) detected.
*** Error code 1
make: Fatal error: Command failed for target `devicemanager.o'
ERROR: compilation failed for package 'rgl'

 
3) I am using,
choi2100{choid}202: CC -V
CC: Sun C++ 5.7 Patch 117831-02 2005/03/30

4) Yes, -xlibmil and -dalign were used when I compiled the R with --with-lapack. 
I think that I just followed the section for Sun Solaris for Sparc in "R-install" although I have Sparc x86.
I saw that they are automatically added whenever I install any add-on packages.
I'll try without them.
 
Thank you very much again,
Dongseok
 

>>> "Prof Brian Ripley" <ripley@stats.ox.ac.uk> 02/04/06 12:20 AM >>>

On Fri, 3 Feb 2006, Duncan Murdoch wrote:

> On 2/3/2006 6:37 PM, Dongseok Choi wrote:
>> Hi,
>>
>>   Could you help me to install the rgl package on Solaris 10 x86?
>
> No, but there have been a lot of changes to it since the last upload to
> CRAN.  You might want to grab a new copy from
> http://rgl.neoscientists.org/About.html by getting the latest Subversion
> checkout.

I tried to reproduce this, but our Solaris box does not have GL installed. 
My understanding is that the real problem seems to be that Color.cpp is 
using undeclared ISO C functions and needs to include

#include <stdlib.h> // for realoc and free
#include <string.h> // for memcpy

so please try adding them.

As for the -dalign messages, I presume you included them (like -xlibmil) 
in CXXFLAGS.  They are supported by our SunPro compiler, so which version 
is yours?  (In any case, you need to remove it, if I guessed right.)



	[[alternative HTML version deleted]]


