在osx上安装/链接g95

时间:2015-07-16 04:29:52

标签: macos fortran ln

我找到了这些库:http://www.g95.org/downloads.shtml。我下载了x86 OSX二进制文件,解压缩了文件,并执行了ln -s bin/i686-apple-darwin10.3.0-g95 /usr/local/bin/g95,并为所有这些文件添加了chmod + rx权限,但我仍然无法运行g95可执行文件。

g95-install$ ls -la *
-rwxr-xr-x@ 1 kilojoules  staff  138126 Jan 17  2013 G95Manual.pdf
-rwxr-xr-x@ 1 kilojoules  staff     523 Jul 15 22:43 INSTALL

bin:
total 352
drwxr-xr-x@ 3 kilojoules  staff     102 Jan 17  2013 .
drwxr-xr-x@ 6 kilojoules  staff     204 Jul 15 22:43 ..
-rwxr-xr-x@ 1 kilojoules  staff  176968 Jan 17  2013 i686-apple-darwin10.3.0-g95

lib:
total 0
drwxr-xr-x@ 3 kilojoules  staff  102 Jul 15 22:39 .
drwxr-xr-x@ 6 kilojoules  staff  204 Jul 15 22:43 ..
drwxr-xr-x@ 3 kilojoules  staff  102 Jul 15 22:39 gcc-lib

$ ln -s bin/i686-apple-darwin10.3.0-g95 /usr/local/bin/g95

$PATH
-bash: /usr/local/bin:/usr/local/sbin:/Users/kilojoules/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin: No such file or directory
$ g95
-bash: g95: command not found

为什么没有这方面的酿造配方?

0 个答案:

没有答案