пакет flow-tools. т.к. rpm -а к центосу я не нашел скачал исходники с оф. сайта http://www.splintered.net/sw/flow-tools/
по ссылке ftp://ftp.eng.oar.net/pub/flow-tools/flow-tools-0.66.tar.gz
Поставить их не удалось, make вылетает с ошибкой, решение которой я не нашел.
сделал
# ./configure
Код: Выделить всё
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... 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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for bison... no
checking for byacc... no
checking for ranlib... ranlib
checking for flex... no
checking for lex... no
checking for yywrap in -lfl... no
checking for yywrap in -ll... no
checking for main in -ly... no
checking for zlibVersion in -lz... yes
checking for allow_severity in -lwrap... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
.........................................Удалено................................
..
config.status: creating lib/ftconfig.h
config.status: lib/ftconfig.h is unchanged
config.status: executing depfiles commands
Please subscribe to the flow-tools mailing list by sending a message to
flow-tools-request@splintered.net
Now type make to continue the build processЗапускаю make
Код: Выделить всё
# make
Making all in lib
make[1]: Entering directory `/root/flow-tools-0.66/lib'
make all-am
make[2]: Entering directory `/root/flow-tools-0.66/lib'
if gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -MT ftio.o -MD -MP -MF ".deps/ftio.Tpo" \
-c -o ftio.o `test -f 'ftio.c' || echo './'`ftio.c; \
then mv ".deps/ftio.Tpo" ".deps/ftio.Po"; \
else rm -f ".deps/ftio.Tpo"; exit 1; \
fi
ftio.c: In function ‘readn’:
ftio.c:2270: error: invalid lvalue in assignment
ftio.c: In function ‘writen’:
ftio.c:2295: error: invalid lvalue in assignment
make[2]: *** [ftio.o] Error 1
make[2]: Leaving directory `/root/flow-tools-0.66/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/flow-tools-0.66/lib'
make: *** [all-recursive] Error 1На этом приключения заканчиваются, yum про flow-tools ничего не слышал... RPM под центос я не нашел.
Eсть только под RH7 и пр... http://cng.ateneo.edu/cng/wyu/software/flow-tools.php
Помогите кто сможет (
P.S.
только что попробывал собрать последнюю версию пакета, ответ мало чем отличается...
Код: Выделить всё
# make
Making all in lib
make[1]: Entering directory `/root/flow-tools-0.68/lib'
make all-am
make[2]: Entering directory `/root/flow-tools-0.68/lib'
source='ftio.c' object='ftio.o' libtool=no \
depfile='.deps/ftio.Po' tmpdepfile='.deps/ftio.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f 'ftio.c' || echo './'`ftio.c
ftio.c: In function ‘readn’:
ftio.c:2270: error: invalid lvalue in assignment
ftio.c: In function ‘writen’:
ftio.c:2295: error: invalid lvalue in assignment
make[2]: *** [ftio.o] Error 1
make[2]: Leaving directory `/root/flow-tools-0.68/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/flow-tools-0.68/lib'
make: *** [all-recursive] Error 1