Приветствую!
Не могу поставить freeswan. Скачал с офф.сайта, распаковал.
make programsНа выходе:
make[1]: Entering directory `/usr/src/freeswan-2.06/doc'
make[1]: Nothing to be done for `programs'.
make[1]: Leaving directory `/usr/src/freeswan-2.06/doc'
make[1]: Entering directory `/usr/src/freeswan-2.06/lib'
make[2]: Entering directory `/usr/src/freeswan-2.06/lib/libfreeswan'
cc -I. -I../../linux/net/ipsec -I../../linux/include -I../.. -g -O3 -Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wbad-function-cast -c -o pfkey_v2_build.o ../../linux/net/ipsec/pfkey_v2_build.c
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_msg_hdr_build':
../../linux/net/ipsec/pfkey_v2_build.c:192: error: lvalue required as left operand of assignment
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_sa_ref_build':
../../linux/net/ipsec/pfkey_v2_build.c:316: error: lvalue required as left operand of assignment
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_lifetime_build':
../../linux/net/ipsec/pfkey_v2_build.c:393: error: lvalue required as left operand of assignment
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_address_build':
../../linux/net/ipsec/pfkey_v2_build.c:513: error: lvalue required as left operand of assignment
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_key_build':
../../linux/net/ipsec/pfkey_v2_build.c:585: error: lvalue required as left operand of assignment
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_ident_build':
../../linux/net/ipsec/pfkey_v2_build.c:672: error: lvalue required as left operand of assignment
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_sens_build':
../../linux/net/ipsec/pfkey_v2_build.c:726: error: lvalue required as left operand of assignment
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_prop_build':
../../linux/net/ipsec/pfkey_v2_build.c:785: error: lvalue required as left operand of assignment
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_supported_build':
../../linux/net/ipsec/pfkey_v2_build.c:866: error: lvalue required as left operand of assignment
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_spirange_build':
../../linux/net/ipsec/pfkey_v2_build.c:947: error: lvalue required as left operand of assignment
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_x_kmprivate_build':
../../linux/net/ipsec/pfkey_v2_build.c:991: error: lvalue required as left operand of assignment
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_x_satype_build':
../../linux/net/ipsec/pfkey_v2_build.c:1044: error: lvalue required as left operand of assignment
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_x_debug_build':
../../linux/net/ipsec/pfkey_v2_build.c:1101: error: lvalue required as left operand of assignment
../../linux/net/ipsec/pfkey_v2_build.c: In function 'pfkey_msg_build':
../../linux/net/ipsec/pfkey_v2_build.c:1240: error: lvalue required as left operand of assignment
make[2]: *** [pfkey_v2_build.o] Error 1
make[2]: Leaving directory `/usr/src/freeswan-2.06/lib/libfreeswan'
make[1]: *** [programs] Error 1
make[1]: Leaving directory `/usr/src/freeswan-2.06/lib'
make: *** [programs] Error 1
Затем make install, на выходе:
if [ -f /usr/local/lib/ipsec/pluto ]; \
then \
echo WARNING: FreeS/WAN 1.99 still installed. ;\
echo WARNING: moving /usr/local/lib/ipsec to /usr/local/lib/ipsec.v1 ;\
mv /usr/local/lib/ipsec /usr/local/lib/ipsec.v1 ;\
fi
make[1]: Entering directory `/usr/src/freeswan-2.06/doc'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/usr/src/freeswan-2.06/doc'
make[1]: Entering directory `/usr/src/freeswan-2.06/lib'
make[2]: Entering directory `/usr/src/freeswan-2.06/lib/libfreeswan'
make[2]: Leaving directory `/usr/src/freeswan-2.06/lib/libfreeswan'
make[2]: Entering directory `/usr/src/freeswan-2.06/lib/libdes'
make[2]: Leaving directory `/usr/src/freeswan-2.06/lib/libdes'
make[1]: Leaving directory `/usr/src/freeswan-2.06/lib'
make[1]: Entering directory `/usr/src/freeswan-2.06/programs'
make[2]: Entering directory `/usr/src/freeswan-2.06/programs/spi'
cc -g -O3 -I../../linux/include -Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wbad-function-cast -Werror -c -o spi.o spi.c
cc -g -O3 -I../../linux/include -Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wbad-function-cast -Werror -o spi spi.o ../../lib/libfreeswan/libfreeswan.a
cc: ../../lib/libfreeswan/libfreeswan.a: No such file or directory
make[2]: *** [spi] Error 1
rm spi.o
make[2]: Leaving directory `/usr/src/freeswan-2.06/programs/spi'
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/src/freeswan-2.06/programs'
make: *** [install] Error 1
Как же поставить то этот freeswan, на что он ругается-то? Гуру, подскажите, пжл.