Originally Posted by
al37919
надо не просто вбить комманду ipkg install optware-devel , а добиться ее выполнения без ошибок.
Отсутствует пакет buildroot. Он весит 42Мб, поэтому не у всех легко встает. Можно его выкачать отдельно, затем поставить с локального диска. После этого сделать ipkg install optware-devel еще раз
Я поставил-
Code:
ipkg install buildroot
Installing buildroot (4.1.1-13) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/buildroot_4.1.1-13_mipsel.ipk
Configuring buildroot
Updating /opt/etc/ld.so.cache
Successfully terminated.
Я поставил-
Code:
ipkg install optware-devel
Installing optware-devel (6.8-7) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/optware-devel_6.8-7_mipsel.ipk
Configuring optware-devel
Successfully terminated.
А теперь проблема с libpcap и missing, как поставить?
Code:
./configure && make && make install
checking for a BSD-compatible install... /opt/bin/install -c
checking whether build environment is sane... yes
/opt/bin/bash: /opt/etc/trafitizer/missing: No such file or directory
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for local libpcap... no
checking for main in -lpcap... no
configure: error: You need libpcap in order to use trafitizer
Прочитал тут http://wl500g.info/showthread.php?t=...hlight=libpcap
но не ясно как поставить...
Спасибо!