diff --git a/common/install_kicad_from_sources b/common/install_kicad_from_sources index 5730cc98..17a494d4 100755 --- a/common/install_kicad_from_sources +++ b/common/install_kicad_from_sources @@ -1,5 +1,7 @@ #!/bin/bash +set -e + bzr launchpad-login "saipeloan" bzr whoami "Cyryl Plotnicki-Chudyk " @@ -16,17 +18,21 @@ bzr checkout lp:kicad kicad.bzr cd kicad.bzr mkdir build cd build +echo "compiling...." cmake -DKICAD_STABLE_VERSION=ON ../ make clean make -j8 +echo "installing..." sudo make install # install component libraries cd ~/build/kicad +echo "checking out libraries..." bzr checkout lp:~kicad-product-committers/kicad/library kicad-library.bzr cd kicad-library.bzr mkdir build cd build/ +echo "installing libraries" cmake ../ sudo make install diff --git a/fedora/install_kicad_fedora.sh b/fedora/install_kicad_fedora.sh index 7c5e8679..de9083c7 100755 --- a/fedora/install_kicad_fedora.sh +++ b/fedora/install_kicad_fedora.sh @@ -1,5 +1,6 @@ #!/bin/bash sudo yum groupinstall "C Development Tools and Libraries" sudo yum install bzr bzrtools cmake GLC_lib-devel glew-devel cairo-devel bzip2-devel wxGTK-devel openssl-devel doxygen patch -./install_kicad.sh +../common/install_kicad_from_sources +