Building gtk2 and linking against glib

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

 



Hi all,

I am currently writing a package manager that builds from source (for
purposes of cross-compilation). I am trying to get gtk2 to build.
Currently it is failing on gtk2's configure step because I am trying to
link against a locally installed version of glib, viz.

checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  af am ang ar as ast az az_IR
be be@latin bg bn bn_IN br bs ca ca@valencia crh cs cy da de dz el en_CA
en_GB eo es et eu fa fi fr ga gl gu he hi hr hu hy ia id io is it ja ka
kk kn ko ku li lt lv mai mi mk ml mn mr ms my nb nds ne nl nn nso oc or
pa pl ps pt pt_BR ro ru rw si sk sl sq sr sr@latin sr@ije sv ta te th tk
tr tt ug uk ur uz uz@cyrillic 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... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.28.0...
*** 'pkg-config --modversion glib-2.0' returned 2.58.1, but GLIB (2.56.3)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error:
*** GLIB 2.28.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/pub/gtk/.


I have GLIB 2.58.1 installed locally and GLIB 2.56.3 installed via my
distro. Is there any nice flag I can pass to the configure script to
make it ignore the error and prefer the locally installed library?

Cheers,
Vanessa McHale


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux