Dear Philippe ,

                Thank you for your support ,
I did what you suggest below and get the below error ,

I am using  RHEL 6.5

                /root/Downloads/libreswan/lib/libswan/unbound.c:197: error: 
dereferencing pointer to incomplete type
make[3]: *** [unbound.o] Error 1
make[3]: Leaving directory 
`/root/Downloads/libreswan/OBJ.linux.x86_64/lib/libswan'
make[2]: *** [programs] Error 1
make[2]: Leaving directory `/root/Downloads/libreswan/OBJ.linux.x86_64/lib'
make[1]: *** [programs] Error 1
make[1]: Leaving directory `/root/Downl

BR,
a.shabana

From: Philippe Vouters [mailto:[email protected]]
Sent: Sunday, May 11, 2014 3:57 PM
To: Ahmed Shabana
Cc: [email protected]
Subject: Re: [Swan] compilation failed

Dear Amed,

This now makes sense. How precision from you  ! Which Linux distribution are 
you running ? I say this because on Ubuntu the correct path for  prcpucfg.h is 
/usr/include/nspr/ (brought in by libnspr4-dev Ubuntu package) and 
/usr/include/nspr4/ on my Fedora 20 (brought in by nspr-devel package).

For the other include file (pk11pub.h) it is inside  /usr/include/nss/ on 
Ubuntu (brought by libnss3-dev package) and on Fedora 20 it is inside 
/usr/include/nss3/ (brought in by nss-devel package).

Your met errors pledge for automake and ./configure file.



Philippe Vouters (Fontainebleau/France)

URL: http://vouters.dyndns.org/

SIP: sip:[email protected]<mailto:sip:[email protected]>
On 05/11/2014 03:04 PM, Ahmed Shabana wrote:

#  git clone 'https://github.com/libreswan/libreswan'.

make programs
.
.
.

ts/linux/include  -I/root/Downloads/libreswan/ports/linux/include  -I. 
-I/root/Downloads/libreswan/linux/net/ipsec 
-I/root/Downloads/libreswan/linux/include -I/root/Downloads/libreswan -DPFKEYV2 
-DKLIPS   -I/root/Downloads/libreswan/include  
-I/root/Downloads/libreswan/ports/linux/include  
-I/root/Downloads/libreswan/ports/linux/include  
-I/root/Downloads/libreswan/ports/linux/include  -g -O2 -m64 -Wall -Wextra 
-Wformat -Wformat-nonliteral -Wformat-security -Wundef -Wmissing-declarations 
-Wredundant-decls -Wnested-externs  -DGCC_LINT -pipe -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector-all -fno-strict-aliasing -fPIE -DPIE 
-DFORCE_PR_ASSERT  -Wall -Wextra -Wformat -Wformat-nonliteral -Wformat-security 
-Wundef -Wmissing-declarations -Wredundant-decls -Wnested-externs  -DDNSSEC 
-DIPSEC_CONFDIR=\"/etc\" -DIPSEC_CONFDDIR=\"/etc/ipsec.d\" 
-DIPSEC_CONF=\"/etc/ipsec.conf\" -DIPSEC_VARDIR=\"/var\" 
-DIPSEC_EXECDIR=\"/usr/local/libexec/ipsec\" 
-DIPSEC_SBINDIR=\"/usr/local/sbin\"   -c -o alg_info.o 
/root/Downloads/libreswan/lib/libswan/alg_info.c
In file included from /root/Downloads/libreswan/lib/libswan/alg_info.c:32:
/root/Downloads/libreswan/include/constants.h:71:22: error: prcpucfg.h: No such 
file or directory
In file included from /root/Downloads/libreswan/lib/libswan/alg_info.c:37:
/root/Downloads/libreswan/include/lswconf.h:26:22: error: pk11pub.h: No such 
file or directory
In file included from /root/Downloads/libreswan/lib/libswan/alg_info.c:37:
/root/Downloads/libreswan/include/lswconf.h:55: error: expected ')' before '*' 
token

From: Philippe Vouters [mailto:[email protected]]
Sent: Sunday, May 11, 2014 2:56 PM
To: Ahmed Shabana
Subject: Re: [Swan] compilation failed

How did the build failed ? What messages did the build produced ?



Philippe Vouters (Fontainebleau/France)

URL: http://vouters.dyndns.org/

SIP: sip:[email protected]<mailto:sip:[email protected]>
On 05/11/2014 02:36 PM, Ahmed Shabana wrote:
Dear libreswan ers ,

                Have a nice day , today is my first day I hear and wish to try 
your libreswan,

But unfortunately it failed  I downloaded it from your website version 3.7 and 
3.8 and it does not compiled successfully with me , although I do the 
pre-request

BR,
Shabana





_______________________________________________

Swan mailing list

[email protected]<mailto:[email protected]>

https://lists.libreswan.org/mailman/listinfo/swan


_______________________________________________
Swan mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan

Reply via email to