I installed GTK with brew install gtk+ since I need to compile it xchat from the source code on my Mac. When I try to install it hard, it says Cannot find GTK! Not building GTK FrontEnd. Cannot find GTK! Not building GTK FrontEnd. I suspect that I had to update the environment variables after installing gtk +, but I do not know how to do this.
iMac:xchat-2.8.8 Domenico$ brew info gtk+ gtk+: stable 2.24.20 http://gtk.org/ /usr/local/Cellar/gtk+/2.24.20 (1184 files, 52M) * // here is the path!!! Built from source From: https://github.com/mxcl/homebrew/commits/master/Library/Formula/gtk+.rb ==> Dependencies Build: pkg-config, xz Required: glib, jpeg, libtiff, gdk-pixbuf, pango, atk, cairo Optional: jasper ==> Options --with-jasper Build with jasper support
The path is indicated in the code above. I tried adding all things related to it (e.g. /usr/local/Cellar/gtk+/2.24.20/bin or /usr/local/Cellar ) to $LD_LIBRARY_PATH , but this did not work. Any ideas?
source share