Thank you, but I found the solution, indeed I was using an old version of gcc.
Thanks and regards, Mohamed KAABI. -----Original Message----- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: Monday, December 26, 2005 2:55 PM To: Mohamed KAABI Cc: [email protected] Subject: Re: [R] Problem in installatin under Unix What version of R is this? R 2.2.1 is current, so why do you have 'R-2.1.0' in your configure line? blocksort.c does not include features.h, so this looks like a broken compiler installation doing the inclusion. Please DO study the posting guide and give us the vital information that we ask for. All we can do is advise you to use the current version of R and if that fails, to repair your compiler. On Mon, 26 Dec 2005, Mohamed KAABI wrote: > Hi all, > I wanted to install R under a sunOs machine, so I launched the > configuration with the following command: > > "./configure --prefix /sw/gnu/R/R-2.1.0/sun/ --with-readline=no" > > The rsult of this configuration seemed good > " > R is now configured for sparc-sun-solaris2.8 > > Source directory: . > Installation directory: /sw/gnu/R/R-2.1.0/sun/ > > C compiler: gcc -g -O2 > C++ compiler: g++ -g -O2 > Fortran compiler: g77 -g -O2 > > Interfaces supported: X11, tcltk > External libraries: > Additional capabilities: PNG, JPEG, MBCS, NLS > Options enabled: R profiling > > Recommended packages: yes > > configure: WARNING: you cannot build info or html versions of the R > manuals " > > Then I launched make but I get this error > > " > making blocksort.d from blocksort.c > making bzlib.d from bzlib.c > making compress.d from compress.c > making crctable.d from crctable.c > making decompress.d from decompress.c > making huffman.d from huffman.c > making randtable.d from randtable.c > make[4]: Leaving directory `/sw/master/R/R-2.1.0/src/extra/bzip2' > make[4]: Entering directory `/sw/master/R/R-2.1.0/src/extra/bzip2' > make[4]: *** No rule to make target `/usr/include/features.h', needed > by `blocksort.o'. Stop. > make[4]: Leaving directory `/sw/master/R/R-2.1.0/src/extra/bzip2' > make[3]: *** [R] Error 2 > make[3]: Leaving directory `/sw/master/R/R-2.1.0/src/extra/bzip2' > make[2]: *** [R] Error 1 > make[2]: Leaving directory `/sw/master/R/R-2.1.0/src/extra' > make[1]: *** [R] Error 1 > make[1]: Leaving directory `/sw/master/R/R-2.1.0/src' > make: *** [R] Error 1 > " > > Could you please help me? > > Thanks and regards, > Mohamed. > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
