libtiger won't compile (was: pangocairo missing)

*nix specific usage questions
isync
Blank Cone
Blank Cone
Posts: 23
Joined: 18 Oct 2009 14:22

libtiger won't compile (was: pangocairo missing)

Postby isync » 09 Nov 2009 16:42

Building vlc with the contribs system on Debian Etch runs through after a lot of tweaks until I am finally out of wit when libtiger tells me:
checking for KATE... yes
checking for PANGOCAIRO... configure: error: Package requirements (pangocairo >= 0.16) were not met:

No package 'pangocairo' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables PANGOCAIRO_CFLAGS
and PANGOCAIRO_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

make[1]: *** [.tiger] Error 1
make[1]: Leaving directory `/root/vlc/extras/contrib/src'
make: *** [using-src] Error 2
What to do?

UPDATE:
I managed to get through the PangoCairo check (thanks to this compiling vlc post) but now libtiger complains:
...
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for KATE... yes
checking for PANGOCAIRO... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating include/tiger/tiger.h
config.status: creating misc/pkgconfig/tiger.pc
config.status: creating misc/pkgconfig/tiger-uninstalled.pc
config.status: creating doc/tiger.doxygen
config.status: creating include/config.h
config.status: executing depfiles commands
make[2]: Entering directory `/somepath/vlc/extras/contrib/src/libtiger'
Making all in .
make[3]: Entering directory `/somepath/vlc/extras/contrib/src/libtiger'
/bin/sh ./libtool --tag=CC --silent --mode=compile i486-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I ./src -I ./include -I/somepath/vlc/extras/contrib/include -DNDEBUG -isystem /somepath/vlc/extras/contrib/include -Wall -W -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/freetype2 -I/usr/include/libpng12 -I/somepath/vlc/extras/contrib/include -I/somepath/vlc/extras/contrib/include -DNDEBUG -isystem /somepath/vlc/extras/contrib/include -MT src/lib_libtiger_la-tiger.lo -MD -MP -MF src/.deps/lib_libtiger_la-tiger.Tpo -c -o src/lib_libtiger_la-tiger.lo `test -f 'src/tiger.c' || echo './'`src/tiger.c
mv -f src/.deps/lib_libtiger_la-tiger.Tpo src/.deps/lib_libtiger_la-tiger.Plo
/bin/sh ./libtool --tag=CC --silent --mode=compile i486-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I ./src -I ./include -I/somepath/vlc/extras/contrib/include -DNDEBUG -isystem /somepath/vlc/extras/contrib/include -Wall -W -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/freetype2 -I/usr/include/libpng12 -I/somepath/vlc/extras/contrib/include -I/somepath/vlc/extras/contrib/include -DNDEBUG -isystem /somepath/vlc/extras/contrib/include -MT src/lib_libtiger_la-tiger_renderer.lo -MD -MP -MF src/.deps/lib_libtiger_la-tiger_renderer.Tpo -c -o src/lib_libtiger_la-tiger_renderer.lo `test -f 'src/tiger_renderer.c' || echo './'`src/tiger_renderer.c
mv -f src/.deps/lib_libtiger_la-tiger_renderer.Tpo src/.deps/lib_libtiger_la-tiger_renderer.Plo
/bin/sh ./libtool --tag=CC --silent --mode=compile i486-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I ./src -I ./include -I/somepath/vlc/extras/contrib/include -DNDEBUG -isystem /somepath/vlc/extras/contrib/include -Wall -W -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/freetype2 -I/usr/include/libpng12 -I/somepath/vlc/extras/contrib/include -I/somepath/vlc/extras/contrib/include -DNDEBUG -isystem /somepath/vlc/extras/contrib/include -MT src/lib_libtiger_la-tiger_item.lo -MD -MP -MF src/.deps/lib_libtiger_la-tiger_item.Tpo -c -o src/lib_libtiger_la-tiger_item.lo `test -f 'src/tiger_item.c' || echo './'`src/tiger_item.c
src/tiger_item.c: In function 'tiger_item_clip_rectangle':
src/tiger_item.c:167: warning: implicit declaration of function 'cairo_clip_extents'
src/tiger_item.c: In function 'tiger_item_create_shape_attribute_from_bitmap':
src/tiger_item.c:365: warning: passing argument 3 of 'pango_attr_shape_new_with_data' discards qualifiers from pointer target type
src/tiger_item.c: In function 'tiger_item_apply_font_mapping':
src/tiger_item.c:429: warning: implicit declaration of function 'pango_cairo_context_set_shape_renderer'
src/tiger_item.c: In function 'tiger_item_configure_layout':
src/tiger_item.c:861: warning: implicit declaration of function 'pango_context_set_base_gravity'
src/tiger_item.c:861: error: 'PANGO_GRAVITY_AUTO' undeclared (first use in this function)
src/tiger_item.c:861: error: (Each undeclared identifier is reported only once
src/tiger_item.c:861: error: for each function it appears in.)
src/tiger_item.c: In function 'tiger_item_draw_text':
src/tiger_item.c:1158: warning: implicit declaration of function 'pango_layout_iter_get_line_readonly'
src/tiger_item.c:1158: warning: initialization makes pointer from integer without a cast
make[3]: *** [src/lib_libtiger_la-tiger_item.lo] Error 1
make[3]: Leaving directory `/somepath/vlc/extras/contrib/src/libtiger'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/somepath/vlc/extras/contrib/src/libtiger'
make[1]: *** [.tiger] Error 2
make[1]: Leaving directory `/somepath/vlc/extras/contrib/src'
make: *** [using-src] Error 2
Last edited by isync on 09 Nov 2009 22:33, edited 3 times in total.

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: pangocairo missing

Postby thannoy » 09 Nov 2009 17:28

Using your package manager (apt-get or synaptic), search for a package name "pango-devel" or "pango-dev" you have to install.

isync
Blank Cone
Blank Cone
Posts: 23
Joined: 18 Oct 2009 14:22

Re: libtiger won't compile (was: pangocairo missing)

Postby isync » 09 Nov 2009 17:39

Already did that, libtiger tested for "PANGOCAIRO" and died there until I made:
apt-get install libcairo2 libcairo2-dev
apt-get install libpango1.0-0 libpango1.0-dev
Anything wrong with that? See what Etch provides.

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: [unsolved] libtiger won't compile (was: pangocairo missing)

Postby thannoy » 09 Nov 2009 18:18

Do you need to compile contribs when compiling on Linux for the same machine? Maybe you can just compile VLC itself and install required "contribs" using your package manager. i don't use extra/contrib on Linux I think (a while I have not modified by build process).
Have you read Linux-related Developers_Corner wiki pages?

You can also use a bunch of --disable-* when compiling vlc.

isync
Blank Cone
Blank Cone
Posts: 23
Joined: 18 Oct 2009 14:22

Re: [unsolved] libtiger won't compile (was: pangocairo missing)

Postby isync » 09 Nov 2009 18:37

I reserve --disabling as last resort, but would like to get the contribs complete.

No idea how to circumvent the "'PANGO_GRAVITY_AUTO" error (or what triggers it) that breaks my contribs system run?

levity
New Cone
New Cone
Posts: 1
Joined: 23 May 2010 22:33

Re: [unsolved] libtiger won't compile (was: pangocairo missi

Postby levity » 23 May 2010 22:35

I reserve --disabling as last resort, but would like to get the contribs complete.

No idea how to circumvent the "'PANGO_GRAVITY_AUTO" error (or what triggers it) that breaks my contribs system run?
same problem here... has there been a solution ?


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 26 guests