[R] Building under IRIX 6.5 (report)
Prof Brian Ripley
ripley at stats.ox.ac.uk
Sat Dec 8 20:59:12 CET 2001
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
--
Brian D. Ripley, ripley at 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 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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