How to build bazaar on Mac OS X
You need to install the following packages before installing bazaar: diffutils, gettext neon expat.
Here's a copy/paste was to install all the stuff in /usr/local:
curl -O http://belnet.dl.sourceforge.net/sourceforge/expat/expat-1.95.8.tar.gz gnutar xfz expat-1.95.8.tar.gz cd expat-1.95.8 sudo ./configure --prefix=/usr/local sudo make install cd .. curl -O http://www.webdav.org/neon/neon-0.24.7.tar.gz gnutar xfz neon-0.24.7.tar.gz cd neon-0.24.7 sudo ./configure --with-ssl --enable-netrc --with-expat --enable-shared --prefix=/usr/local sudo make install cd .. curl -O http://ftp.gnu.org/gnu/gettext/gettext-0.14.1.tar.gz gnutar xfz gettext-0.14.1.tar.gz cd gettext-0.14.1 sudo ./configure --prefix=/usr/local sudo make install cd .. curl -O http://ftp.gnu.org/gnu/diffutils/diffutils-2.8.1.tar.gz gnutar xfz diffutils-2.8.1.tar.gz cd diffutils-2.8.1 sudo ./configure --prefix=/usr/local sudo make install cd ..
Now download and install bazaar. As this is still experimental software, we grab a new export from the source directory. So if below link 404s out, look for a newer release in the source directory:
# possibly gone, at the time you're looking curl -O http://bazaar.canonical.com/packages/src/bazaar_1.1-~200501081143.tar.gz
Now apply the magic Mulle patch and make.
# currently this patch is needed. It adds -lintl -lneon -lcrypto -lssl -lexpat to the list of linked libraries curl -O /software/bazaar/patch-bazaar-1.1-nat.gz gnutar xfz bazaar_1.1-~200501081143.tar.gz cd thelove\@canonical.com---bazaar--devo--1.1/ cd src cd baz gzip -d -c ../../../patch-bazaar-1.1-nat.gz | patch -p1 cd .. mkdir =build cd =build # for sh and bash this works PATH="$PATH:/usr/local/bin" sudo ../configure --prefix=/usr/local --with-gnu-diff /usr/local/bin/diff --with-gnu-diff3 /usr/local/bin/diff3 sudo make install cd ..