In my last post I showed how to get openCV 3 up and running under OSX Mavericks.
After playing with the GUI-Features in Python I settled to use GTK for my project. As it turns out, there is a project called gtk+ or gtk-osx which will allow you to bundle an App that runs on OSX without the need to have X11 installed.
Great! I thought, everything went fine, building gtk-osx with python 2.7, building ffmpeg with all its GPL codecs, even building gfortran, which is needed to build scipy was a piece of cake after realizing, that you need to link in gmp, cpfr, cpm, isl, and cloog symbolicly into the source directory of gcc - otherwise it will just crash while making bootstrap. TBB and Eigen3 also built straight forward.
But then I tried scipy. Numpy was there, gfortran was there, all other prerequisites that could have been neccessary were there, but it simply refused to build. Scipy is not a real dependency for openCV, but it is a very useful math lib, so it is kind of a dependency for me to have fun.
Google did not help me a lot here, but in the end I got it built doing the following:
In the jhbuild shell environment I first set my PYTHONPATH to only consist of my local gtk+ python.