I have  been using kicad-install.sh script to install kicad in a few of  
Ubuntu-14.04, and have found the script needs more error hadnling.  Here are 
some areas:

1.  install_prerequisites()This function is using a single command "apt-get 
install" for ALL of the software packages.  It would work smoothly if ALL of 
the packages were available.  Unfurtunately, in the Ubuntu 14.04 case, 
python-wxgtk3.0 is not yet available and the command will fail for ALL of the 
packages.  Thus libwxgtk3.0-dev will not be installed at all (which will cause 
another error that needs an improved error handling.  See #2).
Suggestion:  Change to use a local loop to install each of the packages so that 
command "apt-get install" fails only for a single package, thus avoiding 
failing for ALL.
2.  CMake check listWhen libwxgtk3.0-dev is not installed, due to the faillure 
in #1 aboe, the CMake check part stops short during compiling, but 
kicad-install.sh does not detect this failed compiling and just continue to 
install or copy parts files and doc files into the destnated directory.  At the 
end, it seems all install succeeded.  But there is NO "kicad" binary installed 
at all, much less of the rest of the binaries.  This situation has caused 
confussions to me a few times already.

Suggestion:  Add a error detection inside "kicad-install.sh" so that when 
compiling fails the script stop installing and print out an error.  This would 
help a user to investigate a root cause.
--Joe Chen

 
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to