LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 656|回复: 3

[已解决]怎么在Fedora无网络的情况下利用windows可以上网让Fedora进行yum

[复制链接]
发表于 2008-6-5 12:24:11 | 显示全部楼层 |阅读模式
我记得以前好像看到过这样的帖子,但是现在找不到了 下载了wine1.0 rc3 以前的 wine 1.0 rc1 编译很简单的,依赖都不缺什么,但是现在在FC9上居然缺少那么多。用本地yum的DVD源装了一堆东西还是少另外一堆东西,快疯掉。现在发现了一个这样的问题,这是从网上找的,我的显示和他的一样:
winegcc: gcc failed
make[2]: *** [winex11.drv.so] Error 2
make[2]: Leaving directory
`/home/manish/Desktop/Download/wine-0.9.49/dlls/winex11.drv'
make[1]: *** [winex11.drv] Error 2
make[1]: Leaving directory
`/home/manish/Desktop/Download/wine-0.9.49/dlls'
make: *** [dlls] Error 2

现状:

1 FC9不能上网,有本地ISO的光盘源,DVD的;
2 Windows可以上网。

要求:

让FC9可以利用Windows能上网这个条件,使用yum为自己更新。

ps:
1 不要编译wine了,受不了。rpm的wine现在网速慢下不来,MD5验证居然一个都没通过,汗。
2 不要Fedora上wine的依赖列表,我有~
3 直接给我那个帖子的地址也好啦

解决方法见3楼,同时谢谢2楼的方法
发表于 2008-6-5 13:49:08 | 显示全部楼层
挂光驱吧。。很easy的参考
cat /etc/yum.repos.d/CentOS-Media.repo

# CentOS-Media.repo
#
# This repo is used to mount the default locations for a CDROM / DVD on
#  CentOS-5.  You can use this repo and yum to install items directly off the
#  DVD ISO that we release.
#
# To use this repo, put in your DVD and use it with the other repos too:
#  yum --enablerepo=c4-media [command]
#  
# or for ONLY the media repo, do this:
#
#  yum --disablerepo=\* --enablerepo=c4-media [command]

[c5-media]
name=CentOS-$releasever - Media
baseurl=file:///media/CentOS/
        file:///media/cdrom/
        file:///media/cdrecorder/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-beta
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-5 13:54:45 | 显示全部楼层
解决方法:

从rpmfind下来wine的rpm所有依赖包,参考:
http://www.ubuntufans.com.cn/html/74/n-474.html

之后一个一个地装就可以啦,不过用
#yum localinstall wine* 我这里是没法通过,总是提示Public key for wine-jack*.rpm is not installed
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-5 13:55:59 | 显示全部楼层
解决方法:

从rpmfind下来wine的rpm所有依赖包,参考:
http://www.ubuntufans.com.cn/html/74/n-474.html
===
wine-capi ISDN support for wine
wine-cms Color Management for wine
wine-core wine core package
wine-devel Wine development environment
wine-esd ESD sound support for wine
wine-jack JACK sound support for wine
wine-ldap LDAP support for wine
wine-nas NAS sound support for wine
wine-tools Additional wine tools
wine-twain Twain support for wine

其中wine-jack还需要一个依赖关系:Jack-audio-connection-kit.rpm,而Jack-audio- connection-kit.rpm还需要libfreebob.so.0.rpm作为依赖关系,这个有点复杂大致就是如下:libfreebob.so.0.rpm–>Jack-audio-connection-kit.rpm–>wine-jack
===
之后一个一个地装就可以啦,不过用
#yum localinstall wine* 我这里是没法通过,总是提示Public key for wine-jack*.rpm is not installed
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表