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.