-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 22/04/2012 01:12, Ryan Schmidt wrote:
> On Apr 21, 2012, at 15:30, Phil Dobbin wrote: > >> On 21/04/2012 19:49, Ryan Schmidt wrote: >> >>> On Apr 21, 2012, at 08:14, Phil Dobbin wrote: >>> >>>> I'm trying to use f2c to compile ratfor but there's no fort77 >>>> script so I'm getting: >>>> >>>> `checking for f2c... f2c checking whether the Fortran 77 compiler >>>> (f2c ) works... no configure: error: installation or >>>> configuration problem: Fortran 77 compiler cannot create >>>> executables.` >>>> >>>> Any workarounds to this or shall I just go grab a tarball? >>> >>> >>> Can you give a reproduction recipe? What files did you download and >>> what commands did you run to try to compile ratfor with f2c? >> >> As I understand it, f2c is a fortran77-to-c source code translator >> which obviates the need for a Fortran compiler but should contain a >> fort77 script in order to function correctly. >> >> I installed ratfor on Debian using apt-get & so I checked the package >> list & then went here: >> >> <http://www.webmo.net/support/fortran_osx.html> >> >> & grabbed a copy of g77 & then it installed fine. There was no ratfor >> port but I thought I'd grab f2c for which there was a port as my build >> set-up is based almost wholly on the ports in /opt/local minus Apple's >> dev tools of course. >> >> I'm guessing the problem was the fort77 script but of course may be >> completely wrong... > > I'm still unsure how to reproduce the problem on my system. Can you provide a > list of steps I should follow so that I would see the same error you saw? $ cd src $ src tar -zxvf ratfor.xxx.tar.gz $ cd ratfor.xxx $ ratfor.xxx ./configure $ creating cache ./config.cache checking for a BSD compatible install... /opt/local/bin/ginstall -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for gawk... gawk checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for g77... no checking for f77... no checking for f2c... f2c checking whether the Fortran 77 compiler (f2c ) works... no configure: error: installation or configuration problem: Fortran 77 compiler cannot create executables. Cheers, Phil... - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: §auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPk49pAAoJEKpMeDHWT5ADfu4H/1n0Y1KJ7sj/7ccfI+4Cuycm 8eFYOYwkLBunTToXERy9wiIsWhBMZoPtoJJqeEEZll77eHD1bzMgjAZE+qU8Upvp cI+Dmjey5BfPGXkY5UVtYGALoYUfikyBZ+xUn8mdRiKXzNPv6BZ7rFOsHWCYgJyJ q1K9KDM/BJ2Y/7+MkZPVavonRFALTTsfJ6DT+fY49T4+qEZgvlNwpynEvmN6lPsi h9/fBte/YZorXUqEmuV3AgAbDcWojggMoBCTVnfnIvhzNX4jjn/AenOPHewtsJv3 F7OSLPZlhsnaPjy2GY0RZF70PPi8bNVOp3anJAr25JAoPuPfrQSUPeWGYds6sDs= =rEpn -----END PGP SIGNATURE-----
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
