pcp
[Top] [All Lists]

Re: Mac OS X builds

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>, Michele Baldessari <michele@xxxxxxxxxx>
Subject: Re: Mac OS X builds
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri, 15 May 2015 03:04:39 -0400 (EDT)
Cc: pcp <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <851000231.18273995.1429014509380.JavaMail.zimbra@xxxxxxxxxx>
References: <851000231.18273995.1429014509380.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: pZHnTlWJUvyMyS0mR5UjCp8mp491K1vQFT9h
Thread-topic: Mac OS X builds
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

<Prev in Thread] Current Thread [Next in Thread>
  • Re: Mac OS X builds, Nathan Scott <=