gmake is failing on Solaris 10 SPARC with the following errors:
mksh: Fatal error: Cannot load command dlib.grd': Bad file number
Current working directory: /usr/local/ATLAS/install/src/blas/level1
*** Error code 1
make: Fatal error: Command failed for targetdlib'
Current working directory /usr/local/ATLAS/install/src/blas/level1
*** Error code 1
make: Fatal error: Command failed for target lib.grd'
Current working directory /usr/local/ATLAS/install/src/auxil
*** Error code 1
make: Fatal error: Command failed for targetIStage1'
Current working directory /usr/local/ATLAS/install/bin
ERROR 712 DURING CACHESIZE SEARCH!!. CHECK INSTALL_LOG/Stage1.log FOR DETAILS.
make[2]: Entering directory /usr/local/ATLAS/install/bin'
cd /usr/local/ATLAS/install ; make error_report
make[3]: Entering directory/usr/local/ATLAS/install'
make -f Make.top error_report
make[4]: Entering directory /usr/local/ATLAS/install'
uname -a 2>&1 >> bin/INSTALL_LOG/ERROR.LOG
gcc -v 2>&1 >> bin/INSTALL_LOG/ERROR.LOG
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
Configured with: /sfw10/builds/build/sfw10-patch/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/ccs/bin/as --without-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
gcc -V 2>&1 >> bin/INSTALL_LOG/ERROR.LOG
gcc:-V' option must have argument
*** Error code 1 (ignored)
gcc --version 2>&1 >> bin/INSTALL_LOG/ERROR.LOG
tar cf error_USIII32.tar Make.inc bin/INSTALL_LOG/*
bzip2 error_USIII32.tar
make[4]: Leaving directory /usr/local/ATLAS/install'
make[3]: Leaving directory/usr/local/ATLAS/install'
make[2]: Leaving directory /usr/local/ATLAS/install/bin'
Error report error_<ARCH>.tgz has been created in your top-level ATLAS
directory. Be sure to include this file in any help request.
cat: cannot open ../../CONFIG/error.txt
cat: cannot open ../../CONFIG/error.txt
gmake[1]: *** [build] Error 255
gmake[1]: Leaving directory/usr/local/ATLAS/install'
gmake: *** [build] Error 2
Using gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
I finally got ATLAS to install using a newer version of gcc (4.9.2). I also set the LD_LIBRARY_PATH to /opt/csw/lib/64:/opt/csw/lib/32 and put /usr/xpg4/bin in my path before /bin as suggested in the ATLAS Installation Guide.