<?xml version="1.0" encoding="windows-1252"?>
<node id="896137" title="Re^6: KinoSearch Installation errors" created="2011-03-29 06:41:48" updated="2011-03-29 06:41:48">
<type id="11">
note</type>
<author id="384960">
creamygoodness</author>
<data>
<field name="doctext">
&lt;p&gt;The &lt;c&gt;alloca&lt;/c&gt; issue may be addressed by this patch, which requires a full rebuild (&lt;c&gt;perl Build realclean; perl Build.PL; perl Build test&lt;/c&gt;):

&lt;p&gt;&lt;code&gt;
Index: charmonizer/src/Charmonizer/Probe/Memory.c
===================================================================
--- charmonizer/src/Charmonizer/Probe/Memory.c	(revision 6525)
+++ charmonizer/src/Charmonizer/Probe/Memory.c	(revision 6526)
@@ -72,7 +72,7 @@
     }
 
     /* Windows. */
-    if (!has_alloca || has_builtin_alloca) {
+    if (!(has_alloca || has_builtin_alloca)) {
         sprintf(code_buf, alloca_code, "malloc.h", "alloca");
         if (CC_test_compile(code_buf, strlen(code_buf))) {
             has_malloc_h = true;
@@ -81,7 +81,7 @@
             ConfWriter_append_conf("#define chy_alloca alloca\n");
         }
     }
-    if (!has_alloca || has_builtin_alloca) {
+    if (!(has_alloca || has_builtin_alloca)) {
         sprintf(code_buf, alloca_code, "malloc.h", "_alloca");
         if (CC_test_compile(code_buf, strlen(code_buf))) {
             has_malloc_h = true;
&lt;/code&gt;&lt;/p&gt;</field>
<field name="root_node">
895989</field>
<field name="parent_node">
896121</field>
</data>
</node>
