[Swan] build error on CentOS 6.4

T.J. Yang tjyang2001 at gmail.com
Wed Mar 13 11:45:17 EET 2013


That was a typo. even a biggner like me can fix :)

[tjyang at centos63-0 centos]$ diff -u libreswan.spec libreswan.spec.orig
--- libreswan.spec      2013-03-13 04:41:51.310643051 -0500
+++ libreswan.spec.orig 2013-03-13 04:41:38.893799137 -0500
@@ -119,8 +119,8 @@
   USE_FIPSCHECK=%{USE_FIPSCHECK} \
   USE_LIBCAP_NG=%{USE_LIBCAP_NG} \
   USE_LABELED_IPSEC=%{USE_LABELED_IPSEC} \
-  USE_LDAP=%{USE_CRL_FETCHING} \
-  USE_LIBCURL=%{USE_CRL_FETCHING} \
+  USE_LDAP=%{USE_CRL_FETCHIG} \
+  USE_LIBCURL=%{USE_CRL_FETCHIG} \
   USE_DNSSEC=%{USE_DNSSEC} \
   INC_USRLOCAL=%{_prefix} \
   FINALLIBDIR=%{_libexecdir}/ipsec \
[tjyang at centos63-0 centos]$



On Wed, Mar 13, 2013 at 4:39 AM, Tuomo Soini <tis at foobar.fi> wrote:

> On Wed, 13 Mar 2013 09:33:43 +0100
> Pavel Kopchyk <pkopchyk at gmail.com> wrote:
>
> > Hi everyone,
> >
> > I'm trying to build the latest version from git (on CentOS 6.4).
> >
> > I get the errors:
> > secrets.o
> /home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/lib/libswan/secrets.c
> >
> >
> /home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/lib/libswan/secrets.c:992:
> > error: expected identifier or ‘(’ before ‘{’ token
> >
> /home/buildtest/rpmbuild/BUILD/libreswan-3.1_git/lib/libswan/secrets.c:1004:
> > error: expected identifier or ‘(’ before ‘{’ token
>
> Yes. That's a bug and Paul already fixed that.
>
> Quick work-around is to enabe USE_LIBCURL.
>
>
> --
> Tuomo Soini <tis at foobar.fi>
> Foobar Linux services
> +358 40 5240030
> Foobar Oy <http://foobar.fi/>
> _______________________________________________
> Swan mailing list
> Swan at lists.libreswan.org
> https://lists.libreswan.org/mailman/listinfo/swan
>



-- 
T.J. Yang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libreswan.org/pipermail/swan/attachments/20130313/754d1533/attachment.html>


More information about the Swan mailing list