6WIND / zrpcd

Zebra/Quagga RPC communicator to handle Quagga framework from a SDN controller
GNU General Public License v2.0
5 stars 10 forks source link

configure: error: ccapnproto needed but libcapn_c was not found #17

Open rslvn opened 7 years ago

rslvn commented 7 years ago

I followed the dependency installation steps. Thrift, ZeroMQ, C-capnproto were installed successfully.

Additional, I need more dependency for the packages building. The packages:

apt-get install  libboost-dev libboost-test-dev libtool libreadline6 libreadline6-dev libpcap-dev gawk

I run following command in quagga project. It says "configure: error: ccapnproto needed but libcapn_c was not found" but i could not found any package with name libcapn_c.

Please help me, how can I fix this problem?

LIBS='-L/tmp/zeromq4-1/.libs -L/tmp/c-capnproto/.libs/' \
./configure --with-zeromq --with-ccapnproto --prefix=/opt/quagga --enable-user=quagga \
--enable-group=quagga --enable-vty-group=quagga --localstatedir=/opt/quagga/var/run/quagga \
--disable-doc --enable-multipath=64
pguibert6WIND commented 7 years ago

Hello, Are you using one of the releases made available in https://github.com/6WIND/zrpcd/releases ? zrpc evolved, and the dependencies changed. This might explain what you have.

If you use old version of zrpc, you should rely on capnproto 0.1. Library name is libcapn_c.so While if you use recent version of zrpc, you should rely on capnproto 0.2. Library name is libcapnp_c.so

Also, make sure you cleaned your environment. This may be the reason why you have something broken ( git clean -xfd)

rslvn commented 7 years ago

Hi @pguibert6WIND ,

Thanks for fast response. I follow https://github.com/6WIND/zrpcd/blob/master/README.md for installation. Please find the build logs for C-capnproto and Quagga https://www.dropbox.com/s/g7smgzrcr8uzp1w/install.log?dl=0 . I am trying to build c-capnproto-0.2 tag for C-capnproto. it is successfully builded. But quagga build takes the error.

Thank you.