[R] Building under IRIX 6.5 (report)

Greg Jefferis jefferis at stanford.edu
Sat Dec 8 23:31:37 CET 2001


There was a short thread on building 1.3.1 under Irix 6.5 a month or two
back.  Laurent Gautier provided the following advice:

> I had (and still have) to deal with SGIs and came across the similar
> error message. I remember going through by setting MAKE=gmake in the
> config.site file and by replacing the 'make ; make test; make install' on
> the command line by 'gmake; gmake test; gmake install'
> (rem: If I remember well, on a SGI the test bit do not go too good... this
> is (was ?) a reported bug).

which works (though gmake test still fails as he notes).  Ciao,

Greg.


On 12/8/01 11:59, "Prof Brian Ripley" <ripley at stats.ox.ac.uk> wrote:

> On Sat, 8 Dec 2001, Manfred W. Baumstark wrote:
> 
>> On my IRIX system (SGI compilers, gcc not installed) ./configure runs fine,
>> but there is a problem with make (output below) that can be solved by
>> changing one line in src/modules/lapack/Makefile. If this line is changed,
>> make runs without problems. 'make check' still has a problem
>> (sh[14]: /usr/sbin/perl: arg list too long), but I assume this is
>> "cosmetic".
>> 
>> Manfred
>> 
>> ----------- The patch:
>> msm4:/usr/local/src/R-1.3.1/src/modules/lapack% diff -u Makefile.o Makefile
>> --- Makefile.o  Sat Dec  8 19:23:32 2001
>> +++ Makefile    Sat Dec  8 19:27:26 2001
>> @@ -19,7 +19,7 @@
>>  SOURCES_BLAS = blas2.f  cmplxblas.f
>> 
>>  DEPENDS = $(SOURCES_C:.c=.d)
>> -OBJECTS = $(SOURCES_C:.c=.lo) $(SOURCES_F:.f=.lo) \
>> +OBJECTS = $(SOURCES_C:.c=.lo) $(SOURCES_F:.f=.lo)
>>    # $(SOURCES_BLAS:.f=.lo)
>>  HEADERS = Lapack.h
> 
> Well, that Makefile is not part of the sources!  Makefile.in in the
> near-release 1.4.0 ha
> 
> OBJECTS = $(SOURCES_C:.c=.lo) $(SOURCES_F:.f=.lo) \
> @USE_EXTERNAL_BLAS_FALSE@ $(SOURCES_BLAS:.f=.lo)
> 
> and on my system Makefile has
> 
> OBJECTS = $(SOURCES_C:.c=.lo) $(SOURCES_F:.f=.lo) \
> # $(SOURCES_BLAS:.f=.lo)
> 
> as does 1.3.1.  What make is this?  As R-admin.texi says
> 
> 
> To compile @R{}, you will most likely find it easiest to use GNU
> @command{make}.  On Solaris 2.6/7/8 in particular, you need a version of
> GNU @command{make} different from 3.77; 3.79 works fine, as does the Sun
> @command{make}.
> 
> I suspect your make is broken.
> 
>> ------------ make stops with the following error:
>> "cmplx.f", line 19283: warning(2290): actual argument is incompatible with
>>           dummy argument
>>               CALL ZLARFB( SIDE, TRANS, 'Forward', 'Columnwise', MI, NI,
>>               CALL ZLARFB( SIDE, TRANS, 'Forward', 'Columnwise', MI, NI,
> 
> That's standard LAPACK 3 code, so the bug report needs to go to LAPACK.
> I think your compiler is incorrect, but 'F', 'C' might work.
> 
> BDR

__________________________________________________________________________
Greg Jefferis,                          Lab Address: Liqun Luo, Herrin 144
Neurosciences PhD Programme &                e-mail: jefferis at stanford.edu
Dept Biological Sciences,                       Lab: (650) 725 5809
Gilbert Biology Building,                       Fax: (650) 723 0589
371 Serra Mall,
Stanford, CA 94305-5020.                       Home: (650) 497 1135

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list