Want to know more about installing gtk
Submitted by yogi on Mon, 2007-04-23 09:32.
following are the steps i followed to install gtk on mac
Copied gtk-osx-build script,Makefile and install-check.c in gtk-build folder.
cd ~/gtk-build
make install (as root user)
gtk-osx-build bootstrap
it gives "bash:gtk-osx-build:command not found"

Hi, You do not need to be
Hi,
You do not need to be root to run/install the build script, it's most of the time better to build as your normal user. Just make sure that the directory you are installing into (/opt/gtk by default) is writable to by your user, for example by making it owned by your user.
The error message you get above just means that your ~/bin is not in your path. Either add it, or point directly to the script, like this:
/gtk-osx-build bootstrap
Hope that helps.
got error while executing
got error while executing ./gtk-osx-build bootstrap command
Building bootstrap packages.
Building libtool-1.5.22
curl: (7) couldn't connect to host
that probably means the
that probably means the servers that host libtool are down. just wait until they get back up
if it really doesn't get fixed, perhaps then another mirror could be used
While executing following
While executing following command "./gtk-osx-build build all" got following message
Building cairo
Initialized empty Git repository in /var/root/Source/gtk/cairo/.git/
fatal: unable to connect a socket (Connection refused)
fetch-pack from 'git://git.cairographics.org/git/cairo' failed.
Which version of git do you
Which version of git do you have? Is it possible that you have a bad network connection? Do you get that error every time, or only once?
earlier it use to give same
earlier it use to give same error.
then i installed git-core-0.99.9i.
now when i give "./gtk-osx-build build core" command it gives following message.
Building core modules.
Building cairo
fatal: Needed a single revision
Pulling into a black hole?
Git-core 0.99 is very old. I
Git-core 0.99 is very old. I am using 1.5.0.5, but 1.4 and forward should work fine.
installed git 1.5.0.5 But
installed git 1.5.0.5
But when i do ./gtk-osx-build core, i get following message.
Building core modules.
Building cairo
fatal: 'origin': unable to chdir or not a git archive
fatal: The remote end hung up unexpectedly
Cannot get the repository state from origin
Do you have an old cairo
Do you have an old cairo source dir that is "in the way"? Try removing that if so.
Removed old cairo source dir
Removed old cairo source dir .
While executing following command "./gtk-osx-build build all" got following message everytime
Building cairo
Initialized empty Git repository in /var/root/Source/gtk/cairo/.git/
fatal: unable to connect a socket (Connection refused)
fetch-pack from 'git://git.cairographics.org/git/cairo' failed.
Are you behind a proxy? If
Are you behind a proxy? If so, you could try this:
export http_proxy="http://proxyhost/"
git clone git://git.cairographics.org/git/cairo
where proxyhost is the hostname for the proxy. Or for example username:password@host:port if you need more settings for the proxy.
i tried the above mentioned
i tried the above mentioned approach,it didnt work.
So i downloaded all modules from the http link and changed the file path from "http://.. to file:///...".
It worked for all modules till gtk+.It gave following error.
/bin/sh: line 1: glib-mkenums: command not found
make[1]: *** [gtktypebuiltins.c] Error 127
make: *** [install-recursive] Error 1
Exactly how did you try to
Exactly how did you try to build? Still using the build script? Otherwise you have to enter the build shell if you are trying to build things manually, for example:
gtk-osx-build
./autogen.sh --prefix=/opt/gtk
make && make install
etc...
Are you or are you not
Are you or are you not behind a proxy? It's interesting to know in order to try and figure out why git isn't working for you.
Got following error while
Got following error while installing gossip.
/usr/bin/ld: Undefined symbols:
_gnome_sound_shutdown
collect2: ld returned 1 exit status
make[4]: *** [gossip] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Gossip is only included as a
Gossip is only included as a test case so if you don't need/want to use Gossip there is no point in building it. If you only want GKT+, do
gtk-osx-build build core
not "build all".
Regarding the cairo/git/proxy problems, I have today added a way to workaround that, e.g.:
USE_CAIRO_TARBALL=1 gtk-osx-build build cairo
*removed spam masked as a
*removed spam masked as a question*