LinuxSir.cn,穿越时空的Linuxsir!

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

emerge gnome-vfsmm 的问题

[复制链接]
发表于 2007-1-4 22:32:54 | 显示全部楼层 |阅读模式
今天想安装个gnomebaker,但安装到gnome-vfsmm时,提示错误,无法继续安装,错误信息如下,请大家帮忙看看,找找原因,谢谢。
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"libgnomevfsmm\" -I../../libgnomevfs -I../../libgnomevfs -pthread -DORBIT2=1 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/gnome-vfs-module-2.0 -O3 -march=pentium4 -pipe -MT mime-handlers.lo -MD -MP -MF .deps/mime-handlers.Tpo -c mime-handlers.cc  -fPIC -DPIC -o .libs/mime-handlers.o
../../libgnomevfs/libgnomevfsmm/mime-handlers.h:75: error: expected constructor, destructor, or type conversion before '*' token
make[4]: *** [mime-handlers.lo] 错误 1
make[4]: Leaving directory `/var/tmp/portage/gnome-vfsmm-2.12.0/work/gnome-vfsmm-2.12.0/libgnomevfs/libgnomevfsmm'
make[3]: *** [all-recursive] 错误 1
make[3]: Leaving directory `/var/tmp/portage/gnome-vfsmm-2.12.0/work/gnome-vfsmm-2.12.0/libgnomevfs/libgnomevfsmm'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/var/tmp/portage/gnome-vfsmm-2.12.0/work/gnome-vfsmm-2.12.0/libgnomevfs'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/var/tmp/portage/gnome-vfsmm-2.12.0/work/gnome-vfsmm-2.12.0/libgnomevfs'
make: *** [all-recursive] 错误 1

!!! ERROR: dev-cpp/gnome-vfsmm-2.12.0 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  gnome-vfsmm-2.12.0.ebuild, line 30:   Called gnome2_src_compile
  gnome2.eclass, line 71:   Called die

!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if relevant.
发表于 2007-1-4 22:50:00 | 显示全部楼层
http://bugzilla.gnome.org/show_bug.cgi?id=347360

有个patch,不知是不是你的问题

Patch to down

patch to handle bonobo dependencies

Here is a patch to handle the bonobo-dependency changes in gnome-vfs-2.15.x.
The patch allows gnome-vfsmm-2.14.0 to build within the GNOME-2.15.4
environment.  The patch clearly needs some work [version - #ifdef stuff] if it
is to work properly with GNOME-2.14.x
回复 支持 反对

使用道具 举报

发表于 2007-1-4 22:50:48 | 显示全部楼层
如果bugs.gentoo.org的搜索结果你看不明白
请至少贴一下你的搜索结果
回复 支持 反对

使用道具 举报

发表于 2007-1-6 10:18:05 | 显示全部楼层
我遇到过,用~86编译了事。
回复 支持 反对

使用道具 举报

发表于 2007-1-6 12:33:04 | 显示全部楼层
能不能贴一下你的make.conf中的CFLAGS???
回复 支持 反对

使用道具 举报

发表于 2007-1-6 13:03:55 | 显示全部楼层
很明显啊,有个-O3
改成-O2试试吧
回复 支持 反对

使用道具 举报

发表于 2007-1-6 13:08:24 | 显示全部楼层

  1. ../../libgnomevfs/libgnomevfsmm/mime-handlers.h:75: error: expected constructor, destructor, or type conversion before '*' token
复制代码

这种语法错误很可能是因为gcc设置参数不正确,导致编译的时候语法检查错误。
回复 支持 反对

使用道具 举报

发表于 2007-1-7 10:02:38 | 显示全部楼层
CFLAGS="-march=athlon-xp -pipe -O2 -fomit-frame-pointer -m3dnow -msse -mmmx"
回复 支持 反对

使用道具 举报

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

本版积分规则

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