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

Building memcached 1.4.x on windows error with cygwin

No replies
  • Login or register to post comments
Wed, 04/18/2012 - 01:09
ArtUrlWWW
Offline
Joined: 04/18/2012
Groups: None

I'm trying to build memcached from couchbase-server_src on Windows. Here's what I get:
configure: error: Can't enable threads without the POSIX thread library.
How to compile memcached from couchbase-server_src on Windows?
I use cygwin x32 with gcc 4.6.0.
Code

/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char pthread_create();

int
main() {
return pthread_create();
;
return 0;
}

in the single file (not from configure) compiles fine on my gcc.
Is there something that I've missed?

Top
  • 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