> On May 29, 2017, at 9:04 PM, Chris Angelico <[email protected]> wrote:
> 
> Just managed to borrow someone to do some testing for me on a Mac, and
> here's what we found:
> 
> 1) Homebrew is pouring bottles of Pike 7.8.866. I would very much like
> to change that at some point, but have no idea what that entails. How
> do you bottle a formula?

They run a CI build that has been failing because of conflicts between native 
OS X GL and X11 GL. I’ve been trying to get 8.0 to compile properly under 
homebrew; I think I’ve got everything checked in now, so the next 8.0 release 
should be accepted into Homebrew. I suspect I did the last 7.8 release before 
they set that up, as the same problem exists there. Once the new 8.0 “formula” 
is checked into homebred-core, they will do a build and prepare a binary 
“bottle”.

> 2) Building Pike from source crashes out checking if rusage.c works in
> CONFIGURE_TEST mode.
> 
> 3) rusage.h was not found. I don't know if that's significant.
> 
> Testing was done with the latest in the 8.1 branch, commit 3cc5d04.
> I've successfully run a clean build of that same commit on my Linux
> box, so it's not a critically broken commit or anything.

Yes, I’ve got a few OS X clients running pike farm and there was a commit a few 
days ago that broke things on OS X and a bunch of other platforms. I think the 
problem is in the “POSIX source” commit.


> Sadly, I don't have a Mac to do any testing on, so I can't actually
> probe this at all. What's the recommended way to install (a) a recent
> stable Pike, and (b) the latest dev Pike, on a Mac?

I did a recent stable pike binary installer [1], but it doesn’t have GTK 
support. I put together detailed notes[2] for doing this; most of that effort 
related to having static libs so that there are no external dependencies. 

Aside from the recent commit that broke the dev build, pike builds without any 
real issues on OSX. You just have to install either Xcode or the Xcode command 
line tools, and any dependencies such as nettle, gmp, etc… if you’re not 
distributing the builds, homebrew works well for getting these without any 
effort.

> I much appreciate the work being put into this. Pike + GTK2 should
> mean we can do cross-platform GUIs easily... but it's not an easy
> thing to accomplish.

Yes,I’m pleased to see that the GTK port on OS X finally works without X11.  
Another option perhaps worth considering is WX… there was a module for that a 
while back. The only problem is that cross platform UIs always seem a bit… 
wonky. The last cross platform app I built had a GTK ui on X11 and a native UI 
on OS X (via an objective-c bridge I built). A lot of work that may not have 
been worth the effort. 

> 
> ChrisA

[1] Pike-v8.0.404-Darwin-14.5.0-x86_64 
<http://bill.welliver.org/dist/pike/Pike-v8.0.404-Darwin-14.5.0-x86_64>
[2] Ask me for this, I haven’t had time to post them somewhere

Reply via email to