Incomprehensible error concerning identical babel config for bird and bird6 (bird-v1.6.4 on ubuntu18.04.1)
Hi fellow bird users. I have a question concerning the syntax error message shown below for the bird daemon. But NOT for the bird6 daemon. Even thou the configuration snippet in bird.conf & bird6.conf is identical. Any educated guesses as to what might be causing this? cat /etc/bird/bird.conf (...) 36 # babel 37 ######## 38 39 protocol babel { 40 interface "wg-server" { 41 type wireless; 42 }; 43 export where (source = RTS_DEVICE) || (source = RTS_BABEL); 44 } (...) $ bird -p bird: /etc/bird/bird.conf, line 39: syntax error cat /etc/bird/bird6.conf (...) 36 # babel 37 ######## 38 39 protocol babel { 40 interface "wg-server" { 41 type wireless; 42 }; 43 export where (source = RTS_DEVICE) || (source = RTS_BABEL); 44 } (...) $ bird6 -p <<empty_output>> Regards, Christoffer -- Bird user and participant in the DN42 network. --
Please ignore. On 13/11/2018 20:42, Christoffer Hansen wrote:
Any educated guesses as to what might be causing this?
Missed the first part of the official 1.6.x documentation stating: """ While the Babel protocol is dual stack (i.e., can carry both IPv4 and IPv6 routes over the same IPv6 transport), BIRD presently implements only the IPv6 subset of the protocol. No Babel extensions are implemented, but the BIRD implementation can coexist with implementations using the extensions (and will just ignore extension messages). """ Ups. :( /Christoffer
On November 13, 2018 8:54:54 PM GMT+01:00, Christoffer Hansen <netravnen@gmail.com> wrote:
Please ignore.
On 13/11/2018 20:42, Christoffer Hansen wrote:
Any educated guesses as to what might be causing this?
Missed the first part of the official 1.6.x documentation stating: """ While the Babel protocol is dual stack (i.e., can carry both IPv4 and IPv6 routes over the same IPv6 transport), BIRD presently implements only the IPv6 subset of the protocol. No Babel extensions are implemented, but the BIRD implementation can coexist with implementations using the extensions (and will just ignore extension messages). """
Ups. :(
/Christoffer
Anyway, in version 2 you may use the dual stack babel protocol. Feel free to try it and report any bug please. Maria
Hi Maria, On 13/11/2018 21:29, Maria Jan Matějka wrote:
Anyway, in version 2 you may use the dual stack babel protocol. Feel free to try it and report any bug please.
Wish I could. Tried compiling the bird-master from git tree on ubuntu 18.04.1. But had to many issue with packages missing or errors encountered during compiling. I decided to just stick with 1.6.4 with trying to compile from git master or 2.0.2 git tag. Q: Do you have any recommendations in regards to compiling either *) bird git master branch or *) bird git tag 2.0.2 ? on Ubuntu or Debian? (I am thinking about published blog posts or similar written texts) Regards, Christoffer
On Tue, Nov 13, 2018 at 10:11:58PM +0100, Christoffer Hansen wrote:
Hi Maria,
On 13/11/2018 21:29, Maria Jan Matějka wrote:
Anyway, in version 2 you may use the dual stack babel protocol. Feel free to try it and report any bug please.
Wish I could.
Tried compiling the bird-master from git tree on ubuntu 18.04.1. But had to many issue with packages missing or errors encountered during compiling. I decided to just stick with 1.6.4 with trying to compile from git master or 2.0.2 git tag.
Q: Do you have any recommendations in regards to compiling either *) bird git master branch or *) bird git tag 2.0.2 ? on Ubuntu or Debian? (I am thinking about published blog posts or similar written texts)
Hi I don't know about Ubuntu, but on Debian it is straightforward (although note that main devel branch is called 'int-new', while 'master' is still 1.6.x branch), you just need basic devel environment (build-essential package), libreadline-dev, autoconf, bison, flex, and git. With that just: git clone https://gitlab.labs.nic.cz/labs/bird.git cd bird git checkout int-new autoreconf ./configure make -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
Ondrej Zajicek <santiago@crfreenet.org> writes:
On Tue, Nov 13, 2018 at 10:11:58PM +0100, Christoffer Hansen wrote:
Hi Maria,
On 13/11/2018 21:29, Maria Jan Matějka wrote:
Anyway, in version 2 you may use the dual stack babel protocol. Feel free to try it and report any bug please.
Wish I could.
Tried compiling the bird-master from git tree on ubuntu 18.04.1. But had to many issue with packages missing or errors encountered during compiling. I decided to just stick with 1.6.4 with trying to compile from git master or 2.0.2 git tag.
Q: Do you have any recommendations in regards to compiling either *) bird git master branch or *) bird git tag 2.0.2 ? on Ubuntu or Debian? (I am thinking about published blog posts or similar written texts)
Hi
I don't know about Ubuntu, but on Debian it is straightforward (although note that main devel branch is called 'int-new', while 'master' is still 1.6.x branch), you just need basic devel environment (build-essential package), libreadline-dev, autoconf, bison, flex, and git. With that just:
git clone https://gitlab.labs.nic.cz/labs/bird.git cd bird git checkout int-new autoreconf ./configure make
The 'autoreconf' step is missing from the README. It's not quite obvious that that is what is needed to get a build, so maybe updating the build instructions would be an idea? :) -Toke
On Tue, Nov 13, 2018 at 10:35:49PM -0800, Toke Høiland-Jørgensen wrote:
Ondrej Zajicek <santiago@crfreenet.org> writes:
git clone https://gitlab.labs.nic.cz/labs/bird.git cd bird git checkout int-new autoreconf ./configure make
The 'autoreconf' step is missing from the README. It's not quite obvious that that is what is needed to get a build, so maybe updating the build instructions would be an idea? :)
Hi The instructions in README are intended for people buiding BIRD from released tar.gz, where 'autoreconf' step is not necessary. But it is true that we should also mention GIT repository and building from GIT sources there (including the 'autoreconf' step). -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
On 14/11/2018 03:10, Ondrej Zajicek wrote:
I don't know about Ubuntu, but on Debian it is straightforward (although note that main devel branch is called 'int-new', while 'master' is still 1.6.x branch), you just need basic devel environment (build-essential package), libreadline-dev, autoconf, bison, flex, and git. With that just:
git clone https://gitlab.labs.nic.cz/labs/bird.git cd bird git checkout int-new autoreconf ./configure make
Ubuntu 18.04 will complain about missing the ncurses library, too. """" (...) checking for curses.h... no configure: error: The client requires ncurses library. Either install the library or use --disable-client to compile without the client. """ Which should be included in instructions of how to compile from developer branch. Regards, Christoffer
On Thu, Nov 15, 2018 at 01:41:47PM +0100, Christoffer Hansen wrote:
On 14/11/2018 03:10, Ondrej Zajicek wrote:
I don't know about Ubuntu, but on Debian it is straightforward (although note that main devel branch is called 'int-new', while 'master' is still 1.6.x branch), you just need basic devel environment (build-essential package), libreadline-dev, autoconf, bison, flex, and git. With that just:
git clone https://gitlab.labs.nic.cz/labs/bird.git cd bird git checkout int-new autoreconf ./configure make
Ubuntu 18.04 will complain about missing the ncurses library, too.
Yes, i forgot about libncurses5-dev, which is also needed. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
Hi Ondrej, On 14/11/2018 03:10, Ondrej Zajicek wrote:
I don't know about Ubuntu, but on Debian it is straightforward (although note that main devel branch is called 'int-new', while 'master' is still 1.6.x branch), you just need basic devel environment (build-essential package), libreadline-dev, autoconf, bison, flex, and git. With that just:
git clone https://gitlab.labs.nic.cz/labs/bird.git cd bird git checkout int-new autoreconf ./configure make
Have installed 2 VM's very recently with Debian 9 and backported kernel release 4.18.0-0.bpo.1-amd64 from stretch-backports. Update all packages & installed necessary dependencies. Followed current guides lines & NOW runs into the following error message when trying to compile code from int-new branch as of commit f2d8e6801e88a84b1e57da72d078d7569598a5f5. ---------------------------------------------------------------- $ make install /usr/bin/install -c -d //usr/local/sbin //usr/local/etc //usr/local/var/run for BIN in bird birdcl birdc ; do \ /usr/bin/install -c ./$BIN //usr/local/sbin/$BIN ; \ done if ! test -f //usr/local/etc/bird.conf ; then \ /usr/bin/install -c -m 644 ./doc/bird.conf.example //usr/local/etc/bird.conf ; \ else \ echo "Not overwriting old bird.conf" ; \ fi Not overwriting old bird.conf ---------------------------------------------------------------- Am I the only one running into the error message? Because I have a hard time making heads 'n tails for the content of it. When having only just installed the Debian VM's 30 minutes beforehand. (Yes, happens on both VM's. VM's having identical configuration) -- Christoffer Hansen netravnen [at] gmail.com 0xC8B382A8A1CDCDB771FEB24CC654948FDA86BECD
Please ignore previous message. Forgot to read [0]. Was trying to start the daemon with systemd[1]. (Will of course not work) /Christoffer [0]: https://bird.network.cz/?get_doc&v=20&f=bird-1.html#ss1.2 [1]: `systemctl start bird` On 16/11/2018 16:54, Christoffer Hansen wrote:
Have installed 2 VM's very recently with Debian 9 and backported kernel release 4.18.0-0.bpo.1-amd64 from stretch-backports. Update all packages & installed necessary dependencies. Followed current guides lines & NOW runs into the following error message when trying to compile code from int-new branch as of commit f2d8e6801e88a84b1e57da72d078d7569598a5f5.
---------------------------------------------------------------- $ make install /usr/bin/install -c -d //usr/local/sbin //usr/local/etc //usr/local/var/run for BIN in bird birdcl birdc ; do \ /usr/bin/install -c ./$BIN //usr/local/sbin/$BIN ; \ done if ! test -f //usr/local/etc/bird.conf ; then \ /usr/bin/install -c -m 644 ./doc/bird.conf.example //usr/local/etc/bird.conf ; \ else \ echo "Not overwriting old bird.conf" ; \ fi Not overwriting old bird.conf ----------------------------------------------------------------
Am I the only one running into the error message?
Because I have a hard time making heads 'n tails for the content of it. When having only just installed the Debian VM's 30 minutes beforehand. (Yes, happens on both VM's. VM's having identical configuration)
Hello!
I have a question concerning the syntax error message shown below for the bird daemon. But NOT for the bird6 daemon. Even thou the configuration snippet in bird.conf & bird6.conf is identical.
Just a wild guess: it is actually a syntax error at the end of the declaration immediately preceding this one. Have a nice fortnight -- Martin `MJ' Mareš <mares@kam.mff.cuni.cz> http://mj.ucw.cz/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth VI has two modes: the one in which it beeps and the one in which it doesn't.
participants (5)
-
Christoffer Hansen -
Maria Jan Matějka -
Martin Mareš -
Ondrej Zajicek -
Toke Høiland-Jørgensen