I'm running Debian Squeeze which ships with Boost 1.6.2. On the KiCAD source page it says:
KiCad 4.0.5 cannot be compiled with boost 1.61 and higher since the latter requires C++11. If you insist to use boost 1.61 and higher, you can apply this patch manually and compile with a C++11 capable compiler and its appropriate compiler switches.
I have KiCAD version 4.0.5 on all my other machines and would like to bring this one up to date. Unfortunately I'm not sufficiently up on C++ compiler stuff to know what do to accomplish "compile with a C++11 capable compiler and its appropriate compiler switches." I've applied the patch with
patch -p1 < boost-1.61.patch
but not sure where to go from here.
If I run configure and make, make fails with
pcbnew/github/CMakeFiles/github_plugin.dir/build.make:62: recipe for target
make: *** [pcbnew/github/CMakeFiles/github_plugin.dir/github_plugin.cpp.o] Error 1
CMakeFiles/Makefile2:1763: recipe for target 'pcbnew/github/CMakeFiles/github_plugin.dir/all' failed
make: *** [pcbnew/github/CMakeFiles/github_plugin.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
Not sure what the actual error associated with that is, but there's lots of warnings to do with boost headers, mainly deprecated autoptrs. There are actual errors associated with some SSL stuff, which I've attached in a separate file, since there's quite a lot of them. kicad-build-errors (34.7 KB)
Can someone provide advice on how I correctly compile from source on my system?