<div dir="ltr"><div style>Hi,</div><div style><br></div><div style>I am facing following error while I am trying to compile xmltooling. </div><div style><br></div><div style>Description:</div><div style>I have downloaded and compiled curl-7.30.0.tar.gz, while I am trying to compile xmltooling, I am getting following errors for 64bit compilation, 32bit compilation goes fine but for 64bit compilation i am getting following erros.</div>
<div style><br></div><div style>Error Details</div><div style>===========</div><div style><div><div>config.log</div><div>========</div><div><div>configure:19740: checking curl/curl.h usability</div><div>configure:19740: g++ -c -pthread -Wall -O2 -DNDEBUG -I/home/product/code/firmware/current/include -I/home/product/code/firmware/current/include -pth</div>
<div>read -Wall -O2 -DNDEBUG -I/usr/include/boost-1_34_1 -I/home/bws/code/firmware/current/include64 -I/home/bws/code/firmware/current/include -I/home/b</div><div>ws/code/firmware/current/include conftest.cpp >&5</div>
<div>In file included from /home/product/code/firmware/current/include/curl/curl.h:35,</div><div> from conftest.cpp:87:</div><div>/home/product/code/firmware/current/include/curl/curlrules.h:143: error: size of array '__curl_rule_01__' is negative</div>
</div></div><div><br></div><div>....</div><div><br></div></div><div>checking for xsec/utils/XSECPlatformUtils.hpp... yes<br></div>checking XML-Security version... OK<br>checking for xsecsize_t... no<br>checking whether XML-Security-C has multiple CRL support... yes<br>
checking whether XML-Security-C exposes the signature algorithm URI... yes<br>
checking whether XML-Security-C includes ECC support... yes<br>checking whether XML-Security-C includes C14N 1.1 support... yes<br>checking whether XML-Security-C includes debug logging support... yes<br>checking for curl-config... /home/bws/code/firmware/current/bin64/curl-config<br>
checking curl/curl.h usability... no<br>checking curl/curl.h presence... yes<br>configure: WARNING: curl/curl.h: present but cannot be compiled<br>configure: WARNING: curl/curl.h: check for missing prerequisite headers?<br>
configure: WARNING: curl/curl.h: see the Autoconf documentation<br>configure: WARNING: curl/curl.h: section "Present But Cannot Be Compiled"<br>configure: WARNING: curl/curl.h: proceeding with the compiler's result<br>
configure: WARNING: ## --------------------------------------------- ##<br>configure: WARNING: ## Report this to <a href="https://issues.shibboleth.net/" target="_blank">https://issues.shibboleth.net/</a> ##<br>configure: WARNING: ## --------------------------------------------- ##<br>
checking for curl/curl.h... no<br>configure: error: unable to find libcurl header files<br>make: *** [/mail/athukral/common/xmltooling/build64/xmltooling/Makefile] Error 1<br><br><div><br></div><div style>Package/System Details:</div>
<div style>================</div><div style>1) curl-7.30.0.tar.gz<br></div><div style>2) xmltooling-1.5.2.tar.gz<br></div><div style>3) cd /home/product/code/firmware/current/include64/curl</div><div style><div>[<a href="mailto:root@10.11.19.134">root@10.11.19.134</a>] # </div>
<div>[<a href="mailto:root@10.11.19.134">root@10.11.19.134</a>] # </div><div>[<a href="mailto:root@10.11.19.134">root@10.11.19.134</a>] # ls -lrt</div><div>total 180K</div><div>-rw-r--r-- 1 root root 37K May 20 23:57 typecheck-gcc.h</div>
<div>-rw-r--r-- 1 root root 1.3K May 20 23:57 stdcheaders.h</div><div>-rw-r--r-- 1 root root 15K May 20 23:57 multi.h</div><div>-rw-r--r-- 1 root root 2.8K May 20 23:57 mprintf.h</div><div>-rw-r--r-- 1 root root 3.4K May 20 23:57 easy.h</div>
<div>-rw-r--r-- 1 root root 2.7K May 20 23:57 curlver.h</div><div>-rw-r--r-- 1 root root 8.8K May 20 23:57 curlrules.h</div><div>-rw-r--r-- 1 root root 7.2K May 20 23:57 curlbuild.h</div><div>-rw-r--r-- 1 root root 82K May 20 23:57 curl.h</div>
</div><div style>include64 directory is included in the path while it is getting compiled.</div><div style><br></div><div style>4) [root@ ...] # uname -a</div><div style><div>Linux <a href="http://barracuda.barracudanetworks.com">barracuda.barracudanetworks.com</a> 2.6.37.3-barracuda0 #6 SMP Tue Sep 11 11:53:45 PDT 2012 x86_64 x86_64 x86_64 GNU/Linux</div>
</div><div style><br></div><div style>5) My Rule.mk file and compilation directory details:</div><div style>[<a href="mailto:root@10.11.19.134">root@10.11.19.134</a>] # cd ../common/xmltooling</div><div style><div>[<a href="mailto:root@10.11.19.134">root@10.11.19.134</a>] # ls</div>
<div>Rules.mk build32 build64 xmltooling.tar.gz </div><div><br></div><div><div>[<a href="mailto:root@10.11.19.134">root@10.11.19.134</a>] # cat Rules.mk </div><div>include $(prologue)</div><div><br></div><div>## name: samllibs </div>
<div>## description: SAML libraries</div><div>## project: </div><div>## replaceable: no</div><div>## license: APACHE </div><div>## usage: linked dynamically</div><div>## used_by: </div><div>## changes: no</div><div><br></div>
<div>name_$(d) := xmltooling</div><div>lib_$(d) := libxmltooling.so</div><div><br></div><div>configure_script_$(d)/build32 := $(d)/build32/xmltooling/configure</div><div>configure_options_$(d) := \</div><div><span class="" style="white-space:pre">        </span>--prefix=/home/product/code/firmware/current \</div>
<div><span class="" style="white-space:pre">        </span>--with-curl=/home/product/code/firmware/current \</div><div><span class="" style="white-space:pre">        </span>--with-log4shib=/home/product/code/firmware/current -C</div><div>
<br></div><div>makefile_path_$(d)/build32 := $(d)/build32/xmltooling/Makefile</div><div><br></div><div>configure_script_$(d)/build64 := $(d)/build64/xmltooling/configure</div><div>configure_options_$(d) := \</div><div><span class="" style="white-space:pre">        </span>--prefix=/home/product/code/firmware/current \</div>
<div><span class="" style="white-space:pre">        </span>--with-curl=/home/product/code/firmware/current \</div><div><span class="" style="white-space:pre">        </span>--with-log4shib=/home/product/code/firmware/current -C</div><div>
<br></div><div>makefile_path_$(d)/build64 := $(d)/build64/xmltooling/Makefile</div><div><br></div><div>$(eval $(call generate_package_makefile))</div><div>install sysinstall: $(name_$(d))</div><div>include $(epilogue)</div>
</div><div><br></div><div style>Could you please let me know how to resolve the error as described above ?<br></div></div><div style><br></div><div style>Regards,</div><div style>Amit Thukral</div></div>