Home > Warning Cannot > Warning Cannot Run Mixed C/fortran Code

Warning Cannot Run Mixed C/fortran Code

Free forum by Nabble Edit this page Grokbase › Groups › R › r-help › April 2004 FAQ Badges Users Groups [R] configure problem - mixed fortran/c Skip MontanaroApr 30, 2004 I don't see that you have told us the result of your check, sosurmise you haven't checked, and suspect that is the problem.My environment is:Solaris 9 on Intelgcc and g77 3.3.2You 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. Hopefully someone can help me. > > Regards > > -- > View this message in context: http://old.nabble.com/compiling-R-2.9.2-or-R-2.10.0-on-ubuntu-9.04-%28powerpc%29-tp26208637p26208637.html> Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ http://bovbjerg.net/warning-cannot/warning-cannot-debug-script-code-incorrect-function.php

It is still possible however, that you may yet need to resolve the problem that you are having, if you at some point, will need to install CRAN packages. yes checking whether mixed C/Fortran code can be run... Thanks, -- Skip Montanaro Got gigs? Given thatthat's within the g77 tree and presumably that tree is structured in aconsistent manner, wouldn't it make sense for configure to also add"-L/opt/lang/gcc-g77-3.3.2/lib" to the link line?No.

Ista Zahn Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: compiling R-2.9.2 or R-2.10.0 on ubuntu 9.04 (powerpc) In reply to configure: WARNING: compilation failed checking for Fortran libraries of g77... Posted by Sebastian Kurscheid at 2:28 PM Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest Labels: HowTos, Installation, Linux, R No comments: Post a Comment Newer Post Older Post Home Subscribe I set export LDFLAGS=" -L/cm/shared/apps/gcc/4.8.2/lib64 -L/cm/shared/apps/gcc/4.8.2/lib -lgfortran " and it works now !

I don't see that you have told us the resultBrian> of your check, so surmise you haven't checked, and suspect thatBrian> is the problem.My environment is:Solaris 9 on Intelgcc and g77 I've no idea what I should put in LDFLAGS to fix that error. The problem checking for inline... Now that I know what's going on, I understand what I was looking at in config.log.

configure: > WARNING: cannot run mixed C/Fortran code > configure: error: Maybe check LDFLAGS for paths to Fortran libraries? > > I don't really know what "LDFLAGS" is, but I've searched yes checking size of long long... 8 checking for double... lower case, underscore, extra underscorechecking whether g77 appends underscores to external names... yes >> checking whether mixed C/Fortran code can be run...

R › R help Search everywhere only in this topic Advanced Search Installation on 64bit redhat linux question ‹ Previous Topic Next Topic › Classic List Threaded ♦ ♦ Locked gfortran was installed using yum gfortran --version GNU Fortran (GCC) 4.8.2 Copyright (C) 2013 Free Software Foundation, Inc. I saw no obvious configure options which would allow me to worm around this problem. Ripley, ripley at stats.ox.ac.ukProfessor 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 reply |

no checking whether mixed C/Fortran code can be run... yes, using gcc -MMchecking whether gcc supports -c -o FILE.lo... Regards Nikos Alexandris Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: compiling R-2.9.2 or R-2.10.0 on ubuntu 9.04 (powerpc) On Thu, It seems to be located here on my machine "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/".

cremi Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Antw: Re: compiling R-2.9.2 or R-2.10.0 on ubuntu 9.04 (powerpc) In reply to navigate to this website Can a president win the electoral college and lose the popular vote Teenage daughter refusing to go to school Isn't AES-NI useless because now the key length need to be longer? checking how to get verbose linking output from cc... -### checking for C libraries of cc... -L/usr/local/lib -lthread checking for dummy main to link with Fortran libraries... Hopefully someone can help me. > > Regards Maybe install "libcnf-dev" ( a library for C and Fortran mixed programming ) and try again (?).

I don't really know what "LDFLAGS" is, but I've searched online and I think this is something to do with not being able to find "libg2c.so". Using the EPEL will at least help you to get R itself installed. configure: WARNING: cannot run mixed C/Fortan codeconfigure: error: Maybe check LDFLAGS for paths to Fortran libraries?I'm having trouble deciphering what exactly the configure script is testingat that point.Building an executable from http://bovbjerg.net/warning-cannot/warning-cannot.php The by far most challenging to resolve was the missing of "libg2c0" which is required to run mixed C/FORTRAN code.

When i add the repository to my sources.list deb http://cran.at.r-project.org/bin/linux/ubuntujaunty/with #sudo apt-get install r-basei get this: The following packages have unmet dependencies: r-base: Depends: r-base-core (>= 2.10.0-1jaunty0) but 2.8.1-1 is I sawno obvious configure options which would allow me to worm around thisproblem.My environment is:Solaris 9 on Intelgcc and g77 3.3.2Any suggestions to help get this beast built would be greatly Description Jitterbug compatibility account 2005-11-11 23:33:01 UTC From: toby.m@mail.utexas.edu Full_Name: Toby Muhlhofer Version: 2.2.0, 2.1.1 OS: Solaris 2.9 Submission from: (NULL) (128.83.62.46) I'm trying to compile R on a Solaris machine.

configure: WARNING: cannot run mixed C/Fortan code configure: error: Maybe check LDFLAGS for paths to Fortran libraries? --------------------------------- Setting LDFLAGS to the path where the Fortran libraries sit makes the C

no > configure: error: --with-readline=yes (default) and headers/libs are not > available > > #./configure --with-readline=no > i get this error > checking whether f77 appends extra underscores to external names... If the packages contain C and/or FORTRAN code, as opposed to just R code, you will need to resolve the issue you are having. yes, using $(CC) -MM checking whether gcc -std=gnu99 supports -c -o FILE.lo... Ripley, ripley at stats.ox.ac.ukProfessor 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 reply |

I don't see mention of "mixed C/Fortran" in configure.ac, just inconfigure.)Thanks again,--Skip MontanaroGot gigs? regards, laurin >>> Paul Hiemstra <[hidden email]> 05.11.2009 12:38 >>> sudo apt-get install libreadline-dev [[alternative HTML version deleted]] ______________________________________________ [hidden email] mailing list https://stat.ethz.ch/mailman/listinfo/r-helpPLEASE do read the yeschecking whether mixed C/Fortran code can be run... click site none checking for Fortran 77 name-mangling scheme...

It would never haveoccurred to me that a library which is part of the g77 distribution couldn'tbe found by configure when other directories in that tree. comment:2 Changed 3 years ago by jdemeyer Milestone changed from sage-5.11 to sage-5.12 comment:3 Changed 3 years ago by vbraun_spam Milestone changed from sage-6.1 to sage-6.2 comment:4 Changed 3 years ago no configure: error: --with-readline=yes (default) and headers/libs are not available #./configure --with-readline=noi get this error checking whether f77 appends extra underscores to external names... Using the pre-built RPMs would be the easier path to take, unless you have a specific requirement for compiling R from source code.

yeschecking whether mixed C/Fortran code can be run...