OpenWrt Forum Archive

Topic: Can't compile quagga

The content of this topic has been archived on 27 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I'm using Kamikaze 8.09.1

When I try to compile quagga, with libzebra and ripd, I get the following error:

checking for main in -lreadline... no
configure: error: vtysh needs libreadline but was not found and usable on your system.

Sure enough I drop into staging_dir and there's nothing in there. The Makefile for readline includes an InstallDev section which should install the libs to the toolchain, correct?

I noticed that vtysh needed libreadline, and I don't need vtysh.

In the Makefile, vtysh is enabled whether or not you choose the feature in the GUI. Kind of lame.
by removing

--enable-vtysh

in the configure section of the quagga Makefile, quagga, libzebra, and rip compiled successfully. Thanks.

Ugh, during the ipkg phase I get this error now:

wrt/scripts/ipkg -force-defaults -force-depends install /home/aport/nxa/svn/firmware/trunk/openwrt/bin/packages/i386/quagga_0.98.6-1_i386.ipk
Unpacking quagga...Done.
Configuring quagga...tar: ./var: Cannot utime: Operation not permitted
tar: Exiting with failure status due to previous errors

Any ideas?

Thanks in advance.

The discussion might have continued from here.