| View previous topic :: View next topic |
| Author |
Message |
apryan Tux's lil' helper

Joined: 31 Jan 2005 Posts: 124
|
Posted: Thu Nov 30, 2006 9:27 pm Post subject: gtk+ wont compile - Pango built with Cairo support is req |
|
|
I still can not get gtk+ to install clean. I have tried installing cairo then pango and then gtk+ but still come to the same problem. I tried unmerging all 3 and reemerging, same thing.
| Code: | Portage 2.1.2_rc2-r3 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.5-r0, 2.6.13-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r2 x86_64 AMD Opteron(tm) Processor 246
Gentoo Base System version 1.12.6
Last Sync: Wed, 29 Nov 2006 07:20:01 +0000
dev-java/java-config: 2.0.26-r5
dev-lang/python: 2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -march=k8 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -march=k8 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo ftp://planetmirror.com/pub/gentoo/ http://gentoo.binarycompass.org http://mirror.gentoo.ru/pub/mirror/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
MAKEOPTS="-j12"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 X acpi aim alsa apache2 apm avi berkdb bitmap-fonts bzlib caps cdb cli cracklib crypt cups curl dlloader dri eds elibc_glibc emboss encode exim extensions fam flash foomaticdb fortran ftp gd gif gnome gnutls gpm gstreamer gtk gtk2 iconv icq imagemagick imap imlib innodb input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog ithreads jpeg kde kernel_linux lcms lzw lzw-tiff mbox ming mng mp3 mpeg msql mysql ncurses nls nptl nptlonly ogg oggvorbis opengl pam pcre perl png postgres pppd python qt3 qt4 quicktime quotas readline reflection sdl session spell spl sqlite ssl sziptcltk tcpd theora threads tiff tokenizer truetype truetype-fonts type1-fonts usb userland_GNU vhosts video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i810 video_cards_mga video_cards_neomagic video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xml xorg xpm xsl xv xvid zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
|
| Code: | Calculating dependencies... done!
[ebuild R ] x11-libs/pango-1.14.7 USE="-debug -doc" 0 kB
[ebuild R ] x11-libs/cairo-1.2.4 USE="X pdf png -directfb -doc -glitz -svg" 0 kB
[ebuild N ] x11-libs/gtk+-2.10.6 USE="X jpeg tiff -debug -doc -xinerama" 0 kB
|
gtk+ config.log is here: http://home.tentric.com/~anthony/gtk.config.log
| Code: | >>> Emerging (1 of 1) x11-libs/gtk+-2.10.6 to /
* gtk+-2.10.6.tar.bz2 MD5 ;-) ... [ ok ]
* gtk+-2.10.6.tar.bz2 RMD160 ;-) ... [ ok ]
* gtk+-2.10.6.tar.bz2 SHA1 ;-) ... [ ok ]
* gtk+-2.10.6.tar.bz2 SHA256 ;-) ... [ ok ]
* gtk+-2.10.6.tar.bz2 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking gtk+-2.10.6.tar.bz2 ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking gtk+-2.10.6.tar.bz2 to /var/tmp/portage/x11-libs/gtk+-2.10.6/work
* Applying gtk+-2.8.10-xinerama.patch ... [ ok ]
* Applying gtk+-2.8.0-multilib.patch ... [ ok ]
* Running eautoreconf in '/var/tmp/portage/x11-libs/gtk+-2.10.6/work/gtk+-2.10.6' ...
* Requested automake 1.7
* Using automake (GNU automake) 1.7.9
* Using aclocal (GNU automake) 1.7.9
* Running aclocal -I . ... [ ok ]
* Running libtoolize --copy --force --automake ... [ ok ]
* Running aclocal -I . ... [ ok ]
* Running autoconf ... [ ok ]
* Running autoheader ... [ ok ]
* Running automake --add-missing --copy ... [ ok ]
* Running elibtoolize in: gtk+-2.10.6
* Applying max_cmd_len-1.5.0.patch ...
* Applying sed-1.5.6.patch ...
* Removing useless C++ checks ... [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-libs/gtk+-2.10.6/work/gtk+-2.10.6 ...
* econf: updating gtk+-2.10.6/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating gtk+-2.10.6/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-gtk-doc --with-libjpeg --with-libtiff --disable-xinerama --with-libpng --with-gdktarget=x11 --with-xinput --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for native Win32... no
checking for x86_64-pc-linux-gnu-gcc... x86_64-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 x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
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 x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/x86_64-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 recognise dependent libraries... pass_all
checking how to run the C preprocessor... x86_64-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 x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-g++... gcc3
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for x86_64-pc-linux-gnu-g77... x86_64-pc-linux-gnu-g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether x86_64-pc-linux-gnu-g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) 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 x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC works... yes
checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
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 x86_64-pc-linux-gnu-g77 option to produce PIC... -fPIC
checking if x86_64-pc-linux-gnu-g77 PIC flag -fPIC works... yes
checking if x86_64-pc-linux-gnu-g77 static flag -static works... yes
checking if x86_64-pc-linux-gnu-g77 supports -c -o file.o... yes
checking whether the x86_64-pc-linux-gnu-g77 linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for nm... /usr/bin/nm -B
checking whether to enable maintainer-specific portions of Makefiles... no
checking for some Win32 platform... no
checking whether build environment is sane... yes
checking for strerror in -lcposix... no
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for x86_64-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 BASE_DEPENDENCIES... yes
checking Whether to write dependencies into .pc files... no
checking for perl5... no
checking for perl... /usr/bin/perl
checking for indent... no
checking for lstat... yes
checking for mkstemp... yes
checking for flockfile... yes
checking for _NL_TIME_FIRST_WEEKDAY... yes
checking for _NL_MEASUREMENT_MEASUREMENT... yes
checking for _NL_PAPER_HEIGHT... yes
checking for _NL_PAPER_WIDTH... yes
checking for sigsetjmp... 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 for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed... af am ang ar az az_IR be bg bn bn_IN br bs ca cs cy da de dz el en_CA en_GB es et eu fa fi fr ga gl gu he hi hr hu hy ia id is it ja ka ko ku li lt lv mi mk ml mn mr ms nb ne nl nn nso or pa pl pt pt_BR ro ru rw sk sl sq sr sr@Latn sr@ije sv ta te th tk tr tt uk ur uz uz@Latn vi wa xh yi zh_CN zh_HK zh_TW
checking for extra flags to get ANSI library prototypes... none needed
checking for the BeOS... no
checking for HP-UX... no
checking for extra flags for POSIX compliance... none needed
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.12.0... yes (version 2.12.4)
checking for bind_textdomain_codeset... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking return type of signal handlers... void
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for mallinfo... yes
checking for getresuid... yes
checking for uid_t in sys/types.h... yes
checking for fd_set... yes, found in sys/types.h
checking for wchar.h... yes
checking for wctype.h... yes
checking for iswalnum... yes
checking if iswalnum() and friends are properly defined... yes
checking for uxtheme.h... no
checking whether to build gmodulized gdk-pixbuf... yes
checking whether dynamic modules work... yes
checking for TIFFReadScanline in -ltiff... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking for jpeglib.h... yes
checking for jpeg_simple_progression in -ljpeg... yes
checking for libpng12... yes
checking pixbuf loaders to build...
checking for sys/wait.h that is POSIX.1 compatible... yes
checking return type of signal handlers... (cached) void
checking for x86 platform... no
checking for XOpenDisplay... yes
checking for XextFindDisplay... yes
checking for XRenderQueryExtension... yes
checking if <X11/extensions/XIproto.h> is needed for xReply... no
checking for XConvertCase... yes
checking for XInternAtoms... yes
checking for XAddConnectionWatch... yes
checking for XkbQueryExtension... yes
checking for XShapeCombineMask... yes
checking for XSyncQueryExtension... yes
checking for X11/extensions/sync.h... yes
checking for XShmAttach... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking X11/extensions/XShm.h... yes
checking Pango flags... configure: error:
*** Pango not found. Pango built with Cairo support is required
*** to build GTK+. See http://www.pango.org for Pango information.
!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/x11-libs/gtk+-2.10.6/work/gtk+-2.10.6/config.log
!!! ERROR: x11-libs/gtk+-2.10.6 failed.
Call stack:
ebuild.sh, line 1568: Called dyn_compile
ebuild.sh, line 937: Called src_compile
gtk+-2.10.6.ebuild, line 110: Called econf '--disable-gtk-doc' '--with-libjpeg' '--with-libtiff' '--disable-xinerama' '--with-libpng' '--with-gdktarget=x11' '--with-xinput'
ebuild.sh, line 540: Called die |
did a esync and the lastest version its showing is gtk+-2.10.6.
| Code: | * x11-libs/gtk+
Latest version available: 2.10.6
Latest version installed: [ Not Installed ]
Size of downloaded files: 42,659 kB
Homepage: http://www.gtk.org/
Description: Gimp ToolKit +
License: LGPL-2
/usr/portage/x11-libs/gtk+:
total 104K
-rw-r--r-- 1 root root 40338 Nov 28 23:44 ChangeLog
-rw-r--r-- 1 root root 13357 Nov 28 23:44 Manifest
drwxr-xr-x 2 portage portage 4096 Nov 29 18:36 files
-rw-r--r-- 1 root root 2033 Sep 4 13:06 gtk+-1.2.10-r11.ebuild
-rw-r--r-- 1 root root 2320 Nov 11 20:38 gtk+-1.2.10-r12.ebuild
-rw-r--r-- 1 root root 4249 Nov 28 23:44 gtk+-2.10.6.ebuild
-rw-r--r-- 1 root root 3455 Feb 12 2006 gtk+-2.6.10-r1.ebuild
-rw-r--r-- 1 root root 3930 Nov 11 23:37 gtk+-2.8.12.ebuild
-rw-r--r-- 1 root root 3979 Nov 11 23:37 gtk+-2.8.19.ebuild
-rw-r--r-- 1 root root 4098 Nov 11 23:37 gtk+-2.8.20-r1.ebuild
-rw-r--r-- 1 root root 3913 Nov 11 23:37 gtk+-2.8.8.ebuild
-rw-r--r-- 1 root root 424 Aug 15 2005 metadata.xml
|
Any help would be appreciated.
-anthony
Last edited by apryan on Thu Nov 30, 2006 10:03 pm; edited 1 time in total |
|
| Back to top |
|
 |
nixnut Bodhisattva


Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Thu Nov 30, 2006 9:32 pm Post subject: |
|
|
try USE="cairo" emerge pango first _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
| Back to top |
|
 |
apryan Tux's lil' helper

Joined: 31 Jan 2005 Posts: 124
|
Posted: Thu Nov 30, 2006 9:42 pm Post subject: |
|
|
| There are no "cairo" use flags as indicated by previous posters on the forum. |
|
| Back to top |
|
 |
madisonicus Veteran


Joined: 20 Sep 2006 Posts: 1130
|
Posted: Thu Nov 30, 2006 9:52 pm Post subject: |
|
|
There is in fact a "cairo" USE flag: http://www.gentoo-portage.com/Search?search=&use=cairo, just not, so far as I can tell, for pango: http://www.gentoo-portage.com/x11-libs/pango/USE#ptabs.
However, this bug indicates that you'll need to emerge pango twice to get it to stick for gtk+ to emerge properly (or possibly emerge them in this order: cairo, pango, and gtk+).
HTH,
m _________________ Please add [SOLVED] to your message title if you feel that your question has been answered.
------
Intel Q9300 Core2 Quad * Gigabyte GA-EP35C-DS3R
Samsung x360
AMD64 x2 4200+ * TF7050-M2 * HTPC
ZOTAC ION A-U Mini-ITX * HTPC |
|
| Back to top |
|
 |
apryan Tux's lil' helper

Joined: 31 Jan 2005 Posts: 124
|
Posted: Thu Nov 30, 2006 10:00 pm Post subject: |
|
|
Noted. I was thinking of giving 'FEATURE="--with-cairo" emerge pango' a try, but not sure that would fix it.
| Quote: | However, this bug indicates that you'll need to emerge pango twice to get it to stick for gtk+ to emerge properly (or possibly emerge them in this order: cairo, pango, and gtk+).
|
I have tried emerging in that order, neither of which worked.
There has been suggestions by others that removing old libpng files from /usr/lib had fixed their problem. It hasnt for me yet.
Here's the other config.log files:
gtk+ is: http://home.tentric.com/~anthony/gtk.config.log
cairo is: http://home.tentric.com/~anthony/cairo.config.log
pango is: http://home.tentric.com/~anthony/pango.config.log
This is also apparently in the bugs db:
https://bugs.gentoo.org/show_bug.cgi?id=139083
As a side note, I went a head and attempted adding cairo to the global USE flags. I then recompiled gcc, cairo, pango, and gtk+ and still got the same error. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|