Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
小问题
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
ha-exit
n00b
n00b


Joined: 13 May 2005
Posts: 16

PostPosted: Thu May 26, 2005 3:11 pm    Post subject: 小问题 Reply with quote

emerge的时候需要从网上下,我的网络不好,我在windows下把它要的几个软件下下来,放到/usr/portage/distfiles里,然后emerge的时候系统还是要从网上下,我怎么样跳过这一步,让软件直接编译(所需要的源程序和对应的依赖包我都放到/usr/portage/distfiles)下
Back to top
View user's profile Send private message
ts
Tux's lil' helper
Tux's lil' helper


Joined: 15 Dec 2004
Posts: 97

PostPosted: Thu May 26, 2005 3:39 pm    Post subject: Re: 小问题 Reply with quote

ha-exit wrote:
emerge的时候需要从网上下,我的网络不好,我在windows下把它要的几个软件下下来,放到/usr/portage/distfiles里,然后emerge的时候系统还是要从网上下,我怎么样跳过这一步,让软件直接编译(所需要的源程序和对应的依赖包我都放到/usr/portage/distfiles)下


我想可以欺骗系统你已经装过这几个软件了,这样系统就会重新编译,重新编译就会从 /usr/portage/distfiles 下先找,而不是下载。你可以搜索一下,我不知道怎么把这几个软件加入 world 文件。:(

另外,也许修改 ebuild 文件也可以,try at your own risk.:)
Back to top
View user's profile Send private message
blackwhite
Apprentice
Apprentice


Joined: 24 Jun 2004
Posts: 250

PostPosted: Thu May 26, 2005 5:23 pm    Post subject: Reply with quote

你可能没有下载完全你需要的版本源码。如果你的distfile下面有你需要的source,肯定不会去下载的。
Back to top
View user's profile Send private message
ha-exit
n00b
n00b


Joined: 13 May 2005
Posts: 16

PostPosted: Fri May 27, 2005 12:38 am    Post subject: Reply with quote

提示信息是要下载OpenQ-0.3.0-p3-1.tar.gz,我已经下在了这个版本放在/usr/portage/distfiles里
Back to top
View user's profile Send private message
ha-exit
n00b
n00b


Joined: 13 May 2005
Posts: 16

PostPosted: Fri May 27, 2005 1:16 am    Post subject: Reply with quote

刚才通过楼上提示的修改ebuild文件(我修改的是OpenQ-0.3.0-r4.ebuild),我如是修改了ebuild文件
将HOMEPAGE,SRC_注释掉,然后算出修改的文件的md5码和大小,再
修改Mainfest文件,是OpenQ-0.3.0-r4.ebuild对应的大小和md5码为算出来的,这样就可以跳过
下载这一步,但是编译的时候它提示 make .... no rule to make target "install",stop,不知道怎么办啦
Back to top
View user's profile Send private message
akar
Bodhisattva
Bodhisattva


Joined: 03 Dec 2004
Posts: 348
Location: HKSAR,China

PostPosted: Fri May 27, 2005 2:04 am    Post subject: Reply with quote

如果要修改ebuild的話, lucida有一系列教程:

[转] gentoo ebuild FUQ :-) --lucida
_________________
AKar
Back to top
View user's profile Send private message
Fleta
n00b
n00b


Joined: 12 Dec 2004
Posts: 68

PostPosted: Fri May 27, 2005 7:13 am    Post subject: Reply with quote

akar wrote:
如果要修改ebuild的話, lucida有一系列教程:

[转] gentoo ebuild FUQ :-) --lucida

建议把这个摆到“小心得, 大集合!”那贴里去以方便查找。
Back to top
View user's profile Send private message
ha-exit
n00b
n00b


Joined: 13 May 2005
Posts: 16

PostPosted: Fri May 27, 2005 3:02 pm    Post subject: Reply with quote

装不上去,emerge -depclean一下,忘了设置~x86,一下子把我的chmsee需要的依赖包删了,郁闷
Back to top
View user's profile Send private message
Freesnake
n00b
n00b


Joined: 12 May 2005
Posts: 35

PostPosted: Fri May 27, 2005 3:47 pm    Post subject: Reply with quote

要OpenQ编译个gaim就好了,我记得没有单独要下OpenQ***的
还有,下source干嘛到windows下去搞?Linux下多线程下载工具一堆一堆的……
Back to top
View user's profile Send private message
blackwhite
Apprentice
Apprentice


Joined: 24 Jun 2004
Posts: 250

PostPosted: Fri May 27, 2005 5:08 pm    Post subject: Reply with quote

ha-exit wrote:
提示信息是要下载OpenQ-0.3.0-p3-1.tar.gz,我已经下在了这个版本放在/usr/portage/distfiles里

如果是这样的话,就
Code:
emerge OpenQ -pv

看看是不是OpenQ-0.3.0-p3-1版本。然后
Code:
ebuild OpenQ-0.3.0-p3-1.ebuild digest

然后
Code:
emerge OpenQ -av
Back to top
View user's profile Send private message
ha-exit
n00b
n00b


Joined: 13 May 2005
Posts: 16

PostPosted: Sat May 28, 2005 1:54 am    Post subject: Reply with quote

谢啦
Back to top
View user's profile Send private message
EricHsu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Sat May 28, 2005 7:25 am    Post subject: Reply with quote

建议新来的朋友仔细看看 gentoo 论坛的 "发帖指引", 然后选择一个能扼要描述你的问题的题目, 这样方便有心帮助的你朋友们可以在浏览论坛的时候, 不必点开帖子就能被你的问题吸引住目光 : )
_________________
- http://nkbit.com
- http://twitter.com/xuyihua
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum