Closed ACodingfreak closed 2 years ago
configure script is auto-generated with following code which seems to be wrong.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext / end confdefs.h. /
#include <wandio.h> int main() { io_t *file = wandio_create("https://broker.bgpstream.caida.org/v1/"); return (file == NULL); }
_ACEOF
According to below commit it should have been proper link
If you're sure you have the latest version of the code checked out, you could try re-running ./autogen.sh
to rebuild the configure script.
Issue is in the configure.ac file in bgpstream project
The same logic in libbgpstream seams to be fine as shown below
If you're sure you have the latest version of the code checked out, you could try re-running
./autogen.sh
to rebuild the configure script.
I I did try a complete clean build as mentioned below and still see the same issue
git clone https://github.com/CAIDA/bgpstream.git cd bgpstream/ ./autogen.sh ./configure
But you've opened an issue against the libbgpstream project?
https://github.com/CAIDA/bgpstream/ is deprecated in favor of libbgpstream and basically unmaintained at this point. If you want to submit a PR to that repo then I'm sure we can merge it, but I'd strongly encourage you to upgrade to BGPStream v2.
Thanks for the reply @alistairking .
My bad.
Where can i get the access to BGPStreamV2 ? is that a separate repo ?
That's this repo :)
You can follow the instructions here: https://bgpstream.caida.org/docs/install/bgpstream#ubuntu
No wonder I faced many issues compiling BGPSTREAM in Ubuntu 22.04 and I have reverted to Ubuntu 20.04 to try the same.
I guess README inside BGPSTREAM should be updated with a NOTE recommending v2.0. Let me try the instructions shared.
I understand this is not the issue of bgpstream but one minor inconvenience is WANDIO path mentioned in installation steps is unreachable
It should probably be https://github.com/LibtraceTeam/wandio
Agree.
If you are planning to update the install script then below order of commands should work
git clone https://github.com/LibtraceTeam/wandio cd wandio/ ./bootstrap.sh ./configure make sudo make install sudo ldconfig
Feel free to submit a PR for this
But this change is needed in the below website. Where can I submit pull request for that ?
Oh good point. It should be in here: https://github.com/caida/bgpstream-web
Thanks for the link. Let me search for the exact page.
Also the README file of libbgpstream points to downloading the code from BGPSTREAM repo which is no more maintained. Dont you think it should be corrected ?
https://github.com/CAIDA/libbgpstream
Ideally current name of the libbgpstream repo should be BGPStreamv2.0 instead of libbgpstream. As per my understanding libbgpstream is just a library where as BGPSTREAM is the framework containing libbgpstream library, applications like pybgpstream, bgpreader and so on.
Sure. Again, PR's are welcome.
As per my understanding libbgpstream is just a library where as BGPSTREAM is the framework containing libbgpstream library
This is exactly why this repo is called libbgpstream and not bgpstream. This repo only contains the bgpstream library (and bgpreader).
pybgpstream is here: https://github.com/caida/pybgpstream
Closing the issue as it is resolved in Ubuntu 20.04 using bgpstream v2.0
This issue is observed in the past as mentioned below. I am creating a new one with new logs with latest git clone in Ubuntu 20.04
https://github.com/CAIDA/libbgpstream/issues/191
when running ./configure from cloned repo I am seeing the following error
error: wandio HTTP support required. Ensure you have a working Internet connection and that libcurl is installed before building wandio.
Looks like the link https://broker.bgpstream.caida.org/v1/ is not reachable
from config.log: