Hi, all,
I'm a newbie to R. I came across a problem when I tried to install R on
an SGI machine which is running IRIX64 6.5.
I have successfully run configure, but when I tried to run "make"(or
"gmake"), errors came out. Following is the error message.
Does someone has experiences in the R's installation on IRIX ? Any hints
will be greatly appreciated !
Thanks in advance!
Error Message:
------------------------------------------------------------------------
cc -I../../src/extra/zlib -I../../src/extra/bzip2 -I../../src/extra/pcre
-I. -I../../src/include -I../../src/include
-I/user_data2/jfxiao/local/include -DHAVE_CONFIG_H -OPT:IEEE_NaN_inf=ON
-g -c character.c -o character.o
cc-1185 cc: WARNING File = character.c, Line = 714
An enumerated type is mixed with another type.
warn = warn | !utf8strIsASCII(CHAR(STRING_ELT(CAR(args), i)));
^
cc-1552 cc: WARNING File = character.c, Line = 698
The variable "uclass" is set but never used.
int i, len, minlen, uclass;
^
cc-1020 cc: ERROR File = character.c, Line = 1300
The identifier "wctrans_t" is undefined.
wctrans_t tr = wctrans(ul ? "toupper" : "tolower");
^
cc-1185 cc: WARNING File = character.c, Line = 1733
An enumerated type is mixed with another type.
Rboolean warn = !utf8strIsASCII(CHAR(STRING_ELT(pat, 0)));
^
cc-1185 cc: WARNING File = character.c, Line = 1926
An enumerated type is mixed with another type.
useRaw = strcmp(CHAR(STRING_ELT(stype, 0)), "integer");
^
1 error detected in the compilation of "character.c".
gmake[3]: *** [character.o] Error 2
gmake[3]: Leaving directory
`/user_data2/jfxiao/local/source/R/R-2.1.1/src/main'
gmake[2]: *** [R] Error 2
gmake[2]: Leaving directory
`/user_data2/jfxiao/local/source/R/R-2.1.1/src/main'
gmake[1]: *** [R] Error 1
gmake[1]: Leaving directory `/user_data2/jfxiao/local/source/R/R-2.1.1/src'
gmake: *** [R] Error 1
fdu.xiaojf at gamil.com wrote:> Hi, all, > > I'm a newbie to R. I came across a problem when I tried to install R on > an SGI machine which is running IRIX64 6.5. > > I have successfully run configure, but when I tried to run "make"(or > "gmake"), errors came out. Following is the error message. > > Does someone has experiences in the R's installation on IRIX ? Any hints > will be greatly appreciated ! > > Thanks in advance! > > > Error Message: > ------------------------------------------------------------------------ > > cc -I../../src/extra/zlib -I../../src/extra/bzip2 -I../../src/extra/pcre > -I. -I../../src/include -I../../src/include > -I/user_data2/jfxiao/local/include -DHAVE_CONFIG_H -OPT:IEEE_NaN_inf=ON > -g -c character.c -o character.o > cc-1185 cc: WARNING File = character.c, Line = 714 > An enumerated type is mixed with another type. > > warn = warn | !utf8strIsASCII(CHAR(STRING_ELT(CAR(args), > i))); > ^ > > cc-1552 cc: WARNING File = character.c, Line = 698 > The variable "uclass" is set but never used. > > int i, len, minlen, uclass; > ^ > > cc-1020 cc: ERROR File = character.c, Line = 1300 > The identifier "wctrans_t" is undefined. > > wctrans_t tr = wctrans(ul ? "toupper" : "tolower"); > ^I think the problem is here. In the GNU C Library, "wctrans_t" is defined in "wctype.h", but on my system, "wctrans_t" is not defined in /usr/include/wctype.h Does anybody has successfully installed R 2.1.1 on IRIX 6.5 ? I have spent all day surfing on the net but find no helpful information. Thanks again !> > > > 1 error detected in the compilation of "character.c". > gmake[3]: *** [character.o] Error 2 > gmake[3]: Leaving directory > `/user_data2/jfxiao/local/source/R/R-2.1.1/src/main' > gmake[2]: *** [R] Error 2 > gmake[2]: Leaving directory > `/user_data2/jfxiao/local/source/R/R-2.1.1/src/main' > gmake[1]: *** [R] Error 1 > gmake[1]: Leaving directory > `/user_data2/jfxiao/local/source/R/R-2.1.1/src' > gmake: *** [R] Error 1 > >------------------------------------------------------------------------ > >______________________________________________ >R-help at stat.math.ethz.ch mailing list >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >