24小时热门版块排行榜    

查看: 678  |  回复: 8
当前主题已经存档。
【有奖交流】积极回复本帖子,参与交流,就有机会分得作者 lee-town 的 1 个金币
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

lee-town

金虫 (正式写手)

[交流] 【求助】如何在Fedora 8下安装g95软件

我已经尝试过以下两种方法
1(g95说明书)
Getting started:G95 can be installed without root permission but currently requires a symbolic link from a specific directory to your install directory.
1.Unpack the downloaded tarball (e.g. g95-x86-linux.tgz) in a directory of your choice:
tar -zxvf g95-x86-linux.tgz  
2.For your convenience, you can create another symbolic link from a directory in your $PATH (e.g. ~/bin) to the executable
ln -s $PWD/g95-install/bin/*g95* ~/bin/g95  You should now be able to run g95 and create executables. Run a g95-compiled program with the argument "--g95" to get a list of environment variables and error code numbers.
2(论坛)
1.安装gcc-4.0.3下载:(ftp://gcc.gnu.org/pub/gcc/releas ... c-core-4.0.3.tar.gz)
%cd /usr/local%mkdir G95
解压缩 %tar zxvf gcc-core-4.0.3.tar.gz
并copy到目录/usr/local/G95/%cp –a gcc-4.0.3 /usr/local/G95
在gcc-4.0.3目录中建立g95文件夹%cd /usr/local/G95/gcc-4.0.3%mkdir g95%cd g95
接着运行命令:%../configure --prefix=/usr/local/G95/gcc-4.0.3/g95 --enable-threads=posix --disable-checking --host=i386-redhat-linux --with-system-zlib --enable-shared %make如果运行正常,会生成libbackend.a 和 libgcc.a ,用于编译G95。(就出问题了!)
下载G95源文件:(http://ftp.g95.org/g95_source.tgz
并解压到目录:/usr/local/G95%tar zxvf g95_source.tgz
运行下面的命令:     %./configure --prefix= --with-gcc-dir=
例如:      %cd /usr/local/G95/g95-0.92     %./configure --prefix=/usr/local/G95 --with-gcc-dir=/usr/local/G95/gcc-4.0.3%make%make install解压 %tar xvzf libf95.a-0.92.tgz
进入目录 %cd /src/G95/g95-0.92/libf95.a-0.92%./configure
然后 make 生成 libf95.a%make install 编译结束最后,
别忘记设置环境变量:(个人的设置):%vi /etc/profile在文件profile后加两句:export LIBRARY_PATH=/usr/local/G95/g95-0.92/libf95.a-0.92LIBRARY_PATHexport  PATH=/usr/local/G95/g95-0.92PATH%cd /etc%source profile

都没有成功,请问原因所在???如何正确安装
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

老虎大王

木虫 (著名写手)

★ ★ ★
fegg7502(金币+3):thank you very much! 2010-03-01 23:44
lee-town(金币+1):thanks 2010-03-02 10:45
ln -s $PWD/g95-install/bin/*g95* ~/bin/g95  

1.要用root身份。(用su)
2.当前应应于g95-install的上一层目录的位置。
3.命令中的“~”是让你选的,比如 /usr/local
9楼2010-03-01 20:09:06
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 9 个回答

老虎大王

木虫 (著名写手)


luoqiquan(金币+1):ths 2010-03-01 16:17
lee-town(金币+1):thanks 2010-03-01 17:11
就用第一种方法即可。
你可谈谈你遇到的具体问题。
2楼2010-02-23 11:48:37
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

lee-town

金虫 (正式写手)

ln -s $PWD/g95-install/bin/*g95* ~/bin/g95  这一步没有反应!
3楼2010-02-27 21:39:32
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

老虎大王

木虫 (著名写手)

luoqiquan:many ths 2010-03-01 16:17
没有反应是什么意思?是不是没有任何信息?

这个命令要用管理员身份来发。
4楼2010-03-01 09:53:54
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 什么时候开奖? +6 CrisMessi 2026-08-18 6/300 2026-08-19 08:06 by Equinoxhua
[基金申请] 不应该看fileCode +8 且听虎啸 2026-08-12 10/500 2026-08-19 08:03 by luw152
[基金申请] 结合人工智能,周易传统文化,filecode打分制来了,3分以上希望很大。 +4 Tide man 2026-08-12 5/250 2026-08-19 07:41 by 201120518022
[基金申请] 重要消息,中午系统在维护 +10 yuleib84 2026-08-18 11/550 2026-08-19 07:30 by 羽毛枫f
[基金申请] 咱们一起用铁证分析2026国家社科基金中标与否 +7 启萌科技 2026-08-12 27/1350 2026-08-18 21:44 by Noways
[教师之家] 为什么余额宝的年化利率越来越低?主要原因有哪些? +3 瞬息宇宙 2026-08-15 3/150 2026-08-18 21:40 by xiaohuixin
[基金申请] 2027广东省杰青 +3 奶牛小黑 2026-08-15 9/450 2026-08-18 20:09 by 奶牛小黑
[基金申请] 明天放榜? +5 Shxjjxjkx 2026-08-18 5/250 2026-08-18 18:14 by -大大大大大-
[论文投稿] 投稿咨询 +4 wwm09 2026-08-17 6/300 2026-08-18 15:36 by wwm09
[基金申请] 时间戳又变了8-15 +14 archvillain 2026-08-15 26/1300 2026-08-18 13:37 by phantomgost
[基金申请] 今天维护系统维护 祝所有人 高中 +8 gjjjzhong 2026-08-18 9/450 2026-08-18 13:01 by 家与远方
[基金申请] 哪位老哥知道今年的国自然具体哪一天放榜? +13 Ldrop2023 2026-08-13 16/800 2026-08-18 12:25 by 淀粉搬运工
[基金申请] 快农历七夕节了,轻松一下,男人悄悄话,女施主请不要进来。 +4 Tide man 2026-08-14 5/250 2026-08-18 11:35 by Tide man
[基金申请] 93BebMhtakh前后11位开头都是大写 +4 且听虎啸 2026-08-17 5/250 2026-08-18 00:49 by 蔡棒棒菂
[基金申请] 感觉是下周放榜了 +6 angus9576 2026-08-17 11/550 2026-08-17 23:57 by angus9576
[基金申请] filecode=后面第一个是大写字母 +8 wangze12014 2026-08-14 10/500 2026-08-17 17:05 by xter9665
[基金申请] 今天系统多次维护,明天很可能放榜! +8 zju2000 2026-08-16 9/450 2026-08-17 12:20 by lmz0216
[精细化工] 招聘 金属平磨液,抛光液研发工程师 +3 小天0311 2026-08-14 3/150 2026-08-16 07:31 by H9PLUS
[基金申请] 重要来源:本周末出结果 +10 瞬息宇宙 2026-08-12 10/500 2026-08-13 15:46 by likettle
[基金申请] Filecode 又变了,巨变 +3 WH3796 2026-08-12 4/200 2026-08-13 14:13 by 小木虫6752397
信息提示
请填处理意见