[Openswan Users] openswan installation problem
yu chen
kith_yuchen at yahoo.com
Mon Dec 21 12:37:36 EST 2009
Dear Paul
as your advice, still got problem with make programs, see below:
OBJDIR: OBJ.linux.i386
(cd /usr/local/src/openswan-2.6.23/OBJ.linux.i386 && OBJDIRTOP=/usr/local/src/openswan-2.6.23/OBJ.linux.i386 OBJDIR=/usr/local/src/openswan-2.6.23/OBJ.linux.i386 make programs )
make[1]: Entering directory `/usr/local/src/openswan-2.6.23/OBJ.linux.i386'
make[2]: Entering directory `/usr/local/src/openswan-2.6.23/OBJ.linux.i386/doc'
make[2]: Nothing to be done for `programs'.
make[2]: Leaving directory `/usr/local/src/openswan-2.6.23/OBJ.linux.i386/doc'
make[2]: Entering directory `/usr/local/src/openswan-2.6.23/OBJ.linux.i386/lib'
make[3]: Entering directory `/usr/local/src/openswan-2.6.23/OBJ.linux.i386/lib/libopenswan'
cc -I/usr/local/src/openswan-2.6.23/ports/linux/include -I/usr/local/src/openswan-2.6.23/ports/linux/include -I/usr/local/src/openswan-2.6.23/ports/linux/include -I. -I/usr/local/src/openswan-2.6.23/linux/net/ipsec -I/usr/local/src/openswan-2.6.23/linux/include -I/usr/local/src/openswan-2.6.23 -DDEBUG -DPFKEYV2 -DKLIPS -DWITH_UDPFROMTO -DHAVE_IP_PKTINFO -I/usr/local/src/openswan-2.6.23/include -I/usr/local/src/openswan-2.6.23/ports/linux/include -I/usr/local/src/openswan-2.6.23/ports/linux/include -I/usr/local/src/openswan-2.6.23/ports/linux/include -g -DKLIPS -DSCANDIR_HAS_CONST -Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wbad-function-cast -DNAT_TRAVERSAL -DFINALCONFDIR=\"/etc\" -DFINALCONFDDIR=\"/etc/ipsec.d\" -DFINALCONFFILE=\"/etc/ipsec.conf\" -DFINALVARDIR=\"/var\" -DFINALLIBEXECDIR=\"/usr/local/libexec/ipsec\" -DFINALLIBDIR=\"/usr/local/lib/ipsec\" -DFINALSBINDIR=\"/usr/local/sbin\" -c -o id.o
/usr/local/src/openswan-2.6.23/lib/libopenswan/id.c
In file included from /usr/local/src/openswan-2.6.23/include/certs.h:24,
from /usr/local/src/openswan-2.6.23/lib/libopenswan/id.c:39:
/usr/local/src/openswan-2.6.23/include/secrets.h:20:41: error: gmp.h: No such file or directory
In file included from /usr/local/src/openswan-2.6.23/include/certs.h:24,
from /usr/local/src/openswan-2.6.23/lib/libopenswan/id.c:39:
/usr/local/src/openswan-2.6.23/include/secrets.h:43: error: expected specifier-qualifier-list before 釳P_INT?
/usr/local/src/openswan-2.6.23/include/secrets.h:54: error: expected specifier-qualifier-list before 釳P_INT?
make[3]: *** [id.o] Error 1
make[3]: Leaving directory `/usr/local/src/openswan-2.6.23/OBJ.linux.i386/lib/libopenswan'
make[2]: *** [programs] Error 1
make[2]: Leaving directory `/usr/local/src/openswan-2.6.23/OBJ.linux.i386/lib'
make[1]: *** [programs] Error 1
make[1]: Leaving directory `/usr/local/src/openswan-2.6.23/OBJ.linux.i386'
make: *** [programs] Error 2
please advice me
thank you for helping me
kind regards
kelsen
________________________________
From: Paul Wouters <paul at xelerance.com>
To: yu chen <kith_yuchen at yahoo.com>
Cc: users at openswan.org
Sent: Mon, December 21, 2009 3:20:35 PM
Subject: Re: [Openswan Users] openswan installation problem
On Mon, 21 Dec 2009, yu chen wrote:
> Dear all
> my name is Kelsen, i got openswan installation problem, see below:
>
> [root at freeiris2 openswan-2.4.12]# make programs
> make[1]: Entering directory `/usr/local/src/openswan-2.4.12/doc'
> cp /usr/local/src/openswan-2.4.12/doc/src/index.html index.html
> make[1]: Leaving directory `/usr/local/src/openswan-2.4.12/doc'
> make[1]: Entering directory `/usr/local/src/openswan-2.4.12/lib'
> make[2]: Entering directory `/usr/local/src/openswan-2.4.12/lib/libopenswan'
> cc -I. -I/usr/local/src/openswan-2.4.12/linux/net/ipsec -I/usr/local/src/openswan-2.4.12/linux/include
> -I/usr/local/src/openswan-2.4.12 -DDEBUG -DWITH_UDPFROMTO -DHAVE_IP_PKTINFO
> -I/usr/local/src/openswan-2.4.12/include -g -O3 -DDISABLE_UDP_CHECKSUM -Wall -Wpointer-arith -Wcast-qual
> -Wstrict-prototypes -Wbad-function-cast -DNAT_TRAVERSAL -c -o addrtoa.o
> /usr/local/src/openswan-2.4.12/linux/net/ipsec/addrtoa.c
> make[2]: cc: Command not found
You are missing ALL compiler tools. Try:
yum install gcc bison flex gmp-devel
and try again.
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20091221/3868fbda/attachment.html
More information about the Users
mailing list