Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 1.8.x

Error in Libconflate - While building from source

1 reply [Last post]
  • Login or register to post comments
Thu, 03/22/2012 - 11:44
GTM
Offline
Joined: 03/20/2012
Groups: None

Error Log:

t/couchbase-server_src/install/lib/python"
/usr/bin/install -c management/cbadm-online-restore management/cbadm-online-update management/cbadm-tap-registration management/cbbackup management/cbbackup-incremental management/cbbackup-merge-incremental management/cbdbconvert management/cbdbmaint management/cbdbupgrade management/cbflushctl management/cbrestore management/cbstats management/cbvbucketctl '/root/gt/couchbase-server_src/install/lib/python'
make[3]: Leaving directory `/root/gt/couchbase-server_src/ep-engine'
make[2]: Leaving directory `/root/gt/couchbase-server_src/ep-engine'
make[1]: Leaving directory `/root/gt/couchbase-server_src/ep-engine'
if [ "xfalse" = "xtrue" ]; then rm -f -f /root/gt/couchbase-server_src/install/lib/*.la; fi
(rm -rf tmp/libconflate; mkdir -p tmp/libconflate)
make -C libconflate install
make[1]: Entering directory `/root/gt/couchbase-server_src/libconflate'
make install-recursive
make[2]: Entering directory `/root/gt/couchbase-server_src/libconflate'
Making install in .
make[3]: Entering directory `/root/gt/couchbase-server_src/libconflate'
CC rest.lo
rest.c:181: error: expected declaration specifiers or ‘...’ before ‘curlsocktype’
rest.c:181: warning: no previous prototype for ‘setup_curl_sock’ [-Wmissing-prototypes]
rest.c: In function ‘setup_curl_sock’:
rest.c:183: error: ‘purpose’ undeclared (first use in this function)
rest.c:183: error: (Each undeclared identifier is reported only once
rest.c:183: error: for each function it appears in.)
rest.c: In function ‘setup_handle’:
rest.c:197: error: ‘CURLOPT_SOCKOPTFUNCTION’ undeclared (first use in this function)
make[3]: *** [rest.lo] Error 1
make[3]: Leaving directory `/root/gt/couchbase-server_src/libconflate'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/root/gt/couchbase-server_src/libconflate'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/root/gt/couchbase-server_src/libconflate'
make: *** [make-install-libconflate] Error 2

GCC version 4.1.2

Whats the cause of this error and how to fix it?

Thanks
GT

Top
  • Login or register to post comments
Tue, 04/24/2012 - 14:29
farshid
Offline
Joined: 04/25/2011
Groups:

you need to remove curl-devel and build and install curl 7.21.4 , wget http://curl.haxx.se/download/curl-7.21.4.tar.gz

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker