[RCBC-7] errors during the installation of the required gem, memcached Created: 07/Oct/11  Updated: 13/Nov/12  Resolved: 07/Oct/11

Status: Closed
Project: Couchbase Ruby client library
Component/s: None
Affects Version/s: None
Fix Version/s: None
Security Level: Public

Type: Bug Priority: Major
Reporter: Rhett Clement Assignee: Sergey Avseyev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment: Linux version 2.6.35.14-95.38.amzn1.i686 (mockbuild@build-31002.build) (gcc version 4.4.5 20110214 (Red Hat 4.4.5-6) (GCC) ) #1 SMP Thu Aug 25 17:11:35 UTC 2011

Users also report the issue on RHEL/Ubuntu.

    bash: "/bin/bash => GNU bash, version 4.1.2(1)-release (i386-redhat-linux-gnu)"
    zsh: " => not installed"
  rvm:
    version: "rvm 1.8.5 by Wayne E. Seguin (wayneeseguin@gmail.com) [https://rvm.beginrescueend.com/]"
  ruby:
    interpreter: "ruby"
    version: "1.9.2p290"
    date: "2011-07-09"
    platform: "i686-linux"
    patchlevel: "2011-07-09 revision 32553"
    full_version: "ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux]"

 

Attachments: Text File config.log     File config.status     File configure    

 Description   
The config.status phase of the rake's compile task fails.
     configure:21918: error: possibly undefined macro: AC_LIB_HAVE_LINKFLAGS
           If this token and others are legitimate, please use m4_pattern_allow.
           See the Autoconf documentation.
     make: *** [configure] Error 1

A more comprehensive history of the issue can be found here: https://github.com/fauna/memcached/issues/52

FYI - The symptoms are also reported in this (older) issue https://github.com/fauna/memcached/issues/15

 Comments   
Comment by Sergey Avseyev [ 07/Oct/11 ]
The following patch solves the issue for ruby 1.8.7 and 1.9.2

https://github.com/fauna/memcached/pull/68

See complete log here https://github.com/fauna/memcached/issues/52
Generated at Thu Oct 02 12:25:33 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.