← Back to team overview

kicad-developers team mailing list archive

Re: strange behaviour with the ./kicad-install.sh --install-or-update

 

Edwin,
Check line 41 in your kicad-install.sh file. It should be "REVISION=$STABLE” and STABLE should equal 5054 on line 37.
Previous versions of the kicad-install.sh script set STABLE equal to 4756. However, the kicad-install.sh file in revision 4756 had REVISION equal to TESTING or last:1.
So, the result was that the first time you ran the script you built revision 4756. But, since the kicad-install.sh file was updated as part of the install when you ran again it would update to the latest revision. Each time you ran the script it would go back and forth.
What I do is copy the kicad-install.sh file out of the source tree. That way I can pick and choose the updates for either the stable revision to do work or the testing revision to track what the developers are working on. Michael

On Aug 5, 2014, at 5:44 AM, Edwin van den Oetelaar <edwin@xxxxxxxxxxxx> wrote:

> I try to run this script everytime I see a commit on the project.
> After building I have an installed latest version of KiCad.
> 
> But when I run the script again :
> 
> Something very strange happens, it does not update, but it rolls back to an old version :
> 
> Application: KiCad
> Version: (2014-03-19 BZR 4756)-product Release build
> wxWidgets: Version 3.0.1 (debug,wchar_t,compiler with C++ ABI 1002,GCC 4.8.1,wx containers,compatible with 2.8)
> Platform: Linux 3.11.0-26-generic x86_64, 64 bit, Little endian, wxGTK
> Boost version: 1.54.0
>          USE_WX_GRAPHICS_CONTEXT=OFF
>          USE_WX_OVERLAY=OFF
>          KICAD_SCRIPTING=OFF
>          KICAD_SCRIPTING_MODULES=OFF
>          KICAD_SCRIPTING_WXPYTHON=OFF
>          USE_FP_LIB_TABLE=HARD_CODED_ON
>          BUILD_GITHUB_PLUGIN=ON
> 
> 
> The I run the script again and my installed version changes to the latest again:
> 
> Application: kicad
> Version: (2014-08-05 BZR 5054)-product Release build
> wxWidgets: Version 3.0.1 (debug,wchar_t,compiler with C++ ABI 1002,GCC 4.8.1,wx containers,compatible with 2.8)
> Platform: Linux 3.11.0-26-generic x86_64, 64 bit, Little endian, wxGTK
> Boost version: 1.54.0
>          USE_WX_GRAPHICS_CONTEXT=OFF
>          USE_WX_OVERLAY=OFF
>          KICAD_SCRIPTING=OFF
>          KICAD_SCRIPTING_MODULES=OFF
>          KICAD_SCRIPTING_WXPYTHON=OFF
>          USE_FP_LIB_TABLE=HARD_CODED_ON
>          BUILD_GITHUB_PLUGIN=ON
> 
> Notes :
> I have tested this on 2 different PC's of Linux Ubuntu machines.
> Linux i7-ssd-pc 3.13.0-32-generic #57~precise1-Ubuntu SMP Tue Jul 15 03:51:20 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
> Ubuntu 12.04.4 LTS
> 
> and
> Linux ubuntu 3.11.0-26-generic #45-Ubuntu SMP Tue Jul 15 04:02:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
> Ubuntu 13.10
> 
> Thanks for working on this software, I really love the new P&S functions
> Greetings,
> Edwin van den Oetelaar
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp


References