← Back to team overview

kicad-developers team mailing list archive

Re: How to Build KiCAD from Source Cloned from Git Miorr Souce?

 

Ahh yeah, that must be the issue here. I forgot that we only set a
dummy bzr whoami in the deprecated kicad-install.sh script.

2015-08-25 23:37 GMT+02:00 Blair Bonnett <blair.bonnett@xxxxxxxxx>:
>> bzr: ERROR: Unable to determine your name.
>> Please, set your name with the 'whoami' command.
>> E.g. bzr whoami "Your Name <name@xxxxxxxxxxx>"
>
> The local build of Boost needs patching, and it uses a local bazaar
> repository to do this. If you haven't given your local bzr a name and email,
> you get this error message. Use the command given in the error message to
> fix it.
>
>
>
> On 26 August 2015 at 09:34, Nick Østergaard <oe.nick@xxxxxxxxx> wrote:
>>
>> You did not tell us what exact system you are on, but you could try to
>> skip the boost build with the cmake option, -DKICAD_SKIP_BOOST=YES,
>> but only do this if you have boost 1.56 or newer on your system.
>>
>> Alternatively, if you want to retry, try to delete the
>> .downloads-by-cmake/ folder under the source tree and rerun make.
>>
>> Nick
>>
>> 2015-08-25 23:30 GMT+02:00 Joseph Chen <joseph.chen59@xxxxxxxxx>:
>> > Can someone point me to a good instruction of building KiCAD from the
>> > git
>> > mirror source?  And What I missed that is resulting some errors shown
>> > below?
>> >
>> > BTW, my same ubuntu has been working with "kicad-install.sh", but I just
>> > started trying the git source tree building.
>> >
>> >
>> > With the git source tree, I have done the following steps but soon
>> > encounter
>> > the errors after make command:
>> >
>> > jchen@thermaltake:~/git-kicad/kicad-source-mirror/joe-build$ history
>> > [ snip....]
>> > 1216  git clone https://github.com/KiCad/kicad-source-mirror.git
>> >  1218  cd kicad-source-mirror/
>> >  1220  mkdir joe-build
>> >  1222  cd joe-build/
>> >  1223  cmake ../.
>> >  1224  make
>> >
>> >
>> > Here is the error on the make console:
>> > -- extracting... done
>> > [  1%] creating 'boost scratch repo' specifically for boost to track
>> > boost
>> > patches
>> > [  1%] adding pristine boost files to 'boost scratch repo'
>> > [  1%] committing pristine boost files to 'boost scratch repo'
>> > bzr: ERROR: Unable to determine your name.
>> > Please, set your name with the 'whoami' command.
>> > E.g. bzr whoami "Your Name <name@xxxxxxxxxxx>"
>> > CMakeFiles/boost.dir/build.make:143: recipe for target
>> >
>> > '../.downloads-by-cmake/boost_1_54_0/src/boost-stamp/boost-bzr_commit_boost'
>> > failed
>> > make[2]: ***
>> >
>> > [../.downloads-by-cmake/boost_1_54_0/src/boost-stamp/boost-bzr_commit_boost]
>> > Error 3
>> > CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/boost.dir/all'
>> > failed
>> > make[1]: *** [CMakeFiles/boost.dir/all] Error 2
>> > Makefile:137: recipe for target 'all' failed
>> > make: *** [all] Error 2
>> >
>> >
>> > --Joe


Follow ups

References