Hi List, I'm trying to build R-2.0.1 on and AMD64/Linux (Suse 9.1) and I get the following error while running the configure script. ... checking for dummy main to link with Fortran libraries... none checking for Fortran name-mangling scheme... lower case, underscore, extra underscore checking whether g77 appens underscores to external names... yes checking whether mixed C/Fortran code can be run... configure: WARNING: cannot run mixed C/Fortran code configure: error: Maybe check LDFLAGS for paths to Fortran libraries? I have gcc-3.3.3. Regards, Shiva
On Fri, 7 Jan 2005, Sivakumar Ramagopal wrote:> I'm trying to build R-2.0.1 on and AMD64/Linux (Suse 9.1) and I get the > following error while running the configure script. > > ... > checking for dummy main to link with Fortran libraries... none > checking for Fortran name-mangling scheme... lower case, underscore, extra > underscore > checking whether g77 appens underscores to external names... yes > checking whether mixed C/Fortran code can be run... configure: WARNING: > cannot run mixed C/Fortran code > configure: error: Maybe check LDFLAGS for paths to Fortran libraries? > > I have gcc-3.3.3.Have you done as it suggests? Please see the R posting guide and make sure you give us enough information to help you. One place to look is in config.log. R 2.0.1 does build on AMD64 with gcc 3.3.3, but SuSE does seem to use non-standard paths (that is, not those from the gcc sources). In particular, is this a 32- or 64-bit build and if the latter is /lib64 in the library path? -- Brian D. Ripley, ripley at stats.ox.ac.uk 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
"Sivakumar Ramagopal" <ramagopa at etek.chalmers.se> writes:> Hi List, > > I'm trying to build R-2.0.1 on and AMD64/Linux (Suse 9.1) and I get the > following error while running the configure script. > > ... > checking for dummy main to link with Fortran libraries... none > checking for Fortran name-mangling scheme... lower case, underscore, extra > underscore > checking whether g77 appens underscores to external names... yes > checking whether mixed C/Fortran code can be run... configure: WARNING: > cannot run mixed C/Fortran code > configure: error: Maybe check LDFLAGS for paths to Fortran libraries? > > I have gcc-3.3.3.Things do work on that platform, so you're probably missing an RPM or two. My first guess would be> rpm -qf `which g77`gcc-g77-3.3.3-33 and you likely need a bunch of -devel packages too (readline-devel, XFree86-devel, etc.) -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907