[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make samlmod fails with perl 5.20.2, Centos 6



fredagen den 10 april 2015 09.45.12 skrev  Michael Dondrup:
> Hi,
> I am trying to build Net::SAML via make samlmod, it builds with perl 5.18.2,
> but with 5.20.2 I get compile errors. perl is installed vi perbrew:

As I wrote in my post a few weeks ago, SAML_wrap.c #undefs bool (among other 
symbols, in order to "Workaround perl5 global namespace pollution"). Not sure 
exactly what concrete problems that pollution might cause, but I don't think 
there's much else to do than to try the following patch:

--- a/Net/SAML_wrap.c
+++ b/Net/SAML_wrap.c
@@ -1441,9 +1441,6 @@ SWIG_Perl_SetModule(swig_module_info *mo
 #ifdef eof
   #undef eof
 #endif
-#ifdef bool
-  #undef bool
-#endif
 #ifdef close
   #undef close
 #endif

-- 
Magnus Holmgren
Debian Developer