more verbose errors for kicad installer on Fedora

This commit is contained in:
Cyryl Plotnicki-Chudyk 2015-02-09 13:47:00 +01:00
parent af63fb6417
commit ddac80fd2e

View file

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
set -e
bzr launchpad-login "saipeloan" bzr launchpad-login "saipeloan"
bzr whoami "Cyryl Plotnicki-Chudyk <bzr@cyplo.net>" bzr whoami "Cyryl Plotnicki-Chudyk <bzr@cyplo.net>"
@ -16,17 +18,21 @@ bzr checkout lp:kicad kicad.bzr
cd kicad.bzr cd kicad.bzr
mkdir build mkdir build
cd build cd build
echo "compiling...."
cmake -DKICAD_STABLE_VERSION=ON ../ cmake -DKICAD_STABLE_VERSION=ON ../
make clean make clean
make -j8 make -j8
echo "installing..."
sudo make install sudo make install
# install component libraries # install component libraries
cd ~/build/kicad cd ~/build/kicad
echo "checking out libraries..."
bzr checkout lp:~kicad-product-committers/kicad/library kicad-library.bzr bzr checkout lp:~kicad-product-committers/kicad/library kicad-library.bzr
cd kicad-library.bzr cd kicad-library.bzr
mkdir build mkdir build
cd build/ cd build/
echo "installing libraries"
cmake ../ cmake ../
sudo make install sudo make install