cURL / Mailing Lists / curl-users / Single Mail

curl-users

Berkeley DB installation on Solaris 10 causing issues

From: amit kumar sahu <tima_sahu_at_yahoo.com>
Date: Fri, 11 Oct 2013 18:49:23 +0800 (SGT)

We ran the below commands to install Berkeley XML DB on Solaris 10 64-bit JVM: export LD_LIBRARY_PATH=/usr/sfw/lib/64 ./buildall.sh -c gcc -x g++ --with-configure-env="CFLAGS='-m64 -mcpu=v9' CXXFLAGS='-m64 -mcpu=v9 -L$PWD/install/lib' LDFLAGS='-m64 -mcpu=v9 -L$PWD/install/lib'" --enable-java --prefix=/opt/webapps/appdata/sharedlib/SSOT/BDBInst/ If you notice, the 64-bit OS libraries are used to generate the BDB jars.  The above command ran for around 10 minutes and then it stopped with the below error: mv -f $depbase.Tpo $depbase.Plo In file included from /usr/local/include/curl/curl.h:35, from ./xercesc/util/NetAccessors/Curl/CurlURLInputStream.hpp:25, from xercesc/util/NetAccessors/Curl/CurlNetAccessor.cpp:26: /usr/local/include/curl/curlrules.h:143: error: size of array `__curl_rule_01__' is negative *** Error code 1 make: Fatal error: Command failed for target `xercesc/util/NetAccessors/Curl/CurlNetAccessor.lo' Current working directory /opt/webapps/appdata/sharedlib/BDBInst/dbxml-2.5.16/xerces-c-src/src *** Error code 1 The following command caused the error: failcom='exit 1'; \ for f in x $MAKEFLAGS; do \ case $f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo all-recursive | sed s/-recursive//`; \ list=' '; for subdir in $list; do \ echo "Making $target in $subdir"; \ if test "$subdir" = "."; then \ dot_seen=yes; \ local_target="$target-am"; \ else \ local_target="$target"; \ fi; \ (cd $subdir && make $local_target) \ || eval $failcom; \ done; \ if test "$dot_seen" = "no"; then \ make "$target-am" || exit 1; \ fi; test -z "$fail" make: Fatal error: Command failed for target `all-recursive' This seems to be Curl libraries related. I maybe completely wrong. We don't know where to look and how to move forward. Please help. Thanks Amit

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-10-11