I had to use the following command to build:
cmake -DSWIG_EXECUTABLE=/usr/bin/swig ..
otherwise i got the following error:
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR)
Call Stack (most recent call first):
According to my local CMake installation, /usr/share/cmake-2.8/Modules/FindSWIG.cmake includes the following line at the top:
Could it be that your $PATH is set so that /usr/bin/ is not included when you run cmake? I'm not running Debian, but Ubuntu here - the version of Swig I have installed is 1.3.40-3ubuntu1 and the version of CMake is 2.8.3-1~maverick1 - which versions do you have installed?
/usr/bin/swig is accessible via my $PATH
That's strange. Do you have any suggestion on how to make it work on your installation as well without the need for the additional -D parameter? If not, would a documentation of this in the README file be helpful, and be enough to close this issue?
Adding this to the documentation will be sufficient. If i find a solution i'll let you know.
Added this to the README file in the repo. Closing now, but feel free to reopen when you have found a solution, so I can integrate the solution. Thanks!