On Fri, 30 Apr 2004, Skip Montanaro wrote: > I'm trying to build R 1.9.0 to get the opportunity to build rpy for some > folks at my office. (I'm a Python guy, not an R guy, so I'm completely > unfamiliar with the machinations of building R.) I'm having trouble getting > past the configure step. A plain old configure generates this output at the > end: > > checking whether we can compute C Make dependencies... yes, using gcc -MM > checking whether gcc supports -c -o FILE.lo... yes > checking how to get verbose linking output from g77... -v > checking for Fortran libraries of g77... -L/usr/ccs/lib -L/usr/lib > -L/usr/local/lib -L/opt/lang/gcc-g77-3.3.2/lib/gcc-lib/i386-pc-solaris2.8/3.3.2 > -L/usr/ccs/bin > -L/opt/lang/gcc-g77-3.3.2/lib/gcc-lib/i386-pc-solaris2.8/3.3.2/../../.. -lfrtbegin > -lg2c -lm -lgcc_s > checking for dummy main to link with Fortran libraries... none > checking for Fortran name-mangling scheme... lower case, underscore, extra > underscore > checking whether g77 appends underscores to external names... yes > checking whether mixed C/Fortran code can be run... configure: WARNING: cannot > run mixed C/Fortan code > configure: error: Maybe check LDFLAGS for paths to Fortran libraries? > > I'm having trouble deciphering what exactly the configure script is testing > at that point.
Building an executable from a C and a Fortran file. > Based upon the message it emitted last it looks like it's > trying to link conftestf.o and conftest.o (around line 25747), but in the > config.log file I don't see it getting that far (around line 25500). I saw Without an extract from the log it is hard for us to comment. > no obvious configure options which would allow me to worm around this > problem. There is one, and it told you, `check LDFLAGS for paths to Fortran libraries'. I don't see that you have told us the result of your check, so surmise you haven't checked, and suspect that is the problem. > My environment is: > > Solaris 9 on Intel > gcc and g77 3.3.2 You need wherever libg2c.so is installed in your LD_LIBRARY_PATH. -- 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, UK Fax: +44 1865 272595 ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html