|
- In file included from /usr/include/gtk-2.0/gtk/gtk.h:233,
- from vte.h:25,
- from vtetypebuiltins.c:4:
- /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47: warning: function declaration isn’t a prototype
- CC vte-vteapp.o
- CC interpret-caps.o
- CC interpret-debug.o
- CC interpret-iso2022.o
- CC interpret-matcher.o
- CC interpret-table.o
- In file included from /usr/include/gtk-2.0/gtk/gtk.h:233,
- from vteapp.c:29:
- /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47: warning: function declaration isn’t a prototype
- vteapp.c: In function ‘char_size_changed’:
- vteapp.c:84: warning: ‘vte_terminal_get_padding’ is deprecated (declared at vte.h:453)
- vteapp.c: In function ‘char_size_realized’:
- vteapp.c:116: warning: ‘vte_terminal_get_padding’ is deprecated (declared at vte.h:453)
- vteapp.c: In function ‘button_pressed’:
- vteapp.c:195: warning: ‘vte_terminal_get_padding’ is deprecated (declared at vte.h:453)
- vteapp.c: In function ‘resize_window’:
- vteapp.c:305: warning: ‘vte_terminal_get_padding’ is deprecated (declared at vte.h:453)
- vteapp.c: In function ‘take_xconsole_ownership’:
- vteapp.c:407: warning: initialization discards qualifiers from pointer target type
- vteapp.c:408: warning: initialization discards qualifiers from pointer target type
- vteapp.c:409: warning: initialization discards qualifiers from pointer target type
- vteapp.c:410: warning: initialization discards qualifiers from pointer target type
- vteapp.c: In function ‘main’:
- vteapp.c:818: warning: ‘vte_terminal_set_font_from_string_full’ is deprecated (declared at vte.h:542)
- CC interpret-trie.o
- CC interpret-vteconv.o
- CC interpret-vtetc.o
- CC interpret-vtetree.o
- In file included from /usr/include/gtk-2.0/gtk/gtk.h:233,
- from vte.h:25,
- from vte-private.h:44,
- from vteconv.c:29:
- /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47: warning: function declaration isn’t a prototype
- CC interpret-interpret.o
- CC slowcat.o
- CCLD libvte.la
- CCLD interpret
- CCLD slowcat
- CCLD vte
- make[3]: Leaving directory `/var/tmp/portage/x11-libs/vte-0.24.3/work/vte-0.24.3/src'
- make[2]: Leaving directory `/var/tmp/portage/x11-libs/vte-0.24.3/work/vte-0.24.3/src'
- Making all in python
- make[2]: Entering directory `/var/tmp/portage/x11-libs/vte-0.24.3/work/vte-0.24.3/python'
- CC vtemodule_la-vtemodule.lo
- GEN vte.c
- note: pygtk-codegen-2.0 is deprecated, use pygobject-codegen-2.0 instead
- note: I will now try to invoke pygobject-codegen-2.0 in the same directory
- vtemodule.c:19:2: warning: #ident is a deprecated GCC extension
- File "<string>", line 1
- from distutils import sysconfig; print sysconfig.get_python_lib(1, 0, prefix='/usr')
- ^
- SyntaxError: invalid syntax
- /usr/bin/python3.1: can't open file '/gtk-2.0/codegen/codegen.py': [Errno 2] No such file or directory
- make[2]: *** [vte.c] Error 2
- make[2]: *** Waiting for unfinished jobs....
- In file included from vtemodule.c:25:
- /usr/include/pygtk-2.0/pygobject.h: In function ‘pygobject_init’:
- /usr/include/pygtk-2.0/pygobject.h:321: error: implicit declaration of function ‘PyString_AsString’
- /usr/include/pygtk-2.0/pygobject.h:321: warning: nested extern declaration of ‘PyString_AsString’
- In file included from /usr/include/gtk-2.0/gtk/gtk.h:233,
- from /usr/include/pygtk-2.0/pygtk/pygtk.h:8,
- from vtemodule.c:26:
- /usr/include/gtk-2.0/gtk/gtkitemfactory.h: At top level:
- /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47: warning: function declaration isn’t a prototype
- vtemodule.c:32: warning: return type defaults to ‘int’
- vtemodule.c:32: warning: no previous prototype for ‘DL_EXPORT’
- vtemodule.c: In function ‘DL_EXPORT’:
- vtemodule.c:32: error: expected declaration specifiers before ‘initvte’
- vtemodule.c:33: error: storage class specified for parameter ‘PyVteTerminal_Type’
- vtemodule.c:35: error: expected declaration specifiers before ‘DL_EXPORT’
- vtemodule.c:32: error: old-style parameter declarations in prototyped function definition
- vtemodule.c:52: error: expected ‘{’ at end of input
- make[2]: *** [vtemodule_la-vtemodule.lo] Error 1
- make[2]: Leaving directory `/var/tmp/portage/x11-libs/vte-0.24.3/work/vte-0.24.3/python'
- make[1]: *** [all-recursive] Error 1
- make[1]: Leaving directory `/var/tmp/portage/x11-libs/vte-0.24.3/work/vte-0.24.3'
- make: *** [all] Error 2
- * ERROR: x11-libs/vte-0.24.3 failed:
- * compile failure
- *
- * Call stack:
- * ebuild.sh, line 54: Called src_compile
- * environment, line 2895: Called gnome2_src_compile
- * environment, line 2239: Called die
- * The specific snippet of code:
- * emake || die "compile failure"
- *
- * If you need support, post the output of 'emerge --info =x11-libs/vte-0.24.3',
- * the complete build log and the output of 'emerge -pqv =x11-libs/vte-0.24.3'.
- * The complete build log is located at '/var/tmp/portage/x11-libs/vte-0.24.3/temp/build.log'.
- * The ebuild environment file is located at '/var/tmp/portage/x11-libs/vte-0.24.3/temp/environment'.
- * S: '/var/tmp/portage/x11-libs/vte-0.24.3/work/vte-0.24.3'
复制代码- ~ $ cat /etc/make.conf
- # These settings were set by the catalyst build script that automatically
- # built this stage.
- # Please consult /usr/share/portage/config/make.conf.example for a more
- # detailed example.
- #CFLAGS="-O2 -march=i686 -pipe"
- #CXXFLAGS="-O2 -march=i686 -pipe"
- # WARNING: Changing your CHOST is not something that should be done lightly.
- # Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
- CHOST="i686-pc-linux-gnu"
- CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
- CXXFLAGS="${CFLAGS}"
- MAKEOPTS="-j3"
- #DISTDIR="/home/distfiles"
- VIDEO_CARDS="intel"
- INPUT_DEVICES="evdev synaptics"
- GENTOO_MIRRORS="http://mirrors.sohu.com/gentoo/ "
- SYNC="rsync://rsync.gentoo.org/gentoo-portage"
- USE="-gtk xcb svg emerald truetype vim-syntax -threads jpeg png cups dbus hal startup-notification xsreensaver -nv -ati xorg -kde -qt3 -qt4 -gnome alsa dvd X aac acpi alsa -altivec -emacs -gnutls -ieee1394 -ipv6 -jabber -ldap gmplayer mp3 mp4 mpeg -mssql ogg wifi win32codecs xv opengl"
- LINGUAS="zh_CN zh"
- PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
复制代码 求解决此类问题的办法。在本坛中,因为更新软件而出问题的帖子,小生已发数个,现求解决此类问题的通用办法。谢谢。
另求桌面截图软件。USE="-kde -gnome" |
|