On 11/05/2014 16:25, Paul Wouters wrote:

On Sun, 11 May 2014, Ahmed Shabana wrote:

I did what you suggest below and get the below error ,

You know we offer precompiled packages for RHEL6 at
download.libreswan.org ?
except you have not yet compiled the security release 3.8 :-(

 


I've compiled it myself but cannot do it with rpmbuild -tb as it fails with a spec file issue:
[build@server SOURCES]$ rpmbuild -tb --target=x64_64 --clean --quiet libreswan-3.8.tar.gz
Building target platforms: x64_64
Building for target x64_64
error: line 291: second %prep

but I can do it by extracting the rhel spec file and building with:
rpmbuild -bb --target=x86_64 --clean --quiet libreswan-3.8/packaging/rhel/6/libreswan.spec
This is on ClearOS, a rhel look alike and generally binary compatible.

Regards,

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

Reply via email to