gfortran --version GNU Fortran 95 (GCC) 4.1.1 (Gentoo 4.1.1-r1) Copyright (C) 2006 Free Software Foundation, Inc. Notice the Gentoo bit on the end. f2py contained in the numpy package results in the following: Could not locate executable f95 Couldn't match compiler version for 'GNU Fortran 95 (GCC) 4.1.1 (Gentoo 4.1.1-r1)\nCopyright (C) 2006 Free Software Foundation, Inc.\n\nGNU Fortran comes with NO WARRANTY, to the extent permitted by law.\nYou may redistribute copies of GNU Fortran\nunder the terms of the GNU General Public License.\nFor more information about these matters, see the file named COPYING\n' Can someone please either fix gfortran to not have the Gentoo bit, or alternatively, fix numpy to correctly detect it.
Created attachment 99933 [details] Sample output showing problem.
You need to attach a complete output log or tell me what package you're having the problem with, so I can attempt to reproduce it. What it looks like to me is that numpy isn't detecting gfortran as a Fortran 77 compiler but as a Fortran 90 compiler instead, which is expected behavior. Here's output from my numpy build: Could not locate executable g77 Could not locate executable f77 Could not locate executable f95 customize GnuFCompiler Couldn't match compiler version for 'GNU Fortran 95 (GCC) 4.1.1 (Gentoo 4.1.1-r1)\nCopyright (C) 2006 Free Software Foundation, Inc.\n\nGNU Fortran comes with NO WARRANTY, to the extent permitted by law.\nYou may redistribute copies of GNU Fortran\nunder the terms of the GNU General Public License.\nFor more information about these matters, see the file named COPYING\n' Could not locate executable efort Could not locate executable efc Could not locate executable efort Could not locate executable efc customize IntelFCompiler customize LaheyFCompiler Couldn't match compiler version for 'GNU Fortran 95 (GCC) 4.1.1 (Gentoo 4.1.1-r1)\nCopyright (C) 2006 Free Software Foundation, Inc.\n\nGNU Fortran comes with NO WARRANTY, to the extent permitted by law.\nYou may redistribute copies of GNU Fortran\nunder the terms of the GNU General Public License.\nFor more information about these matters, see the file named COPYING\n' customize PGroupFCompiler customize AbsoftFCompiler customize NAGFCompiler customize VastFCompiler customize GnuFCompiler Couldn't match compiler version for 'GNU Fortran 95 (GCC) 4.1.1 (Gentoo 4.1.1-r1)\nCopyright (C) 2006 Free Software Foundation, Inc.\n\nGNU Fortran comes with NO WARRANTY, to the extent permitted by law.\nYou may redistribute copies of GNU Fortran\nunder the terms of the GNU General Public License.\nFor more information about these matters, see the file named COPYING\n' customize CompaqFCompiler customize IntelItaniumFCompiler customize IntelEM64TFCompiler customize Gnu95FCompiler customize Gnu95FCompiler customize Gnu95FCompiler using config Gnu95FCompiler is what it should be showing up as. GnuFCompiler is for g77.
To reproduce the problem: The program I am trying to compile is called wsjt. http://developer.berlios.de/svn/?group_id=5666 To get it do: svn checkout http://svn.berlios.de/svnroot/repos/wsjt/trunk wsjt Then ./configure make
Pls check if this problem is fixed with my numpy-1.0.1.ebuild from bug 154275.
> To reproduce the problem: > svn checkout http://svn.berlios.de/svnroot/repos/wsjt/trunk wsjt > Then > ./configure > make I tried this with numpy-1.0.1-r1 and your latest svn. It detects gfortran fine despite the warnings. Closing for now, reopen if it persists.