LinuxForum.Fans
Тема

[РЕШЕНО] Ошибка компиляции rarian

Автор: rugooner 8 сообщений 4594 просмотров
#263900

Доброго времени суток! Решил побаловаться с Gentoo на виртуалке. Во время установки gnome-light отказывается компилироваться rarian.

text
Package:    app-text/rarian-0.8.1-r1
Repository: gentoo
Maintainer: gnome@gentoo.org
USE:        elibc_glibc kernel_linux userland_GNU x86
FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking rarian-0.8.1.tar.gz to /var/tmp/portage/app-text/rarian-0.8.1-r1/work
>>> Source unpacked in /var/tmp/portage/app-text/rarian-0.8.1-r1/work
>>> Preparing source in /var/tmp/portage/app-text/rarian-0.8.1-r1/work/rarian-0.8.1 ...
 Applying rarian-0.8.1-fix-old-doc.patch ...

Running elibtoolize in: rarian-0.8.1/ Applying portage/1.5.10 patch ... Applying sed/1.5.6 patch ... Applying as-needed/1.5.26 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-text/rarian-0.8.1-r1/work/rarian-0.8.1 ... * econf: updating rarian-0.8.1/config.guess with /usr/share/gnuconfig/config.guess * econf: updating rarian-0.8.1/config.sub with /usr/share/gnuconfig/config.sub ./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 --disable-dependency-tracking --localstatedir=/var --disable-static 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 i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... none checking for a BSD-compatible install... /usr/bin/install -c 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 grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E 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 /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking dependency style of i686-pc-linux-gnu-g++... none checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E checking for i686-pc-linux-gnu-g77... no checking for i686-pc-linux-gnu-xlf... no checking for i686-pc-linux-gnu-f77... no checking for i686-pc-linux-gnu-frt... no checking for i686-pc-linux-gnu-pgf77... no checking for i686-pc-linux-gnu-cf77... no checking for i686-pc-linux-gnu-fort77... no checking for i686-pc-linux-gnu-fl32... no checking for i686-pc-linux-gnu-af77... no checking for i686-pc-linux-gnu-xlf90... no checking for i686-pc-linux-gnu-f90... no checking for i686-pc-linux-gnu-pgf90... no checking for i686-pc-linux-gnu-pghpf... no checking for i686-pc-linux-gnu-epcf90... no checking for i686-pc-linux-gnu-gfortran... i686-pc-linux-gnu-gfortran checking whether we are using the GNU Fortran 77 compiler... yes checking whether i686-pc-linux-gnu-gfortran accepts -g... yes checking the maximum length of command line arguments... 1572864 checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip 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 checking if i686-pc-linux-gnu-gcc PIC flag -fPIC 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 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 configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-g++ static flag -static works... yes checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool 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-gfortran option to produce PIC... -fPIC checking if i686-pc-linux-gnu-gfortran PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-gfortran static flag -static works... yes checking if i686-pc-linux-gnu-gfortran supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-gfortran linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate checking whether we are using the GNU C++ compiler... (cached) yes checking whether i686-pc-linux-gnu-g++ accepts -g... (cached) yes checking dependency style of i686-pc-linux-gnu-g++... (cached) none conv dir is /usr/share/omf checking for xsltproc... yes checking for bash... /bin/bash checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating rarian.pc config.status: creating data/Makefile config.status: creating docs/Makefile config.status: creating librarian/Makefile config.status: creating util/Makefile config.status: creating util/rarian-sk-update config.status: creating util/rarian-sk-install config.status: creating util/rarian-sk-rebuild config.status: creating util/rarian-sk-config config.status: creating util/rarian-sk-get-scripts config.status: creating util/rarian-sk-extract config.status: creating util/rarian-sk-get-content-list config.status: creating util/rarian-sk-get-extended-content-list config.status: creating docs/rarian.document config.status: creating config.h config.status: executing depfiles commands

Rarian-0.8.1: This is not API-stable yet. Prefix......... /usr >>> Source configured. >>> Compiling source in /var/tmp/portage/app-text/rarian-0.8.1-r1/work/rarian-0.8.1 ... make -j5 make all-recursive make[1]: Entering directory `/var/tmp/portage/app-text/rarian-0.8.1-r1/work/rarian-0.8.1' Making all in librarian make[2]: Entering directory `/var/tmp/portage/app-text/rarian-0.8.1-r1/work/rarian-0.8.1/librarian' /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\""/usr/share"\" -DSYSCONFDIR=\""/etc"\" -DI_KNOW_RARIAN_0_8_IS_UNSTABLE -O2 -march=i686 -pipe -c -o librarian_la-rarian-main.lo `test -f 'rarian-main.c' || echo './'`rarian-main.c /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\""/usr/share"\" -DSYSCONFDIR=\""/etc"\" -DI_KNOW_RARIAN_0_8_IS_UNSTABLE -O2 -march=i686 -pipe -c -o librarian_la-rarian-reg-utils.lo `test -f 'rarian-reg-utils.c' || echo './'`rarian-reg-utils.c /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\""/usr/share"\" -DSYSCONFDIR=\""/etc"\" -DI_KNOW_RARIAN_0_8_IS_UNSTABLE -O2 -march=i686 -pipe -c -o librarian_la-rarian-language.lo `test -f 'rarian-language.c' || echo './'`rarian-language.c /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\""/usr/share"\" -DSYSCONFDIR=\""/etc"\" -DI_KNOW_RARIAN_0_8_IS_UNSTABLE -O2 -march=i686 -pipe -c -o librarian_la-rarian-utils.lo `test -f 'rarian-utils.c' || echo './'`rarian-utils.c /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\""/usr/share"\" -DSYSCONFDIR=\""/etc"\" -DI_KNOW_RARIAN_0_8_IS_UNSTABLE -O2 -march=i686 -pipe -c -o librarian_la-rarian-info.lo `test -f 'rarian-info.c' || echo './'`rarian-info.c mkdir .libs i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -DI_KNOW_RARIAN_0_8_IS_UNSTABLE -O2 -march=i686 -pipe -c rarian-reg-utils.c -fPIC -DPIC -o .libs/librarian_la-rarian-reg-utils.o env: ISO: No such file or directory make[2]: *** [librarian_la-rarian-reg-utils.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -DI_KNOW_RARIAN_0_8_IS_UNSTABLE -O2 -march=i686 -pipe -c rarian-utils.c -fPIC -DPIC -o .libs/librarian_la-rarian-utils.o env: ISO: No such file or directory make[2]: *** [librarian_la-rarian-utils.lo] Error 1 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -DI_KNOW_RARIAN_0_8_IS_UNSTABLE -O2 -march=i686 -pipe -c rarian-language.c -fPIC -DPIC -o .libs/librarian_la-rarian-language.o env: ISO: No such file or directory make[2]: *** [librarian_la-rarian-language.lo] Error 1 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -DI_KNOW_RARIAN_0_8_IS_UNSTABLE -O2 -march=i686 -pipe -c rarian-info.c -fPIC -DPIC -o .libs/librarian_la-rarian-info.o env: ISO: No such file or directory make[2]: *** [librarian_la-rarian-info.lo] Error 1 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -DI_KNOW_RARIAN_0_8_IS_UNSTABLE -O2 -march=i686 -pipe -c rarian-main.c -fPIC -DPIC -o .libs/librarian_la-rarian-main.o env: ISO: No such file or directory make[2]: *** [librarian_la-rarian-main.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-text/rarian-0.8.1-r1/work/rarian-0.8.1/librarian' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-text/rarian-0.8.1-r1/work/rarian-0.8.1' make: *** [all] Error 2 ERROR: app-text/rarian-0.8.1-r1 failed (compile phase): emake failed

If you need support, post the output of `emerge --info '=app-text/rarian-0.8.1-r1'`, the complete build log and the output of `emerge -pqv '=app-text/rarian-0.8.1-r1'`. The complete build log is located at '/var/tmp/portage/app-text/rarian-0.8.1-r1/temp/build.log'. The ebuild environment file is located at '/var/tmp/portage/app-text/rarian-0.8.1-r1/temp/environment'. S: '/var/tmp/portage/app-text/rarian-0.8.1-r1/work/rarian-0.8.1'

#263908

в порядке дежурной идеи: попробуй с MAKEOPTS="-j1" собрать... ну и:

"rugooner" написал:
If you need support, post the output of `emerge --info '=app-text/rarian-0.8.1-r1'`,
#263913
Fat-Zer написал:
в порядке дежурной идеи: попробуй с MAKEOPTS="-j1" собрать... ну и:

Не помогло.

Fat-Zer написал:
If you need support, post the output of `emerge --info '=app-text/rarian-0.8.1-r1'`
text
Portage 2.1.10.65 (default/linux/x86/10.0/desktop/gnome, gcc-4.5.3, glibc-2.14.1-r3, 3.2.21-gentoo i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.2.21-gentoo-i686-Intel-R-_Core-TM-_i3_CPU_M_380_@_2.53GHz-with-gentoo-2.1
Timestamp of tree: Sun, 08 Jul 2012 20:00:01 +0000
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="h-ttp://distfiles.gentoo.org"
LANG="ru_RU ISO 8859-5"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv ipv6 jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg mudflap nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pppd pulseaudio qt3support readline sdl session socialweb spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 x86 xcb xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="virtualbox" 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, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
#263916
"rugooner" написал:
LANG="ru_RU ISO 8859-5"

локаль неправильно установлена... если нужна именно эта, то должно быть «ru_RU ISO-8859-5».
и собственно почему не ru_RU.UTF-8 UTF-8?

#263922

Изменил /etc/env.d/02locale

text
LANG="ru_RU.UTF-8 UTF-8"
LC_COLLATE="C"

Выполнил
env-update && source /etc/profile
Логи:

text
Package:    app-text/rarian-0.8.1-r1
Repository: gentoo
Maintainer: gnome@gentoo.org
USE:        elibc_glibc kernel_linux userland_GNU x86
FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking rarian-0.8.1.tar.gz to /var/tmp/portage/app-text/rarian-0.8.1-r1/work
>>> Source unpacked in /var/tmp/portage/app-text/rarian-0.8.1-r1/work
>>> Preparing source in /var/tmp/portage/app-text/rarian-0.8.1-r1/work/rarian-0.8.1 ...
 Applying rarian-0.8.1-fix-old-doc.patch ...

Running elibtoolize in: rarian-0.8.1/ Applying portage/1.5.10 patch ... Applying sed/1.5.6 patch ... Applying as-needed/1.5.26 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-text/rarian-0.8.1-r1/work/rarian-0.8.1 ... * econf: updating rarian-0.8.1/config.guess with /usr/share/gnuconfig/config.guess * econf: updating rarian-0.8.1/config.sub with /usr/share/gnuconfig/config.sub ./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 --disable-dependency-tracking --localstatedir=/var --disable-static 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 i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... none checking for a BSD-compatible install... /usr/bin/install -c 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 grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E 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 /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking dependency style of i686-pc-linux-gnu-g++... none checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E checking for i686-pc-linux-gnu-g77... no checking for i686-pc-linux-gnu-xlf... no checking for i686-pc-linux-gnu-f77... no checking for i686-pc-linux-gnu-frt... no checking for i686-pc-linux-gnu-pgf77... no checking for i686-pc-linux-gnu-cf77... no checking for i686-pc-linux-gnu-fort77... no checking for i686-pc-linux-gnu-fl32... no checking for i686-pc-linux-gnu-af77... no checking for i686-pc-linux-gnu-xlf90... no checking for i686-pc-linux-gnu-f90... no checking for i686-pc-linux-gnu-pgf90... no checking for i686-pc-linux-gnu-pghpf... no checking for i686-pc-linux-gnu-epcf90... no checking for i686-pc-linux-gnu-gfortran... i686-pc-linux-gnu-gfortran checking whether we are using the GNU Fortran 77 compiler... yes checking whether i686-pc-linux-gnu-gfortran accepts -g... yes checking the maximum length of command line arguments... 1572864 checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip 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 checking if i686-pc-linux-gnu-gcc PIC flag -fPIC 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 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 configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-g++ static flag -static works... yes checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool 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-gfortran option to produce PIC... -fPIC checking if i686-pc-linux-gnu-gfortran PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-gfortran static flag -static works... yes checking if i686-pc-linux-gnu-gfortran supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-gfortran linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate checking whether we are using the GNU C++ compiler... (cached) yes checking whether i686-pc-linux-gnu-g++ accepts -g... (cached) yes checking dependency style of i686-pc-linux-gnu-g++... (cached) none conv dir is /usr/share/omf checking for xsltproc... yes checking for bash... /bin/bash checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating rarian.pc config.status: creating data/Makefile config.status: creating docs/Makefile config.status: creating librarian/Makefile config.status: creating util/Makefile config.status: creating util/rarian-sk-update config.status: creating util/rarian-sk-install config.status: creating util/rarian-sk-rebuild config.status: creating util/rarian-sk-config config.status: creating util/rarian-sk-get-scripts config.status: creating util/rarian-sk-extract config.status: creating util/rarian-sk-get-content-list config.status: creating util/rarian-sk-get-extended-content-list config.status: creating docs/rarian.document config.status: creating config.h config.status: executing depfiles commands

Rarian-0.8.1: This is not API-stable yet. Prefix......... /usr >>> Source configured. >>> Compiling source in /var/tmp/portage/app-text/rarian-0.8.1-r1/work/rarian-0.8.1 ... make -j1 make all-recursive make[1]: Entering directory `/var/tmp/portage/app-text/rarian-0.8.1-r1/work/rarian-0.8.1' Making all in librarian make[2]: Entering directory `/var/tmp/portage/app-text/rarian-0.8.1-r1/work/rarian-0.8.1/librarian' /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\""/usr/share"\" -DSYSCONFDIR=\""/etc"\" -DI_KNOW_RARIAN_0_8_IS_UNSTABLE -O2 -march=i686 -pipe -c -o librarian_la-rarian-main.lo `test -f 'rarian-main.c' || echo './'`rarian-main.c mkdir .libs i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -DI_KNOW_RARIAN_0_8_IS_UNSTABLE -O2 -march=i686 -pipe -c rarian-main.c -fPIC -DPIC -o .libs/librarian_la-rarian-main.o env: UTF-8: No such file or directory make[2]: *** [librarian_la-rarian-main.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-text/rarian-0.8.1-r1/work/rarian-0.8.1/librarian' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-text/rarian-0.8.1-r1/work/rarian-0.8.1' make: *** [all] Error 2 ERROR: app-text/rarian-0.8.1-r1 failed (compile phase): emake failed If you need support, post the output of `emerge --info '=app-text/rarian-0.8.1-r1'`, the complete build log and the output of `emerge -pqv '=app-text/rarian-0.8.1-r1'`. The complete build log is located at '/var/tmp/portage/app-text/rarian-0.8.1-r1/temp/build.log'. The ebuild environment file is located at '/var/tmp/portage/app-text/rarian-0.8.1-r1/temp/environment'. Working directory: '/var/tmp/portage/app-text/rarian-0.8.1-r1/work/rarian-0.8.1' S: '/var/tmp/portage/app-text/rarian-0.8.1-r1/work/rarian-0.8.1'

text
Portage 2.1.10.65 (default/linux/x86/10.0/desktop/gnome, gcc-4.5.3, glibc-2.14.1-r3, 3.2.21-gentoo i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.2.21-gentoo-i686-Intel-R-_Core-TM-_i3_CPU_M_380_@_2.53GHz-with-gentoo-2.1
Timestamp of tree: Sun, 08 Jul 2012 20:00:01 +0000
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="h-ttp://distfiles.gentoo.org"
LANG="ru_RU.UTF-8 UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv ipv6 jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg mudflap nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pppd pulseaudio qt3support readline sdl session socialweb spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 x86 xcb xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="virtualbox" 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, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

#263925
"rugooner" написал:
Изменил /etc/env.d/02locale

Ненене, лови:

text
# cat /etc/env.d/02locale
LC_ALL="ru_RU.UTF-8"
LANG="ru_RU.UTF-8"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"

И да:

text
# cat /usr/share/i18n/SUPPORTED | grep -E 'ru_RU|en_US' >> /etc/locale.gen && locale-gen
#263926

в /etc/locale.gen ru_RU.UTF-8 UTF-8 указана? после изменений locale-gen

"rugooner" написал:
LC_COLLATE="C"

и это зачем?

#263928
newzenon написал:
[quote="rugooner"]Изменил /etc/env.d/02locale

Ненене, лови:

text
# cat /etc/env.d/02locale
LC_ALL="ru_RU.UTF-8"
LANG="ru_RU.UTF-8"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"

И да:

text
# cat /usr/share/i18n/SUPPORTED | grep -E 'ru_RU|en_US' >> /etc/locale.gen && locale-gen

[/quote]
Помогло, спасибо всем за помощь! :)

Fat-Zer, я стараюсь вникать в суть того что и почему, но иногда терпения и настойчивости не хватает, оттуда и появляется неправильная кодировка и ненужные параметры, просто скопированные из Handbook.

Войдите или зарегистрируйтесь, чтобы ответить.