-------- Original Message -------- Subject: Sun Solaris 8 compile problem. Date: Thu, 06 Nov 2003 23:03:36 -0700 From: Jack Matthews <jmatthews@t-graphic.com> To: R-help@lists.R-project.org I am new to the list was wondering if anyone can help me find the reason and remedy for compiling R on an ultrasparc 60 solaris 8 with gcc 3.2.2 in 64 bit mode? Fails in checking for a fortran library..... Thanks for the help output of config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by R configure 1.8.0, which was generated by GNU Autoconf 2.57. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = loeb uname -m = sun4u uname -r = 5.8 uname -s = SunOS uname -v = Generic_108528-18 /usr/bin/uname -p = sparc /bin/uname -X = System = SunOS Node = loeb Release = 5.8 KernelID = Generic_108528-18 Machine = sun4u BusType = Serial = Users = OEM# = 0 Origin# = 1 NumCPU = 2 /bin/arch = sun4 /usr/bin/arch -k = sun4u /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown Snipped for this email... PATH: /usr/local/qt-x11-eval-3.1.2/bin PATH: /bin PATH: /usr/bin PATH: /usr/local/bin PATH: /usr/openwin/bin PATH: /export/home/jwm/boost-jam-3.1.4/bin.solaris PATH: /usr/ccs/bin PATH: /usr/ucb PATH: /usr/sbin PATH: /opt/Acrobat4/bin PATH: /opt/sfw/bin PATH: /opt/SUNWns PATH: /usr/local/qt-x11-eval-3.1.2 PATH: /bin PATH: . SNIPPED for this email.... ## ----------- ## ## Core tests. ## ## ----------- ## configure:1683: checking for a BSD-compatible install configure:1737: result: tools/install-sh -c configure:1748: checking whether build environment is sane configure:1791: result: yes configure:1806: checking whether make sets $(MAKE) configure:1826: result: yes configure:1858: checking for working aclocal-1.4 configure:1869: result: missing configure:1873: checking for working autoconf configure:1880: result: found configure:1888: checking for working automake-1.4 configure:1899: result: missing configure:1903: checking for working autoheader configure:1914: result: missing configure:1918: checking for working makeinfo configure:1929: result: missing configure:1949: checking build system type configure:1967: result: sparc-sun-solaris2.8 configure:1975: checking host system type configure:1989: result: sparc-sun-solaris2.8 configure:2391: checking for pwd configure:2409: found /bin/pwd configure:2422: result: /bin/pwd c SNIpped for the email... | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | #include configure:12443: result: no configure:12447: checking fpu_control.h presence configure:12458: gcc -E -I/usr/local/include conftest.c configure:12489:25: fpu_control.h: No such file or directory configure:12464: $? = 1 configure: failed program was: | #line 12449 "configure" | /* confdefs.h. */ SNIPPED for this email | #define PACKAGE_NAME "R" | #define PACKAGE_TARNAME "R" | #define PACKAGE_VERSION "1.8.0" | #define PACKAGE_STRING "R 1.8.0" | #define PACKAGE_BUGREPORT "r-bugs@R-project.org" | #define PACKAGE "R" | #define VERSION "1.8.0" | #define R_PLATFORM "sparc-sun-solaris2.8" | #define R_CPU "sparc" | #define R_VENDOR "sun" | #define R_OS "solaris2.8" | #define Unix 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | #include | #endif | #define HAVE_LIBM 1 | #define HAVE_LIBTERMCAP 1 | #define HAVE_LIBDL 1 | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ELF_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_FLOATINGPOINT_H 1 | /* end confdefs.h. */ | #include configure:12483: result: no configure:12519: checking for fpu_control.h configure:12526: result: no configure:12411: checking grp.h usability configure:12424: gcc -c -m64 -g -02 -I/usr/local/include conftest.c >&5 gcc: unrecognized option `-02' configure:12427: $? = 0 configure:12430: test -s conftest.o configure:12433: $? = 0 configure:12443: result: yes configure:12447: checking grp.h presence configure:12458: gcc -E -I/usr/local/include conftest.c configure:12464: $? = 0 configure:12483: result: yes configure:12519: checking for grp.h configure:12526: result: yes configure:12411: checking ieee754.h usability configure:12424: gcc -c -m64 -g -02 -I/usr/local/include conftest.c >&5 gcc: unrecognized option `-02' configure:12488:21: ieee754.h: No such file or directory configure:12427: $? = 1 configure: failed program was: | #line 12413 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "R" | #define PACKAGE_TARNAME "R" | #define PACKAGE_VERSION "1.8.0" | #define PACKAGE_STRING "R 1.8.0" | # include | #include configure:12443: result: no configure:12447: checking ieee754.h presence configure:12458: gcc -E -I/usr/local/include conftest.c configure:12490:21: ieee754.h: No such file or directory configure:12464: $? = 1 configure: failed program was: | #line 12449 "configure" | /* confdefs.h. */ SNIPPED for this email... compiled by GNU C version 3.3. GGC heuristics: --param ggc-min-expand=65 --param ggc-min-heapsize=65536 /usr/ccs/bin/as -V -Qy -s -o /var/tmp//ccgPbVAp.o /var/tmp//ccqEHtwJ.s /usr/ccs/bin/as: Sun WorkShop 6 99/08/18 /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3/collect2 -V -Y P,/usr/ccs/lib:/usr/lib -Qy -o conftest /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3/crt1.o /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3/crti.o /usr/ccs/lib/values-Xa.o /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3/crtbegin.o -L/usr/local/lib/sparcv9 -L/usr/local/lib -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3/../../../../sparc-sun-solaris2.8/lib -L/usr/ccs/bin -L/usr/ccs/lib -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3/../../.. /var/tmp//ccgPbVAp.o -lfrtbegin -lg2c -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc -lc /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3/crtend.o SNIPPED for this email SHELL='/bin/bash' #define R_CPU "sparc" #define R_OS "solaris2.8" #define R_PLATFORM "sparc-sun-solaris2.8" #define R_VENDOR "sun" #define SIZEOF_INT 4 #define SIZEOF_LONG 8 #define SIZEOF_LONG_DOUBLE 16 #define SIZEOF_LONG_LONG 8 #define SOCKLEN_T socklen_t #define STDC_HEADERS 1 #define STDC_HEADERS 1 #define TIME_WITH_SYS_TIME 1 #define Unix 1 #define VERSION "1.8.0" #define WORDS_BIGENDIAN 1 #endif #ifdef __cplusplus #include configure: exit 1 [[alternative HTML version deleted]]
On Fri, Nov 07, 2003 at 06:19:26PM -0700, Jack Matthews wrote:> I am new to the list was wondering if anyone can help me find the reason > and remedy for compiling R on an ultrasparc 60 solaris 8 with gcc 3.2.2 > in 64 bit mode? Fails in checking for a fortran library.....RTFM, in this case the R-admin manual, and I cite from the .texi source: @node Solaris, HP-UX, MacOS X, Platform notes @subsection Solaris on Sparc @cindex Solaris [...] @command{gcc} 3.2.1 and 3.2.2 generate incorrect code on 32-bit Solaris builds with optimization, but versions 3.1, 3.2, 3.2.3 and 3.3 work correctly. At least files @file{src/main/engine.c}, @file{src/main/graphics.c} and @file{src/modules/devX11.c} are affected. Hth, Dirk -- Those are my principles, and if you don't like them... well, I have others. -- Groucho Marx