← Back to team overview

kicad-developers team mailing list archive

Re: Install KiCad on non Ubuntu distros - best way?

 

Mat,
thanks a lot, this solved the problem:

sudo apt-get install bzrtools

I will update the website install instructions to reflect this change

cheers
Fabrizio

On Tue, Jul 2, 2013 at 10:17 PM, Matthew Beckler
<matthew.beckler@xxxxxxxxx> wrote:
> Hi Fabrizio,
>
> I actually just ran into this "unknown command 'patch'" error with BZR on
> Ubuntu last week. I believe you need to install the bzrtools package, and
> that will add the "patch" command to your BZR.
>
> http://packages.debian.org/search?searchon=names&keywords=bzrtools
>
> Good luck,
> Matthew Beckler
> Wayne and Layne, LLC
>
>
> On Tue, Jul 2, 2013 at 4:13 PM, Fabrizio Tappero
> <fabrizio.tappero@xxxxxxxxx> wrote:
>>
>> Actually following the instructions from here:
>>
>> http://baby.bedroom.gen.nz/~clive/kicad-re/tutorial/kicad-mainline-debian-install.php
>>
>> I do not seem to be able to compile KiCad on a Debian 7, 64 bit
>> machine. Error here:
>>
>> $ sudo make -j 4
>> Scanning dependencies of target boost
>> Scanning dependencies of target potrace
>> [  0%] Performing patch step for 'boost'
>> [  0%] [  0%] Building CXX object
>> potrace/CMakeFiles/potrace.dir/bitmap_io.cpp.o
>> Building CXX object potrace/CMakeFiles/potrace.dir/curve.cpp.o
>> Scanning dependencies of target bitmaps
>> [  0%] bzr: ERROR: unknown command "patch"
>> Building CXX object potrace/CMakeFiles/potrace.dir/decompose.cpp.o
>> make[2]: ***
>> [../.downloads-by-cmake/boost_1_53_0/src/boost-stamp/boost-patch]
>> Error 3
>> make[1]: *** [CMakeFiles/boost.dir/all] Error 2
>> make[1]: *** Waiting for unfinished jobs....
>> [  1%] Building CXX object potrace/CMakeFiles/potrace.dir/greymap.cpp.o
>>
>>
>> Google does not help much with "bzr: ERROR: unknown command "patch""
>>
>> Any idea?
>>
>> thanks
>> Fabrizio
>>
>> On Tue, Jul 2, 2013 at 9:02 PM, Fabrizio Tappero
>> <fabrizio.tappero@xxxxxxxxx> wrote:
>> > Hi there,
>> > well, I see appox 1GB installed in dependencies and needed sw for
>> > build kicad, I see 120 MB of some other downloded stuff then i see 183
>> > MB of KiCad repo. All this took maybe 30 min or so. The build/install
>> > process is not sure, 5 min (wild guess).
>> >
>> > I update the make part.
>> >
>> > cheers
>> > Fabrizio
>> >
>> > On Tue, Jul 2, 2013 at 8:11 PM, Dick Hollenbeck <dick@xxxxxxxxxxx>
>> > wrote:
>> >> On 07/02/2013 12:48 PM, Fabrizio Tappero wrote:
>> >>> Hello,
>> >>> I have updated the instructions to install KiCad on Debian and other
>> >>> distros...
>> >>> http://www.kicad-pcb.org/display/KICAD/KiCad+EDA+Software+Suite
>> >>
>> >> Quoting from the site:
>> >>
>> >> "
>> >> That is it. You now have the latest version of KiCad. If, at any time,
>> >> you want to update
>> >> your version of KiCad you do the following:
>> >>
>> >> cd /opt/kicad.bzr
>> >> bzr update
>> >> cd build
>> >> rm -rf *
>> >> cmake ../
>> >> make
>> >> sudo make install
>> >> "
>> >>
>> >>
>> >>
>> >> Fabrizio,
>> >>
>> >> I think the update procedure is not correct.  If you do "rm -rf *" then
>> >> your
>> >> CMakeCache.txt file is gone, and the line
>> >>
>> >> cmake ../
>> >>
>> >> becomes insufficient.
>> >>
>> >> I would replace these two lines which I mention, with one line:
>> >>
>> >> make clean
>> >>
>> >> which is followed by
>> >> make
>> >>
>> >> This is probably adequate.
>> >>
>> >>
>> >>
>> >>>
>> >>> the whole process takes however veeeeery long time a lots of space.
>> >>
>> >>
>> >> Really?  Can you elaborate on what is consuming the time and the space.
>> >> Narrow down the
>> >> problem as you see it please.
>> >>
>> >>
>> >>
>> >>> Does any body knows a better way? I am not sure a direct link like
>> >>> this
>> >>> http://kicad.tuturutu.cz/
>> >>>
>> >>> could be a solution because the software update process would be not
>> >>> really automatic.
>> >>>
>> >>> Is there any change we could add here:
>> >>>
>> >>> sudo add-apt-repository ppa:adamwolf/kicad-testing-daily
>> >>>
>> >>> a non-ubuntu repo?
>> >>>
>> >>> how about an install script for all linux distro?
>> >>
>> >>
>> >> Has anyone had success packaging wxWidgets in a premade DSO format,
>> >> same binaries for all
>> >> linux platforms?  If not, then it seems unlikely we could do this.
>> >> What other
>> >> (commercial) EDA tools do is provide many of the GUI libraries as part
>> >> of the prebuilt
>> >> binaries.  Check around about a prebuilt wxWidgets DSO set that could
>> >> accompany a
>> >> pre-built KiCad.  This is more of a wx investigation.
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>> how about a check
>> >>> for updates inside KiCad itself? ... just throwing ideas...
>> >>>
>> >>>
>> >>> Cheers
>> >>> Fabrizio
>> >>>
>> >>> _______________________________________________
>> >>> 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
>> >>>
>> >>
>> >>
>> >> _______________________________________________
>> >> 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
>>
>> _______________________________________________
>> 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
>
>


Follow ups

References