Install guide Broken?

Was following the HOW_TO_CONTRIBUTE.txt guide and hit this: (From Git)
kevin@debian:~$ sudo apt-get install libwxbase2.8-dev libwxgtk2.8-dev libboost-dev fakeroot
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package libwxbase2.8-dev
E: Couldn’t find any package by regex ‘libwxbase2.8-dev’
E: Unable to locate package libwxgtk2.8-dev
E: Couldn’t find any package by regex ‘libwxgtk2.8-dev’

Cure?
sudo apt-get install libwxbase3.0-dev libwxgtk3.0-dev libboost-dev fakeroot
Reading package lists… Done
Building dependency tree
Reading state information… Done
fakeroot is already the newest version.
fakeroot set to manually installed.
The following extra packages will be installed:
libboost1.55-dev wx-common wx3.0-headers
Suggested packages:
libboost-doc libboost1.55-doc libboost-atomic1.55-dev
libboost-chrono1.55-dev libboost-context1.55-dev libboost-coroutine1.55-dev
libboost-date-time1.55-dev libboost-exception1.55-dev
libboost-filesystem1.55-dev libboost-graph1.55-dev
libboost-graph-parallel1.55-dev libboost-iostreams1.55-dev
libboost-locale1.55-dev libboost-log1.55-dev libboost-math1.55-dev
libboost-mpi1.55-dev libboost-mpi-python1.55-dev
libboost-program-options1.55-dev libboost-python1.55-dev
libboost-random1.55-dev libboost-regex1.55-dev
libboost-serialization1.55-dev libboost-signals1.55-dev
libboost-system1.55-dev libboost-test1.55-dev libboost-thread1.55-dev
libboost-timer1.55-dev libboost-wave1.55-dev libboost1.55-tools-dev
libmpfrc+±dev libntl-dev wx3.0-doc
The following NEW packages will be installed:
libboost-dev libboost1.55-dev libwxbase3.0-dev libwxgtk3.0-dev wx-common
wx3.0-headers

Debian Jessie.

More:
– Check for installed GLEW – not found
CMake Error at CMakeModules/CheckFindPackageResult.cmake:6 (message):
GLEW was not found - it is required to build Kicad
Call Stack (most recent call first):
CMakeLists.txt:454 (check_find_package_result)

– Configuring incomplete, errors occurred!
See also “/home/kevin/kicad.my_contrib/build/CMakeFiles/CMakeOutput.log”.

Fix:

kevin@debian:~/kicad.my_contrib/build$ sudo apt-get install libglew-dev
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following NEW packages will be installed:
libglew-dev
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 114 kB of archives.
After this operation, 1,113 kB of additional disk space will be used.
Get:1 http://mirrors.xmission.com/debian/ jessie/main libglew-dev amd64 1.10.0-3 [114 kB]
Fetched 114 kB in 0s (707 kB/s)
Selecting previously unselected package libglew-dev:amd64.
(Reading database … 264524 files and directories currently installed.)
Preparing to unpack …/libglew-dev_1.10.0-3_amd64.deb …
Unpacking libglew-dev:amd64 (1.10.0-3) …
Setting up libglew-dev:amd64 (1.10.0-3) …
kevin@debian:~/kicad.my_contrib/build$

Died:

kevin@debian:~/kicad.my_contrib/build$ cmake …/ -DCMAKE_BUILD_TYPE=Debug
– Kicad install dir: </usr/local>
– Check for installed OpenGL – found
– Found Glew: /usr/lib/x86_64-linux-gnu/libGLEW.so
– Check for installed GLEW – found
– checking for module ‘cairo’
– package ‘cairo’ not found
– Could NOT find CAIRO, try to set the path to CAIRO root folder in the system variable CAIRO (missing: CAIRO_LIBRARIES CAIRO_INCLUDE_DIR)
– Check for installed Cairo – not found
CMake Error at CMakeModules/CheckFindPackageResult.cmake:6 (message):
Cairo was not found - it is required to build Kicad
Call Stack (most recent call first):
CMakeLists.txt:463 (check_find_package_result)

– Configuring incomplete, errors occurred!
See also “/home/kevin/kicad.my_contrib/build/CMakeFiles/CMakeOutput.log”.
kevin@debian:~/kicad.my_contrib/build$

Tried:
kevin@debian:~/kicad.my_contrib/build$ sudo apt-get install libcairo2
Reading package lists… Done
Building dependency tree
Reading state information… Done
libcairo2 is already the newest version.
libcairo2 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

same results - it was already installed.

Could someone take a look at the HOW_TO_CONTRIBUTE file and add what is missing?

Beating this to completion with time isn’t a solution.

Yes, the docs tend to get out of date over time as things are moved around. I’ll ask people to see what other packages are dependencies.

FYI, your cairo issue is probably because you didn’t try to install the cairo headers (the -dev version of the package). You’ll also need GLM > 0.94 I believe which is a pretty recent dependency.

Was directed to http://ci.kicad.org/job/kicad-doxygen/ws/Documentation/doxygen/html/md_Documentation_development_compiling.html by Launchpad folks, found another post listing the dependencies -> bzr bzrtools build-essential cmake cmake-curses-gui debhelper doxygen dpatch libx11-dev grep libbz2-dev libcairo2-dev libglew-dev libglm-dev libssl-dev libwxgtk3.0-dev python-dev python-wxgtk3.0-dev swig libglu1-mesa-dev libgl1-mesa-dev mesa-common-dev libboost-dev fakeroot
libcairo2-dev fixed the Cairo errors but I didn’t fix the cmake script I’d altered while trouble shooting. I tracked that down and now I’m dying at 46% :

Linking CXX shared module _cvpcb.kiface
/usr/bin/ld: …/…/…/boost_root/lib/libboost_filesystem.a(path.o): relocation R_X86_64_32S against `_ZNSs4_Rep20_S_empty_rep_storageE’ can not be used when making a shared object; recompile with -fPIC
…/…/…/boost_root/lib/libboost_filesystem.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
cvpcb/CMakeFiles/cvpcb_kiface.dir/build.make:762: recipe for target ‘cvpcb/_cvpc b.kiface’ failed
make[2]: *** [cvpcb/_cvpcb.kiface] Error 1
CMakeFiles/Makefile2:840: recipe for target ‘cvpcb/CMakeFiles/cvpcb_kiface.dir/a ll’ failed
make[1]: *** [cvpcb/CMakeFiles/cvpcb_kiface.dir/all] Error 2
Makefile:137: recipe for target ‘all’ failed
make: *** [all] Error 2
kevin@debian:~/kicad.my_contrib/build/release$

Darn, I forgot to mention: use the flag -DKICAD_SKIP_BOOST=On when you run cmake.

The whole compiling boost thing is really hairy and is just a couple of days from being removed entirely.