Re: [R] loading igraph package on Solaris

2008-01-10 Thread Gabor Csardi
Peter, the changes you made should be ok. (No changes are needed for gcc/g++ anyway.) The problem is not the C compiler, which is (most likely) gcc, but the c++ compiler, which is not the GNU c++ compiler, but the Sun version. I guess that the GNU c++ compiler is called g++ or gxx. If you found

Re: [R] loading igraph package on Solaris

2008-01-10 Thread Peter McMahan
With a fresh copy of igraph 0.4.5 I made all of the changes at http://code.google.com/p/igraph/issues/detail?id=1 *except* for those to rinterface.c (I know very little about C and it wasn't clear what changes should be made). This still left some errors with pottsmodel_2.cpp ('Overloading ambi

Re: [R] loading igraph package on Solaris

2008-01-09 Thread Gabor Csardi
On Wed, Jan 09, 2008 at 08:03:59AM +, Prof Brian Ripley wrote: [...] > > You say you are using gcc, but that would be relevant to the Sun C++ > compiler (see the R-admin manual, which also says that configure adds it > where needed). So which C++ compiler is this? The symptoms do look as i

Re: [R] loading igraph package on Solaris

2008-01-09 Thread Prof Brian Ripley
On Tue, 8 Jan 2008, Peter McMahan wrote: > Hello, > I'm having trouble getting the igraph package to load on Solaris. I > can get igraph to compile and install from a local directory without > issues using simply "R CMD INSTALL igraph", however "library(igraph)" > from within R gives the following

[R] loading igraph package on Solaris

2008-01-08 Thread Peter McMahan
Hello, I'm having trouble getting the igraph package to load on Solaris. I can get igraph to compile and install from a local directory without issues using simply "R CMD INSTALL igraph", however "library(igraph)" from within R gives the following errors: Error in dyn.load(x, as.logical(local