Не компилируется librsvg [РЕШЕНО]

razr / # emerge librsvg

 * IMPORTANT: 6 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) gnome-base/librsvg-2.34.2
>>> Jobs: 0 of 1 complete, 1 running                Load avg: 0.27, 0.42, 1.27openpty failed: 'out of pty devices'
>>> Failed to emerge gnome-base/librsvg-2.34.2, Log file:
>>>  '/var/tmp/portage/gnome-base/librsvg-2.34.2/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 1.18, 0.63, 1.29
 * Package:    gnome-base/librsvg-2.34.2
 * Repository: gentoo
 * Maintainer: 
 * USE:        consolekit elibc_glibc gtk introspection kernel_linux policykit userland_GNU x86
 * FEATURES:   ccache sandbox
>>> Unpacking source...
>>> Unpacking librsvg-2.34.2.tar.xz to /var/tmp/portage/gnome-base/librsvg-2.34.2/work
>>> Source unpacked in /var/tmp/portage/gnome-base/librsvg-2.34.2/work
>>> Preparing source in /var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2 ...
 * Applying librsvg-2.34.0-automagic-gtk.patch ...
 [ ok ]
 * Running eautoreconf in '/var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2' ...
 * Running aclocal ...
 [ ok ]
 * Running libtoolize --copy --force --install --automake ...
 [ ok ]
 * Running aclocal ...
 [ ok ]
 * Running autoconf ...
 [ ok ]
 * Running autoheader ...
 [ ok ]
 * Running automake --add-missing --copy ...
 [ ok ]
 * Running elibtoolize in: librsvg-2.34.2/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 * Fixing OMF Makefiles ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2 ...
 * econf: updating librsvg-2.34.2/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating librsvg-2.34.2/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 --disable-static --disable-tools --enable-gtk-theme --enable-introspection --with-croco --enable-pixbuf-loader --with-gtk=2.0 --disable-gtk-doc --disable-maintainer-mode
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 disable maintainer-specific portions of Makefiles... no
checking whether ln -s works... yes
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... none
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) none
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for gawk... (cached) gawk
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
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 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 the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
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-dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for archiver @FILE support... @
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 sysroot... no
checking for i686-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
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 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 ANSI C header files... (cached) yes
checking whether i686-pc-linux-gnu-gcc and cc understand -c and -o together... yes
checking whether byte ordering is bigendian... 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 some Win32 platform... no
checking for native Win32... no
checking for LIBRSVG... yes
checking for GTHREAD... yes
checking whether gio 2.24 is available... yes
checking for LIBCROCO... yes
checking for strtok_r... yes
checking for more warnings... no
checking whether to build the GTK+ theme engine... yes
checking which gtk+ version to compile against... 2.0
checking for GTK2... yes
checking whether to build the GDK-Pixbuf SVG loader... yes
checking for GDK_PIXBUF... yes
checking for gdk-pixbuf-query-loaders... /usr/bin/gdk-pixbuf-query-loaders
checking for gtkdoc-check... no
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking whether to build miscellaenous tools... no
checking for gobject-introspection... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
configure: creating ./config.status
config.status: creating librsvg.spec
config.status: creating librsvg-features.h
config.status: creating Makefile
config.status: creating librsvg-zip
config.status: creating data/Makefile
config.status: creating gtk-engine/Makefile
config.status: creating gtk-engine/examples/Makefile
config.status: creating gtk-engine/examples/bubble/Makefile
config.status: creating gdk-pixbuf-loader/Makefile
config.status: creating tests/Makefile
config.status: creating tests/pdiff/Makefile
config.status: creating tools/Makefile
config.status: creating doc/Makefile
config.status: creating doc/version.xml
config.status: creating librsvg-2.0.pc
config.status: creating librsvg-2.0-uninstalled.pc
config.status: creating rsvg
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

librsvg-2.34.2

        prefix:                         /usr
        compiler:                       i686-pc-linux-gnu-gcc

        Build introspectable bindings:  yes
        Build GdkPixbuf loader:         yes
        Build theme engine:             yes
        Build miscellaenous tools:      no
        Handle svgz files:              true
        Use libcroco for css parsing:   true

>>> Source configured.
>>> Compiling source in /var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2 ...
make -j3 
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2'
Making all in .
make[2]: Entering directory `/var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2'
  CC     librsvg_2_la-rsvg-affine.lo
  CC     librsvg_2_la-librsvg-features.lo


// начало компиляции


 echo './'`librsvg-enum-types.c
  GISCAN Rsvg-2.0.gir
  CCLD   librsvg-2.la
  CCLD   rsvg-convert
  CCLD   rsvg-view
In file included from <stdin>:19:0:
/var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2/rsvg-cairo-render.h:32:19: fatal error: cairo.h: No such file or directory
compilation terminated.
Error while processing the source.
make[2]: *** [Rsvg-2.0.gir] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2'
make: *** [all] Error 2
 * ERROR: gnome-base/librsvg-2.34.2 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of 'emerge --info =gnome-base/librsvg-2.34.2',
 * the complete build log and the output of 'emerge -pqv =gnome-base/librsvg-2.34.2'.
 * The complete build log is located at '/var/tmp/portage/gnome-base/librsvg-2.34.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gnome-base/librsvg-2.34.2/temp/environment'.
 * S: '/var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2'

 * Messages for package gnome-base/librsvg-2.34.2:

 * ERROR: gnome-base/librsvg-2.34.2 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of 'emerge --info =gnome-base/librsvg-2.34.2',
 * the complete build log and the output of 'emerge -pqv =gnome-base/librsvg-2.34.2'.
 * The complete build log is located at '/var/tmp/portage/gnome-base/librsvg-2.34.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gnome-base/librsvg-2.34.2/temp/environment'.
 * S: '/var/tmp/portage/gnome-base/librsvg-2.34.2/work/librsvg-2.34.2'

 * IMPORTANT: 6 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Не знаю кому он вообще librsvg нужен... И почему не видит cairo.h, при том что cairo установлен.

Если считаете, что вам не

Если считаете, что вам не нужна поддержка svg (Scalable Vector Graphics), отключите соответствующий USE-флаг.

Я Gentoo & Funtoo

Ну так глянь equery d

Ну так глянь equery d librsvg. А, и то, что лезет по зависимостям лучше ставить emerge -1 пакет.

А с какими флагами собран

А с какими флагами собран x11-libs/cairo?
P.S. Вы новости принципиально не читаете? ;)

Я Gentoo & Funtoo

$ equery d librsvg * These

$ equery d librsvg
 * These packages depend on librsvg:
media-video/vlc-1.1.12 (svg ? >=gnome-base/librsvg-2.9.0)

vlc - пофиксил... и как я умудрился ему svg включить...

>>P.S. Вы новости принципиально не читаете? ;)
3-й день на генту, еще не в курсе как

RazrFalcon написал(а): 3-й

RazrFalcon написал(а):
3-й день на генту, еще не в курсе как

В первом вашем сообщении с выводом консоли написано, как это сделать. В общем случае так:

eselect news read new

Я Gentoo & Funtoo

Теперь для gimp и inkscape он

Теперь для gimp и inkscape он нужен...
Есть у кого какие идеи почему он может не собираться. cairo то стоит.

RazrFalcon написал(а): Теперь

RazrFalcon написал(а):
Теперь для gimp и inkscape он нужен...
Есть у кого какие идеи почему он может не собираться. cairo то стоит.

Lupo Alberto написал(а):
А с какими флагами собран x11-libs/cairo?

Я Gentoo & Funtoo

X glib opengl qt4 svg xcb

X glib opengl qt4 svg xcb

revdep-rebuild

revdep-rebuild ничего пересобрать не хочет?

Я Gentoo & Funtoo

Пересобрал vlc и avidemux

Пересобрал vlc и avidemux (из-за того что я последний x264 компилил)...

Это

Собрал

Собрал таки:
USE="-introspection"
и
sudo emerge -1v x11-libs/cairo librsvg

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".