27 May 2011 15:05
[PATCH] fix 'checking for GTK - version >= 0.99.7'
Michael Haubenwallner <haubi <at> gentoo.org>
2011-05-27 13:05:06 GMT
2011-05-27 13:05:06 GMT
Hello! Having gtk-2.22.1 here, and a wrapper script 'gtk-config' to emulate the gtk-1 script: #!/bin/sh exec pkg-config gtk+-2.0 $(printf "%s" "$*" | sed s:--version:--modversion:) This basically allows to build mico with gtk support even with gtk-2. However, "checking for GTK version >= 0.99.7" fails here with recent gcc due to bugs in the check: > checking for gtk-config... /var/tmp/portage/net-misc/mico-9999/work/helpers/gtk-config > checking for GTK - version >= 0.99.7... no > *** Could not run GTK test program, checking why... > *** The test program compiled, but did not run. This usually means > *** that the run-time linker is not finding GTK or finding the wrong > *** version of GTK. If it is not finding GTK, you'll need to set your > *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point > *** to the installed location Also, make sure you have run ldconfig if that > *** is required on your system > *** > *** If you have an old version installed, it is best to remove it, although > *** you may also be able to get things to work by modifying LD_LIBRARY_PATH > *** > *** If you have a RedHat 5.0 system, you should remove the GTK package that > *** came with the system with the command > *** > *** rpm --erase --nodeps gtk gtk-devel > configure: WARNING: cannot find gtk-config. GTK parts disabled And in config.log:(Continue reading)
RSS Feed