Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Unable to compile Couchbase 1.8 from source
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
pcdinh  
View profile  
 More options Feb 20 2012, 11:35 am
From: pcdinh <pcd...@gmail.com>
Date: Mon, 20 Feb 2012 08:35:38 -0800 (PST)
Local: Mon, Feb 20 2012 11:35 am
Subject: Unable to compile Couchbase 1.8 from source

Hi all,

I just downloaded couchbase 1.8.0 source and tried to compile it on my
Ubuntu 11 box

However, "make all" output showed the following errors

/default_engine/default_engine.c  -fPIC -DPIC -o
.libs/default_engine_la-default_engine.o
engines/default_engine/default_engine.c: In function
‘initalize_configuration’:
engines/default_engine/default_engine.c:506:22: error: variable ‘ret’ set
but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

make[1]: *** [default_engine_la-default_engine.lo] Error 1
make[1]: Leaving directory `/usr/src/couchbase-server_src/memcached'
make: *** [all] Error 2

How can I resolve this issue?

Thanks

Dinh


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aliaksey Kandratsenka  
View profile  
 More options Feb 20 2012, 12:43 pm
From: Aliaksey Kandratsenka <alkondrate...@gmail.com>
Date: Mon, 20 Feb 2012 09:43:26 -0800
Local: Mon, Feb 20 2012 12:43 pm
Subject: Re: Unable to compile Couchbase 1.8 from source

Thats a known problem of -Werror and the way our projects are setup.
Easiest for you would be try to get gcc-4.5 or gcc-4.4. I don't know if it
is available in ubuntu repository but it is available in debian repos. Just
don't forget to install matching g++ and libstdc++-dev packages.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »