I got errors when i try to build from source. I had no errors by cmake. I take this guide:
https://kicad.org/contribute/build-linux/
Linking CXX shared module _cvpcb.kiface
/usr/bin/ld: /home/xxx/build/kicad/kicad.bzr/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
/home/xxx/build/kicad/kicad.bzr/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/_cvpcb.kiface' failed
make[2]: *** [cvpcb/_cvpcb.kiface] Error 1
CMakeFiles/Makefile2:840: recipe for target 'cvpcb/CMakeFiles/cvpcb_kiface.dir/all' failed
make[1]: *** [cvpcb/CMakeFiles/cvpcb_kiface.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2
Don’t know whether it is a bug or missing dependency.