LinuxSir.cn,穿越时空的Linuxsir!

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

[solved]Can not emerge multiget on amd64

[复制链接]
发表于 2008-5-7 01:14:54 | 显示全部楼层 |阅读模式
configure: error: wxWidgets is required. Try --with-wx-config.

之前都没有问题,我的
eix wxwidgets
app-admin/eselect-wxwidgets
     Available versions:  0.7-r1 ~0.8
     Installed versions:  0.7-r1(12:28:12 PM 05/06/2008)
     Homepage:            http://www.gentoo.org
     Description:         Manage the system default for wxWidgets packages.

* dev-perl/Alien-wxWidgets
     Available versions:  ~0.20-r1 0.21 ~0.30 ~0.34 {unicode}
     Homepage:            http://search.cpan.org/~mbarbon/Alien-wxWidgets-0.34/
     Description:         Building, finding and using wxWidgets binaries

也try了--with-wx-config

*
* ERROR: net-misc/multiget-1.2.0 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_compile
*             environment, line 2107:  Called econf
*               ebuild.sh, line  513:  Called die
* The specific snippet of code:
*                           die "econf failed"
*  The die message:
*   econf failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/net-misc/multiget-1.2.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/multiget-1.2.0/temp/environment'.
*
发表于 2008-5-7 10:50:26 | 显示全部楼层
eselect 中设置一下 wxWidget:
eselect wxwidgets set 1
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-9 14:38:06 | 显示全部楼层
eselect wxwidgets set 1
Setting wxWidgets profile to gtk2-ansi-release-2.6

能告知原理吗?不胜感激!
回复 支持 反对

使用道具 举报

发表于 2008-5-9 14:47:18 | 显示全部楼层
你现在应该可以了吧!
  我之前也有这个问题。错误中说找不到 wxWidget,如果你安装了,也用了“使用 wxWidget 配置”一项还不能安装,就只能理解为没有启用已安装的 wxWidget。Gentoo 下管理多个相同功能的软件包的切换和启用提供了 eselect 程序,里面有不少的软件包设置。楼主有兴趣可以看看。
  不过你的是 gtk2-ansi-release-2.6,我的好像是 Unicode,不是 ansi。楼主用 eselect wxwidget list 后换一个版本看看。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-9 14:48:00 | 显示全部楼层
之后,
mainframe.cpp: In member function ‘void MainFrame::OnAbout(wxCommandEvent&)’:
mainframe.cpp:1231: error: ‘wxAboutDialogInfo’ was not declared in this scope
mainframe.cpp:1231: error: expected `;' before ‘info’
mainframe.cpp:1232: error: ‘info’ was not declared in this scope
mainframe.cpp:1249: error: ‘::wxAboutBox’ has not been declared
mainframe.cpp: In member function ‘void MainFrame::OnVisitHome(wxCommandEvent&)’:
mainframe.cpp:4938: error: ‘wxBROWSER_NEW_WINDOW’ was not declared in this scope
make[2]: *** [mainframe.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/net-misc/multiget-1.2.0/work/multiget/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/multiget-1.2.0/work/multiget'
make: *** [all] Error 2


* ERROR: net-misc/multiget-1.2.0 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_compile
*             environment, line 2108:  Called die
* The specific snippet of code:
*       emake || die "emake failed"
*  The die message:
*   emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/net-misc/multiget-1.2.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/multiget-1.2.0/temp/environment'.
回复 支持 反对

使用道具 举报

发表于 2008-5-9 14:50:40 | 显示全部楼层
eselect wxwidget list 有那些?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-9 15:53:46 | 显示全部楼层
eselect wxwidget list
!!! Error: Can't load module wxwidget
Killed
内核中也找不到wxwidget
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-9 15:55:35 | 显示全部楼层
奇怪又可以了
eselect wxwidgets list
Available wxWidgets profiles:
  [1]   gtk2-ansi-release-2.6 *
  [2]   gtk2-unicode-release-2.6
  [3]   gtk2-unicode-release-2.8
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-9 16:02:50 | 显示全部楼层
eselect wxwidgets set 3
emerge multiget
success!
Thank you!
回复 支持 反对

使用道具 举报

发表于 2008-5-9 16:47:38 | 显示全部楼层
我晕,要复数……另外就是修改标题为已解决。
回复 支持 反对

使用道具 举报

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

本版积分规则

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