[Openswan Users]

frode at fritid.as frode at fritid.as
Fri Jan 6 00:23:50 CET 2006

I use Mandrake 10.1, and there has been none Mandrake-distros for later than 9.x, so I'll guess I'll compile myself.

But. After installing gmp-devel, I get a new error, and I read the README (try first, fail then read...) So I also
installed Gawk, Flex and Bison.
But neither hepled.

Lookig a bit closer to the errors, It seems that I don't get it right...

It now complains about missing files inside the project. And I got the same errors when trying the 2.4.5rc1 so I'll
guess the same error will occure when the 2.4.5 is released.

What is my mistake ?

I download the source, unpack it, and run 'make install'.

> 4) try upgrading to openswan-2.4.5rc1
> Didn't work :
> [root at vmserver openswan-2.4.5rc1]# make programs install
> make[1]: Entering directory `/root/openswan-2.4.5rc1/doc'
> cp /root/openswan-2.4.5rc1/doc/src/index.html index.html
> make[1]: Leaving directory `/root/openswan-2.4.5rc1/doc'
> make[1]: Entering directory `/root/openswan-2.4.5rc1/lib'
> make[2]: Entering directory `/root/openswan-2.4.5rc1/lib/libopenswan'
> cc -I. -I/root/openswan-2.4.5rc1/linux/net/ipsec -I/root/openswan-2.4.5rc1/linux/include -I/root/openswan-2.4.5rc1
> -DDEBUG -DWITH_UDPFROMTO -DHAVE_IP_PKTINFO -I/root/openswan-2.4.5rc1/include -g -O3 -Wall -Wpointer-arith -Wcast-qual
> -Wstrict-prototypes -Wbad-function-cast  -DX509_VERSION=\"X.509-1.5.4\" -DNAT_TRAVERSAL   -c -o pfkey_v2_parse.o
> /root/openswan-2.4.5rc1/linux/net/ipsec/pfkey_v2_parse.c
> In file included from /root/openswan-2.4.5rc1/linux/net/ipsec/pfkey_v2_parse.c:64:
> /root/openswan-2.4.5rc1/programs/pluto/defs.h:88:17: gmp.h: No such file or directory

yum install gmp-devel

current error :

cc -g -O3 -I/root/openswan-2.4.4 -I/root/openswan-2.4.4/linux/include -I/root/openswan-2.4.4/include -Wall
-Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wbad-function-cast  -DNAT_TRAVERSAL -DVIRTUAL_IP  -DNAT_TRAVERSAL
-DKERNEL_ALG -DIKE_ALG -Werror    spi.c  /root/openswan-2.4.4/lib/libopenswan/liboswlog.a
/root/openswan-2.4.4/lib/libopenswan/libopenswan.a   -o spi
cc: /root/openswan-2.4.4/lib/libopenswan/liboswlog.a: No such file or directory
cc: /root/openswan-2.4.4/lib/libopenswan/libopenswan.a: No such file or directory

Frode halvorsen

More information about the Users mailing list