[Rd] R compile on Solaris 8 fails (PR#1428)

brower@bst.rochester.edu brower@bst.rochester.edu
Mon, 1 Apr 2002 22:19:09 +0200 (MET DST)


Full_Name: Christine Brower
Version: 1.4.1
OS: Solaris 8
Submission from: (NULL) (128.151.148.205)


Configure options fails with following message:
./configure --with-f77
loading cache ./config.cache
checking for a BSD compatible install... tools/install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking host system type... sparc-sun-solaris2.8
loading site script ./config.site
loading build specific script ./config.site
checking for pwd... /usr/bin/pwd
checking whether builddir is srcdir... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking whether gcc needs -traditional... no
checking whether gcc accepts -M for generating dependencies... yes
checking whether gcc supports -c -o FILE.lo... yes
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for bison... no
checking for byacc... no
checking for ar... ar
checking whether echo can suppress newlines... yes
configure: warning: redefining INSTALL to be
/disk/d5/a/R,v1.4.1/R/tools/install-sh -c
checking for javac... /usr/bin/javac
checking for less... /usr/bin/less
checking for perl... /usr/bin/perl
checking whether perl version is at least 5.004... yes
checking for dvips... /usr/ucc/bin/dvips
checking for tex... /usr/ucc/bin/tex
checking for latex... /usr/ucc/bin/latex
checking for makeindex... /usr/ucc/bin/makeindex
checking for pdftex... no
checking for pdflatex... no
configure: warning: you cannot build PDF versions of the R manuals
checking for makeinfo... /usr/ucc/bin/makeinfo
checking for unzip... /usr/bin/unzip
checking for zip... /usr/bin/zip
checking for Cygwin environment... no
checking for mingw32 environment... no
checking build system type... sparc-sun-solaris2.8
checking for ld used by GCC... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/ccs/bin/nm -p output... ok
checking for dlfcn.h... yes
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... 
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.8 ld.so
checking if libtool supports shared libraries... yes
creating libtool
checking whether makeinfo version is at least 4... no
configure: warning: you cannot build info versions of the R manuals
checking for main in -lm... yes
defining F77 to be f77
checking whether the Fortran 77 compiler (f77  ) works... yes
checking whether the Fortran 77 compiler (f77  ) is a cross-compiler... no
checking whether we are using GNU Fortran 77... no
checking for Fortran 77 libraries...  -R/a/SUNWspro/lib:/opt/SUNWspro/lib 
-L/a/SUNWspro/lib -L/a/SUNWspro/SC4.2/lib -L/usr/ccs/lib -L/usr/lib
/a/SUNWspro/SC4.2/lib/libM77.a -lF77 -lsunmath -lm -lcx
checking whether f77 appends underscores... yes
checking whether f77 and gcc agree on int and double... yes
checking whether f77 and gcc agree on double complex... yes
checking whether f77 supports -c -o FILE.lo... no
checking for c++... c++
checking whether the C++ compiler (c++  ) works... no
configure: error: installation or configuration problem: C++ compiler cannot
create executables.
----------
config.log reads:
----------
configure:7263: checking whether f77 supports -c -o FILE.lo
configure:7273: f77 -g -c conftest.f -o TMP/conftest.lo 1>&5
f77: Suffix mismatch between -o and produced file (should produce .o)
configure:7565: checking for c++
configure:7597: checking whether the C++ compiler (c++  ) works
configure:7613: c++ -o conftest  -I/usr/local/include  conftest.C
-L/usr/local/lib 1>&5
ld: fatal: library -lstdc++: not found
ld: fatal: File processing errors. No output written to conftest
configure: failed program was:

#line 7608 "configure"
#include "confdefs.h"

int main(){return(0);}

------------
I have installed gcc 2.95.3, it didn't seem to help. 
Any thoughts, tricks or help would be greatly appreciated!  Thank you!

Chris

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._