On 5 Nov 2007, at 16:30, Simon Urbanek wrote: >> I tried to build R-2.6.0 for MacOS 10.3.9 on the weekend, but failed >> miserably. It seems that the location of the failure is exactly the >> same >> as in this thread that I found in the August archive of R-SIG-Mac. I >> didn't find any continuation to this. Does this mean that the issue is >> unresolved? I get a bit different messages depending on config >> switches >> and when configuring and building in Terminal.app or in Xterm. The >> place >> is the same: lapack. >> > > Unfortunately I have no Panther box anymore (therefore there are not > CRAN builds and I can't test it), but here are some pointers: > > 1) disable fink - it's known to cause many, many problems. At least > for the config/compilation rename /sw to something else > 2) when using --with-blas, you must use --with-lapack, otherwise it > won't work. Either use vecLib for both or not at all. > 3) --enable-BLAS-shlib is not intended to work on Panther, as 10.3 > doesn't support dynamic lookup
Here some further comments. The break happens at 2.4.0. R 2.3.1 still compiles beautifully. It seems that there are two issues: 1. The configure script at 2.4.0 introduces new tests, and regards vecLib BLAS incomplete. The configure ignores the --with-blas switch and decides to build new BLAS and LAPACK. Regarding MacOS X vecLib BLAS incomplete may be fair, but it is unfortunate, since vecLib is optimized for the architecture. 2. Building LAPACK fails and so does building R. I attach diff of configure output. What is intriguing that things are a bit different in another MacOS 10.3.9 G4 computer: there also BLAS is regarded as incomplete, but building of BLAS and LAPACK succeeded. Here the diff (I put it here since the mailing group has been anal with attachments): --- R-2.3.1/config.out Tue Nov 6 07:21:03 2007 +++ R-2.4.0/config.out Tue Nov 6 07:21:05 2007 @@ -262,4 +262,5 @@ checking for Fortran name-mangling scheme... lower case, underscore, extra underscore checking whether g77 appends underscores to external names... yes +checking whether g77 appends extra underscores to external names... yes checking whether mixed C/Fortran code can be run... yes checking whether g77 and gcc agree on int and double... yes @@ -291,5 +292,4 @@ checking whether fdopen exists and is declared... yes checking whether popen exists and is declared... yes -checking whether realpath exists and is declared... yes checking whether setenv exists and is declared... yes checking whether system exists and is declared... yes @@ -314,4 +314,6 @@ checking for vasprintf... yes checking whether vasprintf is declared... yes +checking for realpath... yes +checking whether realpath is declared... yes checking for finite... yes checking for isnan... yes @@ -372,6 +374,5 @@ checking for dgemm_ in -framework vecLib... yes checking whether double complex BLAS can be used... yes -checking whether the BLAS is complete... yes -checking for zgeev_... yes +checking whether the BLAS is complete... no checking iconv.h usability... yes checking iconv.h presence... yes @@ -397,4 +398,5 @@ checking whether iswctype exists and is declared... yes checking for wctrans_t... yes +checking for mbstate_t... yes checking for X... libraries /usr/X11R6/lib, headers checking for gethostbyname... yes @@ -595,4 +597,5 @@ config.status: creating src/appl/Makefile config.status: creating src/extra/Makefile +config.status: creating src/extra/blas/Makefile config.status: creating src/extra/bzip2/Makefile config.status: creating src/extra/intl/Makefile @@ -681,5 +684,5 @@ Interfaces supported: X11, aqua, tcltk - External libraries: readline, BLAS(generic), LAPACK(in blas) + External libraries: readline Additional capabilities: PNG, JPEG, iconv, MBCS, NLS Options enabled: R profiling -- Jari Oksanen <[EMAIL PROTECTED]> _______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
