[odb-users] Help need with build issue

Alain-Serge Nagni asnagni at yahoo.com
Wed Oct 17 05:41:16 EDT 2018

Hi Boris,  I was able to piece together all the information and I can having the system build now. I figure out that I needed to download the the pakage on the webpage: https://build2.org/download.xhtml an follow the instructions in the BOOTSTRAP-UNIX file.

That was not very clear at the first reading for me, but it's all good now. Thank you very much for the info.


    On Wednesday, October 17, 2018, 5:03:11 AM EDT, Boris Kolpackov <boris at codesynthesis.com> wrote:  
 Alain-Serge Nagni <asnagni at yahoo.com> writes:

> [...] when I try to build the odb package using build2, by using the
> command provided in the guide:
>    bpkg create -d odb-gcc-6 cc      \
>      config.cxx=g++                  \
>      config.cc.coptions=-O3          \
>      config.bin.rpath=/usr/local/lib \
>      config.install.root=/usr/local  \
>      config.install.sudo=sudo
> I will have an error. This is the error that I have:
> error: `create' is not a bpkg command.
> Did you mean one of these?
>      $ bpkg getdeps
>      $ bpkg init
>      $ bpkg install
>      $ bpkg json
>      $ bpkg list
>      $ bpkg package
>      $ bpkg show
>      $ bpkg suggest
>      $ bpkg term
>      $ bpkg update
>      $ bpkg utils

Looks like you have another executable called 'bpkg' in your path
(most likely this[1]). Try running:

$ which bpkg
$ bpkg --version

If you installed build2 into /usr/local (which is the default),
then you should be able to fix this by adding /usr/local/bin to
the beginning of your PATH:

$ export PATH="/usr/local/bin:$PATH"

Of course, an even simpler fix is to uninstall the other bpkg if
you don't need it.

[1] https://github.com/bpkg/bpkg

More information about the odb-users mailing list