<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On Dec 30, 2006, at 3:54 AM, Christer Sandvik wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I have the git repository of xcb-util but how should I adept it to OSX to make it work in the compile? Anyone working OSX?</DIV></BLOCKQUOTE></DIV><BR><DIV>For OS X, you need to install the OS X development tools, which might be on a different CD. Then you also need to upgrade automake to version 1.7 or newer, and install pkgconfig. Also, libtoolize on OS X is named "glibtoolize", so you need to "export LIBTOOLIZE=glibtoolize" before running automake.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Read the XCB developers page at <A href="http://xcb.freedesktop.org/wiki/DevelopersGuide">http://xcb.freedesktop.org/wiki/DevelopersGuide</A></DIV><DIV>This will direct you to first read <A href="http://xorg.freedesktop.org/wiki/ModularDevelopersGuide">http://xorg.freedesktop.org/wiki/ModularDevelopersGuide</A></DIV><DIV>Especially note settings for <FONT class="Apple-style-span" face="Courier" size="4"><SPAN class="Apple-style-span" style="font-size: 14px;">PKG_CONFIG_PATH </SPAN></FONT>and <FONT class="Apple-style-span" face="Courier" size="4"><SPAN class="Apple-style-span" style="font-size: 14px;">ACLOCAL</SPAN></FONT>.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>You've already installed git and downloaded xcb-util. To build the libraries or any other autotooled module directly from the repository, you start by changing to the root directory (cd xcb/util) and running ./autogen.sh. This will detect your system (Darwin) automatically and generate makefiles for all modules and submodules. When it completes, you can run "make" to make the libraries and "make install" to install them, as if you had downloaded tarballs.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Ian</DIV></BODY></HTML>