Hi guys,
Some updated notes on this, as it has gotten more involved
since last I sent this, to add pmwebd into the mix...
----- Original Message -----
> Hi Ken,
>
> Just some notes from recent build updates I found I needed for
> Mac OS X. Previously Makepkgs failed, configure failed, then
> the libpcp build check-statics failed - these are fixed up now.
>
> We'll permanently need the following additions to a stock Mac
> install, for building on OS X:
>
> - XCode (as always, needs an Apple developer ID now too)
> - Auxillary Tools for XCode (for packagemaker)
> - MacPorts.org (now needed for pkg-config, gnutar)
> - Qt (install and set QTDIR, as before)
>
> Not sure if there's a spot we keep these kinds of notes? It
> doesn't look like INSTALL is the right place, that's more end-
> user focussed.
>
Start with these instructions as a base:
http://cairographics.org/end_to_end_build_for_mac_os_x
In particular, ignore the pkg-config from 3rd bullet point above,
and add to the set in the above URLs list of needed tarballs:
curl -o microhttpd.tgz \
ftp://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.42.tar.gz
I've been then simply removing the dylibs to force a static library
build using the .a files ... this should be cleaned up too I guess,
and we should start using the install_name_tool Frameworks approach
(we do this for Qt libraries - see src/include/builddefs.in)
It'd also be nice to have a cleanly documented build like the cairo
page above, if anyone's keen to do that?
cheers.
--
Nathan
|