Использовал инструкции из хендбука:
Код:
emerge gnome xscreensaverМожет кто сможет посоветовать что. Мануалы какие-нибудь.
Модератор: /dev/random
Код:
emerge gnome xscreensaverКод: Выделить всё
[32;01m * [39;49;00mPackage: gnome-base/gnome-menus-2.30.2-r1
[32;01m * [39;49;00mRepository: gentoo
[32;01m * [39;49;00mMaintainer: gnome@gentoo.org
[32;01m * [39;49;00mUSE: elibc_glibc kernel_linux python userland_GNU x86
>>> Unpacking source...
>>> Unpacking gnome-menus-2.30.2.tar.bz2 to /var/tmp/portage/gnome-base/gnome-menus-2.30.2-r1/work
>>> Source unpacked in /var/tmp/portage/gnome-base/gnome-menus-2.30.2-r1/work
>>> Preparing source in /var/tmp/portage/gnome-base/gnome-menus-2.30.2-r1/work/gnome-menus-2.30.2 ...
[32;01m*[0m Fixing OMF Makefiles ...
[A[152C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Running elibtoolize in: gnome-menus-2.30.2/
[32;01m*[0m Applying portage-2.2.patch ...
[32;01m*[0m Applying sed-1.5.6.patch ...
[32;01m*[0m Applying as-needed-2.2.6.patch ...
[32;01m*[0m Applying gnome-menus-2.18.3-ignore_kde_standalone.patch ...
[A[152C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Applying gnome-menus-2.30.2-XDG_MENU_PREFIX-fix.patch ...
[A[152C [34;01m[ [32;01mok[34;01m ][0m
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/gnome-base/gnome-menus-2.30.2-r1/work/gnome-menus-2.30.2 ...
* econf: updating gnome-menus-2.30.2/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating gnome-menus-2.30.2/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-debug=minimum --enable-python --disable-static --disable-introspection
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking whether NLS is requested... yes
checking for intltool >= 0.40.0... 0.41.1 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... (cached) /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/gmsgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.12.2
checking for XML::Parser... ok
checking for library containing strerror... none required
checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking dependency style of i686-pc-linux-gnu-gcc... (cached) gcc3
checking for ANSI C header files... (cached) yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for i686-pc-linux-gnu-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking what warning flags to pass to the C compiler... -Wall -Wmissing-prototypes
checking what language compliance flags to pass to the C compiler...
configure: Checking to see if we can build Python bindings
checking for a Python interpreter with version >= 2.3... python
checking for python... /usr/bin/python
checking for python version... 3.1
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python3.1/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python3.1/site-packages
checking for headers required to compile python extensions... File "<string>", line 1
import sys; print sys.prefix
^
SyntaxError: invalid syntax
File "<string>", line 1
import sys; print sys.exec_prefix
^
SyntaxError: invalid syntax
found
checking for python libraries... File "<string>", line 1
from distutils.sysconfig import get_config_var; print repr(get_config_var('Py_ENABLE_SHARED'))
^
SyntaxError: invalid syntax
./configure: line 13613: test: ==: unary operator expected
File "<string>", line 1
from distutils import sysconfig; print sysconfig.get_config_var('CC')
^
SyntaxError: invalid syntax
File "<string>", line 1
from distutils import sysconfig; print sysconfig.get_config_var('SYSLIBS'), sysconfig.get_config_var('SHLIBS')
^
SyntaxError: invalid syntax
File "<string>", line 1
from distutils import sysconfig; print sysconfig.get_config_var('LIBDIR')
^
SyntaxError: invalid syntax
File "<string>", line 1
from distutils import sysconfig; print sysconfig.get_config_var('LIBPL')
^
SyntaxError: invalid syntax
not found
checking whether i686-pc-linux-gnu-gcc accepts -fno-strict-aliasing... yes
checking for gobject-introspection... no (disabled, use --enable-introspection to enable)
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libmenu/Makefile
config.status: creating libmenu/libgnome-menu.pc
config.status: creating libmenu/libgnome-menu-uninstalled.pc
config.status: creating layout/Makefile
config.status: creating desktop-directories/Makefile
config.status: creating util/Makefile
config.status: creating python/Makefile
config.status: creating simple-editor/Makefile
config.status: creating simple-editor/GMenuSimpleEditor/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing libtool commands
config.status: executing po/stamp-it commands
gnome-menus 2.30.2
==================
prefix: /usr
exec_prefix: ${prefix}
libdir: ${exec_prefix}/lib
bindir: ${exec_prefix}/bin
sbindir: ${exec_prefix}/sbin
sysconfdir: /etc
localstatedir: /var/lib
datadir: /usr/share
source code location: .
compiler: i686-pc-linux-gnu-gcc
cflags: -O2 -march=i686 -pipe
Maintainer mode: no
Warn about deprecations: yes
Turn on debugging: minimum
Build python bindings: yes
Build introspection support: no (disabled, use --enable-introspection to enable)
>>> Source configured.
>>> Compiling source in /var/tmp/portage/gnome-base/gnome-menus-2.30.2-r1/work/gnome-menus-2.30.2 ...
make
make all-recursive
make[1]: Entering directory `/var/tmp/portage/gnome-base/gnome-menus-2.30.2-r1/work/gnome-menus-2.30.2'
Making all in po
make[2]: Entering directory `/var/tmp/portage/gnome-base/gnome-menus-2.30.2-r1/work/gnome-menus-2.30.2/po'
file=`echo ru | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/gmsgfmt -o $file ru.po
make[2]: Leaving directory `/var/tmp/portage/gnome-base/gnome-menus-2.30.2-r1/work/gnome-menus-2.30.2/po'
Making all in libmenu
make[2]: Entering directory `/var/tmp/portage/gnome-base/gnome-menus-2.30.2-r1/work/gnome-menus-2.30.2/libmenu'
CC canonicalize.lo
CC desktop-entries.lo
CC entry-directories.lo
CC gmenu-tree.lo
CC menu-layout.lo
CC menu-monitor.lo
CC menu-util.lo
CCLD libgnome-menu.la
libtool: link: require no space between `-L' and `-lpython3.1'
make[2]: *** [libgnome-menu.la] Ошибка 1
make[2]: Leaving directory `/var/tmp/portage/gnome-base/gnome-menus-2.30.2-r1/work/gnome-menus-2.30.2/libmenu'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/var/tmp/portage/gnome-base/gnome-menus-2.30.2-r1/work/gnome-menus-2.30.2'
make: *** [all] Ошибка 2
emake failed
[31;01m*[0m ERROR: gnome-base/gnome-menus-2.30.2-r1 failed:
[31;01m*[0m compile failure
[31;01m*[0m
[31;01m*[0m Call stack:
[31;01m*[0m ebuild.sh, line 56: Called src_compile
[31;01m*[0m environment, line 5267: Called gnome2_src_compile
[31;01m*[0m environment, line 2822: Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m emake || die "compile failure"
[31;01m*[0m
[31;01m*[0m If you need support, post the output of 'emerge --info =gnome-base/gnome-menus-2.30.2-r1',
[31;01m*[0m the complete build log and the output of 'emerge -pqv =gnome-base/gnome-menus-2.30.2-r1'.
[31;01m*[0m The complete build log is located at '/var/tmp/portage/gnome-base/gnome-menus-2.30.2-r1/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/gnome-base/gnome-menus-2.30.2-r1/temp/environment'.
[31;01m*[0m S: '/var/tmp/portage/gnome-base/gnome-menus-2.30.2-r1/work/gnome-menus-2.30.2'Код: Выделить всё
python-updaterКод: Выделить всё
eselect python listКод: Выделить всё
emergePortage 2.1.9.25 (default/linux/x86/10.0, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-gentoo-r5 i686)
=================================================================
System Settings
=================================================================
System uname: Linux-2.6.36-gentoo-r5-i686-AMD_Phenom-tm-_II_X4_955_Processor-with-gentoo-1.12.14
Timestamp of tree: Tue, 04 Jan 2011 10:00:01 +0000
app-shells/bash: 4.1_p7
dev-lang/python: 2.6.6-r1, 3.1.2-r4
dev-util/cmake: 2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox: 2.4
sys-devel/autoconf: 2.13, 2.65-r1
sys-devel/automake: 1.10.3, 1.11.1
sys-devel/binutils: 2.20.1-r1
sys-devel/gcc: 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.10
sys-devel/make: 3.81-r2
virtual/os-headers: 2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ [url="ftp://mirror.yandex.ru/gentoo-distfiles/""]ftp://mirror.yandex.ru/gentoo-distfiles/"[/url]
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa avahi berkdb bzip2 cairo cdr cli cracklib crypt cups cxx cyrillic dbus device-mapper dri dvdr extras fam fortran gdbm gdm gdu gif gnome gpm gtk iconv imlib ipv6 jpg modules mudflap ncurses nls nptl nptlonly opengl openmp pam pango pcre perl png policykit pppd python readline session slang sqlite ssl svg sysfs tcpd unicode webkit x86 xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAYКод: Выделить всё
[1] Python 2.6
[2] Python 3.1Код: Выделить всё
# eselect python list
Available Python interpreters:
[1] python2.6 *
[2] python3.1Код: Выделить всё
eselect python set 1Дело не python-updater, а в версии Python: в 3.x print - это функция.LupoAlberto писал(а): ↑07.01.2011 19:25Перед дальнейшей сборкой выполните на всякий случай python-updater
WinterAcidRain писал(а): ↑09.01.2011 21:31В общем все нормально встало, работает без тормозов и т.д., но одно смущает: не открывается меню "приложения".
Где копать?
(http://www.gentoo.org/doc/en/gnome-config.xml) писал(а):Starting with gnome-base/gnome-session-2.26.2, you will need to prepend the XDG_MENU_PREFIX variable to get the Gnome menus if you're using the ~/.xinitrc method to start your desktop. ,,,
Код: Выделить всё
sed -i '1i\export XDG_MENU_PREFIX=gnome-' ~/.xinitrc