+ -
当前位置:首页 → 问答吧 → emerge gnome-vfsmm 的问题

emerge gnome-vfsmm 的问题

时间:2007-01-05

来源:互联网

今天想安装个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.

作者: zhaoyaming   发布时间: 2007-01-05

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

作者: limon   发布时间: 2007-01-05

如果bugs.gentoo.org的搜索结果你看不明白
请至少贴一下你的搜索结果

作者: zhllg   发布时间: 2007-01-05

我遇到过,用~86编译了事。

作者: MerkavaIV   发布时间: 2007-01-06

能不能贴一下你的make.conf中的CFLAGS???

作者: ooio_karl   发布时间: 2007-01-06

很明显啊,有个-O3
改成-O2试试吧

作者: zhllg   发布时间: 2007-01-06

代码:
../../libgnomevfs/libgnomevfsmm/mime-handlers.h:75: error: expected constructor, destructor, or type conversion before '*' token
这种语法错误很可能是因为gcc设置参数不正确,导致编译的时候语法检查错误。

作者: ooio_karl   发布时间: 2007-01-06

CFLAGS="-march=athlon-xp -pipe -O2 -fomit-frame-pointer -m3dnow -msse -mmmx"

作者: MerkavaIV   发布时间: 2007-01-07