gentoo USE使用

1. 安装chrome时,依赖ffmpeg,而且ffmpeg需要多线程的支持,因此安装(emerge)ffmpeg是需要USE标记中包含threads

 

localhost Demo # emerge www-client/chromium * IMPORTANT: 7 news items need reading for repository 'gentoo'. * Use eselect news to read news items. * Last emerge --sync was Wed Apr 27 19:05:01 2011. Calculating dependencies... done! emerge: there are no ebuilds built with USE flags to satisfy ">=media-video/ffmpeg-0.6_p25767[threads]". !!! One of the following packages is required to complete your request: - media-video/ffmpeg-0.6_p25767 (Change USE: +threads) (dependency required by "www-client/chromium-10.0.648.205" [ebuild]) (dependency required by "www-client/chromium" [argument]) * IMPORTANT: 7 news items need reading for repository 'gentoo'. * Use eselect news to read news items.

 

 

2. 查询ffmpeg对应的正式包名:

localhost Demo # eix  ffmpeg

 

3. 在USE标记增加threads安装ffmpeg:

USE="+threads" emerge media-video/ffmpeg

localhost Demo # USE="+threads" emerge media-video/ffmpeg USE flags should not start with a '+': +threads * IMPORTANT: 7 news items need reading for repository 'gentoo'. * Use eselect news to read news items. * Last emerge --sync was Wed Apr 27 19:05:01 2011. Calculating dependencies -USE flags should not start with a '+': +threads /USE flags should not start with a '+': +threads |USE flags should not start with a '+': +threads USE flags should not start with a '+': +threads ... done! >>> Verifying ebuild manifests USE flags should not start with a '+': +threads >>> Emerging (1 of 1) media-video/ffmpeg-0.6_p25767 ......

 

4. 在/etc/portage/package.use添加每个包特定的use;

在/etc/make.conf添加全局的use

 

5. 在/etc/portage/package.unmask中添加不需过滤的软件包

 

6. 在/etc/portage/package.mask添加需要过来的壖件包

你可能感兴趣的:(多线程,chrome,dependencies)