Re: trying to build some pango code



.. and that answer saved me from getting more and more frustrated this
sunday! Thanks!

For the next one, and for the search engines, this is what I used to
install rrdtool:
./configure CPPFLAGS="$(pkg-config --cflags pango pangocairo pangoft2
pangox)" LDFLAGS="$(pkg-config --libs pango pangocairo pangoft2
pangox)"

make told me I needed libexpat, but that's available on the slackware
packages page, so I installed that, and make && make install ran
perfectly.

Thank you, very much!

Henk te Sligte

2008/11/30 Wouter Bolsterlee <uws xs4all nl>:
> Hi Henk,
>
> 2008-11-30 klockan 14:21 skrev Henk te Sligte:
>> I bet it has something to do with the linker.. but what do I need to
>> specify the right linker flag for pango?
>
> Use the pkg-config files:
>
>  $ pkg-config --cflags pango
>  -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
>
>  $ pkg-config --libs pango
>  -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
>
> I.e. try something like this:
>
>  $ gcc $(pkg-config --cflags pango) ...
>
> Note that there's not only a pango pkg-config file, also one for pangocairo,
> pangoft2, pangox, and pangoxft. You should add those as well depending on
> what is used by your application.
>
> — Wouter
>
> --
> :wq                                                       mail uws xs4all nl
>                                                      web http://uwstopia.nl
>
> if it gets you down · well just don't blame me     — queens of the stone age
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: This message was signed/encrypted using GnuPG.
>
> iD8DBQFJMpSGP7QTTiUKY+sRAny2AKC35026afdVLOrCAAGavwW9rne6+QCeIQVE
> z5hti3BaWCB5GyrzhjLAAAk=
> =DhSB
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> gtk-i18n-list mailing list
> gtk-i18n-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-i18n-list
>
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]