I've always just installed swig using homebrew, they have a pretty simple ruby file which just calls make. Might want to take a look at it and see if that helps.
Has anybody had any success building a portable version of SWIG for the Mac?I've already got swigwin embedded directly in my source tree, and would like to investigate the possibility of doing something similar for the Mac -- it would help ensure consistency between the platforms for this project by ensuring the SWIG versions were always synced up. Basically thinking something along the same lines as freezing Ruby gems into a distributed project...
I know how to get SWIG building and installing to a given prefix, but the Mac is a little more finicky about absolute filepaths and system headers. If anyone else has attempted this, has a makefile at the ready, etc., any guidance would be appreciated.
(Also, if this is a terribly catastrophic idea for reasons I am not considering, reasonable scolding with brief explanations would also be appreciated. :) )