Re: [R] Installation problem on SGI IRIX6.5

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Sat 06 Aug 2005 - 02:08:41 EST

Please do try reading the R-admin manual (as the INSTALL file asks you to: it does not ask you to `surf on the net').

The following section may help you:

   To enable UTF-8 support, configure with default @option{--enable-mbcs}.    This will check for a large number of features, notably support for the    C99/UNIX98 wide character functions and for UTF-8 or MBCS support in    X11. If enough of these are found, @code{MBCS} will be listed as one    of the ``Additional capabilities''

so try --disable-mbcs if your OS has broken header files. (It apparently does have wctrans, but not the type it returns.)

Now we know of the existence of such an OS, we can add a check. Are wctrans and wctrans_t defined anywhere else?

On Fri, 5 Aug 2005, Xiao Jianfeng wrote:

> fdu.xiaojf@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@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
>>
>
>

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
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

______________________________________________
R-help@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
Received on Sat Aug 06 02:13:47 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:42 EST