I'm planning to give a try to show my music's album's covers. After searching portage I found gai-album which has less dependencies then other options. So I gave it a try: $ emerge -av gai-album >>> Emerging (2 of 3) x11-libs/gai-0.5.10 to / >>> Downloading http://gentoo.inf.elte.hu/distfiles/gai-0.5.10.tar.bz2 --16:22:03-- http://gentoo.inf.elte.hu/distfiles/gai-0.5.10.tar.bz2 => `/usr/portage/distfiles/gai-0.5.10.tar.bz2' IP keres
I'm planning to give a try to show my music's album's covers. After searching portage I found gai-album which has less dependencies then other options. So I gave it a try: $ emerge -av gai-album >>> Emerging (2 of 3) x11-libs/gai-0.5.10 to / >>> Downloading http://gentoo.inf.elte.hu/distfiles/gai-0.5.10.tar.bz2 --16:22:03-- http://gentoo.inf.elte.hu/distfiles/gai-0.5.10.tar.bz2 => `/usr/portage/distfiles/gai-0.5.10.tar.bz2' IP keresés gentoo.inf.elte.hu... 157.181.161.38 Connecting to gentoo.inf.elte.hu|157.181.161.38|:80... kapcsolódva. HTTP kérés elküldve, várom a választ... 200 OK Hossz: 288.291 (282K) [application/x-tar] 100%[====================================>] 288.291 29.22K/s ETA 00:00 16:22:13 (29.19 KB/s) - `/usr/portage/distfiles/gai-0.5.10.tar.bz2' saved [288291/288291] >>> checksums files ;-) gai-0.5.2.ebuild >>> checksums files ;-) gai-0.5.6.ebuild >>> checksums files ;-) gai-0.5.10.ebuild >>> checksums files ;-) gai-0.5.3.ebuild >>> checksums files ;-) gai-0.5.5.ebuild >>> checksums files ;-) files/digest-gai-0.5.10 >>> checksums files ;-) files/digest-gai-0.5.2 >>> checksums files ;-) files/digest-gai-0.5.3 >>> checksums files ;-) files/digest-gai-0.5.5 >>> checksums files ;-) files/digest-gai-0.5.6 >>> checksums src_uri ;-) gai-0.5.10.tar.bz2 >>> Unpacking source... >>> Unpacking gai-0.5.10.tar.bz2 to /var/tmp/portage/gai-0.5.10/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/gai-0.5.10/work/gai-0.5.10 ... ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/var/tmp/portage/gai-0.5.10/image//usr --with-gl --disable-gnome --build=i686-pc-linux-gnu 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 ANSI C... none needed checking for library containing strerror... none required checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether to try to include gnome support... no checking whether to try to include OpenGL support... yes checking whether to try to include SDL(Joystick) support... yes checking whether to try to include ROX Panel support... yes checking whether to include nls support... yes checking operating system... "Linux" 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 /usr/X11R6/include/X11/X.h usability... yes checking /usr/X11R6/include/X11/X.h presence... yes checking for /usr/X11R6/include/X11/X.h... yes checking for pkg-config... true checking for gtk+ version 2.0.x/2.2.x... yes checking for Pango with FreeType2 support... yes checking for gtkglext-1.0.x... yes checking for sdl-config... true checking for SDL version (1.2.9) >= 1.2.0... yes checking for rox... false 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... configure: creating ./config.status config.status: creating gai/Makefile config.status: creating gai.pc config.status: creating Makefile config.status: creating gai.spec config.status: creating config.h config.status: creating po/Makefile config.status: executing default-1 commands General Applet Interface 0.5.10 will be compiled with these settings: -------------------------------------------------------------------------- - Dockapp/wmapplet support = yes - Gnome Panel support = no - ROX Panel support = no - OpenGL(gtkglext) = yes - Joystick(SDL) = yes - NLS support = yes - Installation prefix = /var/tmp/portage/gai-0.5.10/image//usr - Operative system = LINUX type "make" to compile gai v0.5.10 It might be that the gai.pc file will be installed into a directory which pkg-config doesn't know about(=you won't be able to install applets). See README for help. (cd gai;make all) make[1]: Entering directory `/var/tmp/portage/gai-0.5.10/work/gai-0.5.10/gai' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -Wall -O2 -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/SDL -D_REENTRANT -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -c -o gai.o gai.c In file included from /usr/include/pango-1.0/pango/pangofc-font.h:25, from /usr/include/pango-1.0/pango/pangoft2.h:29, from gai-private.h:56, from gai.c:34: /usr/include/ft2build.h:56:38: freetype/config/ftheader.h: Nincs ilyen fájl vagy könyvtár In file included from /usr/include/pango-1.0/pango/pangoft2.h:29, from gai-private.h:56, from gai.c:34: /usr/include/pango-1.0/pango/pangofc-font.h:26:10: #include expects "FILENAME" or <FILENAME> In file included from /usr/include/pango-1.0/pango/pangoft2.h:29, from gai-private.h:56, from gai.c:34: /usr/include/pango-1.0/pango/pangofc-font.h:144: error: syntax error before "pango_fc_font_lock_face" /usr/include/pango-1.0/pango/pangofc-font.h:144: warning: type defaults to `int' in declaration of `pango_fc_font_lock_face' /usr/include/pango-1.0/pango/pangofc-font.h:144: warning: data definition has no type or storage class In file included from gai-private.h:56, from gai.c:34: /usr/include/pango-1.0/pango/pangoft2.h:48: error: syntax error before '*' token /usr/include/pango-1.0/pango/pangoft2.h:53: error: syntax error before '*' token /usr/include/pango-1.0/pango/pangoft2.h:60: error: syntax error before '*' token /usr/include/pango-1.0/pango/pangoft2.h:64: error: syntax error before '*' token /usr/include/pango-1.0/pango/pangoft2.h:68: error: syntax error before '*' token /usr/include/pango-1.0/pango/pangoft2.h:72: error: syntax error before '*' token /usr/include/pango-1.0/pango/pangoft2.h:103: error: syntax error before "pango_ft2_font_get_face" /usr/include/pango-1.0/pango/pangoft2.h:103: warning: type defaults to `int' in declaration of `pango_ft2_font_get_face' /usr/include/pango-1.0/pango/pangoft2.h:103: warning: data definition has no type or storage class gai.c: In function `gai_text_create': gai.c:1591: error: `FT_Bitmap' undeclared (first use in this function) gai.c:1591: error: (Each undeclared identifier is reported only once gai.c:1591: error: for each function it appears in.) gai.c:1591: error: syntax error before "bitmap" gai.c:1630: error: `bitmap' undeclared (first use in this function) gai.c:1635: error: `ft_pixel_mode_grays' undeclared (first use in this function) gai.c: In function `gai_text_create_simple': gai.c:1691: error: `FT_Bitmap' undeclared (first use in this function) gai.c:1691: error: syntax error before "bitmap" gai.c:1717: error: `bitmap' undeclared (first use in this function) gai.c:1722: error: `ft_pixel_mode_grays' undeclared (first use in this function) make[1]: *** [gai.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/gai-0.5.10/work/gai-0.5.10/gai' make: *** [all] Error 2 !!! ERROR: x11-libs/gai-0.5.10 failed. Call stack: ebuild.sh, line 1526: Called dyn_compile ebuild.sh, line 923: Called src_compile gai-0.5.10.ebuild, line 43: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. my emerge --info: # emerge --info Portage 2.1_pre7-r3 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo-r1 i686) ================================================================= System uname: 2.6.16-gentoo-r1 i686 Intel(R) Celeron(R) CPU 2.40GHz Gentoo Base System version 1.12.0_pre16 dev-lang/python: 2.3.5-r2, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer noinfo notitles sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.inf.elte.hu/ http://gentoo.inode.at/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="hu_HU" LC_ALL="hu_HU" LINGUAS="hu en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm avi bash-completion berkdb bitmap-fonts bzip2 crypt cups curl dbus dri dvd eds emboss encode examples exif flac foomaticdb fortran ftp gdbm gif gphoto2 gpm gstreamer gtk gtk2 hal imagemagick imlib isdnlog jabber javascript jpeg jpeg2k kde kdexdeltas libg++ libwww mad maildir mbox mikmod mime mng motif mp3 mpeg ncurses nls nptl offensive ogg oggvorbis opengl oss pam pcre pdf pdflib perl pic plotutils png pppd python qt quicktime readline ruby samba sdl sockets spell ssl svg tcpd tidy tiff truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs xface xml2 xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_hu linguas_en userland_GNU video_cards_fbdev video_cards_sis video_cards_vesa" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS
will have a look asap
first one thing ;) no offence, but could you do me / other devs a favour and use english locale before posting emerge logs (i can't read hungarian - i assume it is at least -judging from your email address) - Thanks ;) i was not able to reproduce the error here with latest freetype & pango (with gcc 3.4.4 though) which version of pango and freetype are you using? it seems to work fine here. can you try to (re)emerge latest freetype and pango before gai ?
OK I will give it a try ASAP - which will be probably next weekend (19th May), because I'm pretty far from my desktop now. And thanks for warning me about the localized error messages, of course I'll turn it to en_US for the next time(s).
waiting for user's feedback.