Closed amitkalani1 closed 7 years ago
I'll try and reproduce on a VM and see if I can figure out what is going on.
On a clean Debian Jessie (64bit) VM:
sudo apt-get update
sudo apt-get -y install build-essential
sudo apt-get -y install zlib1g-dev libbz2-dev libcurl4-openssl-dev
mkdir ~/src
cd ~/src/
wget http://research.wand.net.nz/software/wandio/wandio-1.0.3.tar.gz
tar zxf wandio-1.0.3.tar.gz
cd wandio-1.0.3/
./configure --prefix=$HOME/bin/bgp
make
make install
export LD_LIBRARY_PATH="$HOME/bin/bgp/lib:$LD_LIBRARY_PATH"
cd ~/src/
wget http://bgpstream.caida.org/bundles/caidabgpstreamwebhomepage/dists/bgpstream-1.1.0.tar.gz
tar zxf bgpstream-1.1.0.tar.gz
cd bgpstream-1.1.0/
./configure --prefix=$HOME/bin/bgp LDFLAGS=-L$HOME/bin/bgp/lib CPPFLAGS=-I$HOME/bin/bgp/include
make
make check
make install
I think the only difference here compared to the documentation is that I used wget
instead of curl
(it seems curl is not available on a fresh install whereas wget is).
I've included all the commands I ran in case there is something you're doing differently.
Hope this helps!
Have the same issue (configure: error: wandio HTTP support required.
) under an ubuntu 14.04 VM, without any prefix or special installation paths.
here the exact sequence of commands I used:
aptitude install libbz2-dev zlib1g-dev libcurl4-openssl-dev
mkdir build
cd build
wget http://research.wand.net.nz/software/wandio/wandio-1.0.3.tar.gz
tar xzvf wandio-1.0.3.tar.gz
cd wandio-1.0.3/
./configure
make
make install
cd ..
wget http://bgpstream.caida.org/bundles/caidabgpstreamwebhomepage/dists/bgpstream-1.1.0.tar$
tar xzvf bgpstream-1.1.0.tar.gz
cd bgpstream-1.1.0/
./configure
wandio ./configure
output:
configure: WANDIO version 1.0.3
configure: Compiled with compressed file (zlib) support: Yes
configure: Compiled with compressed file (bz2) support: Yes
configure: Compiled with compressed file (lzo write only) support: No
configure: Compiled with compressed file (lzma) support: No
configure: Compiled with http read (libcurl) support: Yes
BGPStream ./configure
output:
configure: ---- BGPStream configuration ----
checking whether to build with data interface: broker... yes
checking whether to build with data interface: singlefile... yes
checking whether to build with data interface: csvfile... yes
checking whether to build with data interface: sqlite... no
configure: checking data interface dependencies...
checking for wandio HTTP support... configure: error: wandio HTTP support required. Ensure you have a working Internet connection and that libcurl is installed before building wandio.
Is there any more information I could give you to debug this?
Commenting out the check in the configure script as described in the first post works.
After that, a small test application I wrote seems to run without problems.
Can you try the sudo ldconfig
command after running make install
?
Are you still having problems with this?
I'm going to close this. Feel free to reopen if you are still having problems.
sorry I have same problem after try the sudo ldconfig
What OS are you using?
I'm trying to compile under debian jessie according to http://bgpstream.caida.org/docs/install/bgpstream using a custom prefix path. I get wandio http support in ./configure as detailed in #1 but using prefixes (which is your solution to #1).
My configure line:
./configure --prefix=/home/username/bin/bgp/ CPPFLAGS='-I/home/username/bin/bgp/include/' LDFLAGS='-L/home/username/bin/bgp/lib/'
wandio is compiled with the necessary dependencies and same prefix, and wandiocat works. ./configure runs into a ld problem, when looking at the strace, the relevant part looks like this:
which essentially means that the
LDFLAGS='-L/home/username/bin/bgp/lib/'
parameter gets ignored for the wandio_create() test program. when commenting out the test in configure, it compiles and runs. I even tried to change the wandio_create() test program in configure toreturn 0
, configure fails regardless.