Re: [R] Solaris10-amd64-studio10 compilers
Prof Brian Ripley wrote: > On Fri, 19 Aug 2005, Vin Everett wrote: > >> I am trying to compile R-2.1.1 on Solaris10, with the Studio10 compilers. >> >> When I try to compile 64bit with >> CFLAGS="-xarch=amd64" >> export CFLAGS >> >> I get a configure failure on >> >> checking for rl_callback_read_char in -lreadline... no >> checking for history_truncate_file... no >> configure: error: --with-readline=yes (default) and headers/libs are not >> available >> >> unset CFLAGS and its fine will compile 32bit. >> >> Any ideas gratefully received. >> >> I should say I installed the readline headers etc /usr/local > > > So, your readline is probably not 64-bit: see the R-admin manual and > check in config.log. > >> a configure with --without-readline but with CFLAGS="-xarch=amd64" >> goes on to >> >> checking for dummy main to link with Fortran libraries... none >> checking for Fortran name-mangling scheme... unknown >> configure: WARNING: unknown Fortran name-mangling scheme >> checking whether f77 appends underscores to external names... unknown >> configure: error: cannot use Fortran >> >> Again this is the studio10 fortran. > > > Please note you need to set FFLAGS to match. If you consult the R-admin > manual you will see that sparc users need somewhat different settings: > please emulate those. > Thanks Brian, I will give that a try. Cheers Vin -- [EMAIL PROTECTED] JDRF/WT Diabetes and Inflammation Laboratory (DIL) Cambridge Institute for Medical Research (CIMR) Wellcome Trust/MRC Building Addenbrooke's Hospital Hills Road Cambridge CB2 2XY Tel +44 1223 763212 Fax +44 1223 762102 Mob +44 7990 966266 __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] Solaris10-amd64-studio10 compilers
On Fri, 19 Aug 2005, Vin Everett wrote: > I am trying to compile R-2.1.1 on Solaris10, with the Studio10 compilers. > > When I try to compile 64bit with > CFLAGS="-xarch=amd64" > export CFLAGS > > I get a configure failure on > > checking for rl_callback_read_char in -lreadline... no > checking for history_truncate_file... no > configure: error: --with-readline=yes (default) and headers/libs are not > available > > unset CFLAGS and its fine will compile 32bit. > > Any ideas gratefully received. > > I should say I installed the readline headers etc /usr/local So, your readline is probably not 64-bit: see the R-admin manual and check in config.log. > a configure with --without-readline but with CFLAGS="-xarch=amd64" > goes on to > > checking for dummy main to link with Fortran libraries... none > checking for Fortran name-mangling scheme... unknown > configure: WARNING: unknown Fortran name-mangling scheme > checking whether f77 appends underscores to external names... unknown > configure: error: cannot use Fortran > > Again this is the studio10 fortran. Please note you need to set FFLAGS to match. If you consult the R-admin manual you will see that sparc users need somewhat different settings: please emulate those. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 272595 __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
[R] Solaris10-amd64-studio10 compilers
Hi, I am trying to compile R-2.1.1 on Solaris10, with the Studio10 compilers. When I try to compile 64bit with CFLAGS="-xarch=amd64" export CFLAGS I get a configure failure on checking for rl_callback_read_char in -lreadline... no checking for history_truncate_file... no configure: error: --with-readline=yes (default) and headers/libs are not available unset CFLAGS and its fine will compile 32bit. Any ideas gratefully received. I should say I installed the readline headers etc /usr/local a configure with --without-readline but with CFLAGS="-xarch=amd64" goes on to checking for dummy main to link with Fortran libraries... none checking for Fortran name-mangling scheme... unknown configure: WARNING: unknown Fortran name-mangling scheme checking whether f77 appends underscores to external names... unknown configure: error: cannot use Fortran Again this is the studio10 fortran. Cheers Vin -- [EMAIL PROTECTED] JDRF/WT Diabetes and Inflammation Laboratory (DIL) Cambridge Institute for Medical Research (CIMR) Wellcome Trust/MRC Building Addenbrooke's Hospital Hills Road Cambridge CB2 2XY Tel +44 1223 763212 Fax +44 1223 762102 Mob +44 7990 966266 __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html