[MINC-development] OS X

Steve ROBBINS minc-development@bic.mni.mcgill.ca
Thu, 27 Feb 2003 18:36:27 -0500


On Thu, Feb 27, 2003 at 05:55:29PM -0500, Vicka Corey wrote:
> and replying to myself....
> > I'm building minc and its friends under OS X, as part of doing the
> > Freesurfer port to OS X.  I got minc 1.0 working awhile ago, but 
> > since I'm going to try to write some patches, I thought I would get
> > 1.1 and build that.  
> > 
> > 1. It's not happy out of the box; I'm slogging through configure and 
> >    the Makefile.  But as long as I'm asking, anyone here have any tips?
> 
> Actually minc 1.1 per se seems to have compiled fine.

Good!

I made notes for myself while building our stuff for Mac OSX.  This was
done a while ago and the notes are extremely terse, but you're welcome
to have a look

  http://www.bic.mni.mcgill.ca/~stever/Software/RelNotes/MacOSX/

If you run into further snags, do post them here.


>  For the record,
> I was getting some problems from mni_autoreg-0.98j.  The configure script
> complained that it couldn't get the host, so I offered it a bogon 
> (--host=Darwin),

The problem with the configure script is known.  Your solution will work
sometimes, but the better solution is to update config.sub and config.guess
before running configure.  I have sufficiently-modern versions on my web page
(URL above) that you can just drop into the source directory after unpacking.


> and I symlinked the obscurely-placed system malloc.h
> to /usr/lib to get the make to work.

Ah.  The code should be fixed so that malloc.h is not needed,
actually.  Thanks for noting that.

-S