Facing config error while compiling Xmltooling

Amit Thukral amit.thukral403 at gmail.com
Tue May 21 05:07:17 EDT 2013


Hi,

I am facing following error while I am trying to compile xmltooling.

Description:
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.

Error Details
===========
config.log
========
configure:19740: checking curl/curl.h usability
configure:19740: g++ -c -pthread -Wall  -O2 -DNDEBUG
-I/home/product/code/firmware/current/include
-I/home/product/code/firmware/current/include -pth
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
ws/code/firmware/current/include   conftest.cpp >&5
In file included from
/home/product/code/firmware/current/include/curl/curl.h:35,
                 from conftest.cpp:87:
/home/product/code/firmware/current/include/curl/curlrules.h:143: error:
size of array '__curl_rule_01__' is negative

....

checking for xsec/utils/XSECPlatformUtils.hpp... yes
checking XML-Security version... OK
checking for xsecsize_t... no
checking whether XML-Security-C has multiple CRL support... yes
checking whether XML-Security-C exposes the signature algorithm URI... yes
checking whether XML-Security-C includes ECC support... yes
checking whether XML-Security-C includes C14N 1.1 support... yes
checking whether XML-Security-C includes debug logging support... yes
checking for curl-config...
/home/bws/code/firmware/current/bin64/curl-config
checking curl/curl.h usability... no
checking curl/curl.h presence... yes
configure: WARNING: curl/curl.h: present but cannot be compiled
configure: WARNING: curl/curl.h:     check for missing prerequisite headers?
configure: WARNING: curl/curl.h: see the Autoconf documentation
configure: WARNING: curl/curl.h:     section "Present But Cannot Be
Compiled"
configure: WARNING: curl/curl.h: proceeding with the compiler's result
configure: WARNING:     ## --------------------------------------------- ##
configure: WARNING:     ## Report this to https://issues.shibboleth.net/ ##
configure: WARNING:     ## --------------------------------------------- ##
checking for curl/curl.h... no
configure: error: unable to find libcurl header files
make: *** [/mail/athukral/common/xmltooling/build64/xmltooling/Makefile]
Error 1


Package/System Details:
================
1) curl-7.30.0.tar.gz
2) xmltooling-1.5.2.tar.gz
3)  cd /home/product/code/firmware/current/include64/curl
[root at 10.11.19.134] #
[root at 10.11.19.134] #
[root at 10.11.19.134] # ls -lrt
total 180K
-rw-r--r-- 1 root root  37K May 20 23:57 typecheck-gcc.h
-rw-r--r-- 1 root root 1.3K May 20 23:57 stdcheaders.h
-rw-r--r-- 1 root root  15K May 20 23:57 multi.h
-rw-r--r-- 1 root root 2.8K May 20 23:57 mprintf.h
-rw-r--r-- 1 root root 3.4K May 20 23:57 easy.h
-rw-r--r-- 1 root root 2.7K May 20 23:57 curlver.h
-rw-r--r-- 1 root root 8.8K May 20 23:57 curlrules.h
-rw-r--r-- 1 root root 7.2K May 20 23:57 curlbuild.h
-rw-r--r-- 1 root root  82K May 20 23:57 curl.h
include64 directory is included in the path while it is getting compiled.

4) [root@ ...] # uname -a
Linux barracuda.barracudanetworks.com 2.6.37.3-barracuda0 #6 SMP Tue Sep 11
11:53:45 PDT 2012 x86_64 x86_64 x86_64 GNU/Linux

5) My Rule.mk file and compilation directory details:
[root at 10.11.19.134] # cd ../common/xmltooling
[root at 10.11.19.134] # ls
Rules.mk  build32  build64  xmltooling.tar.gz

[root at 10.11.19.134] # cat Rules.mk
include $(prologue)

## name: samllibs
## description: SAML libraries
## project:
## replaceable: no
## license: APACHE
## usage: linked dynamically
## used_by:
## changes: no

name_$(d) := xmltooling
lib_$(d) := libxmltooling.so

configure_script_$(d)/build32 := $(d)/build32/xmltooling/configure
configure_options_$(d) := \
--prefix=/home/product/code/firmware/current \
--with-curl=/home/product/code/firmware/current \
--with-log4shib=/home/product/code/firmware/current -C

makefile_path_$(d)/build32 := $(d)/build32/xmltooling/Makefile

configure_script_$(d)/build64 := $(d)/build64/xmltooling/configure
configure_options_$(d) := \
--prefix=/home/product/code/firmware/current \
--with-curl=/home/product/code/firmware/current \
--with-log4shib=/home/product/code/firmware/current -C

makefile_path_$(d)/build64 := $(d)/build64/xmltooling/Makefile

$(eval $(call generate_package_makefile))
install sysinstall: $(name_$(d))
include $(epilogue)

Could you please let me know how to resolve the error as described above ?

Regards,
Amit Thukral
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/dev/attachments/20130521/2f55be79/attachment.html 


More information about the dev mailing list