Skip to content
Prev 69586 / 398525 Next

Solaris 10 on amd and R-2.1.0

Hi

I am having problems compiling R on a Solaris 10 opteron box we have on
trial.

checking for Fortran libraries of g77...  -L/usr/ccs/lib -L/usr/lib -
L/usr/local/lib -L/usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.2 -
L/usr/ccs/bin -L/usr/local/lib/gcc-lib/i386-pc-
solaris2.10/3.3.2/../../.. -lfrtbegin -lg2c -lm -lgcc_s -lfrtbegin: -
lg2c:
checking how to get verbose linking output from gcc... -v
checking for C libraries of gcc...  -L/usr/ccs/lib -L/usr/lib -
L/usr/local/lib -L/usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.2 -
L/usr/ccs/bin -L/usr/local/lib/gcc-lib/i386-pc-
solaris2.10/3.3.2/../../.. -lgcc_eh
checking for dummy main to link with Fortran libraries... unknown
configure: error: linking to Fortran libraries from C fails
See `config.log' for more details.

I have installed gcc from sunfreeware

Looks like the following are not found:- 

configure:26575: gcc -o conftest -g -O2 -I/usr/local/include -
L/usr/local/lib conftest.c -
ldl -lm   -lg2c -lm -lgcc_s -lfrtbegin: -lg2c: >&5
ld: fatal: library -lg2c: not found
ld: fatal: library -lfrtbegin:: not found
ld: fatal: library -lg2c:: not found
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:26581: $? = 1
configure: failed program was:
| /* confdefs.h.  */


Any idea where to get them from ?

Cheers Vin