GithubHelp home page GithubHelp logo

build-couchdb's People

Contributors

amedeo avatar chutsu avatar ewollesen avatar flexd avatar janl avatar jhs avatar jimklo avatar kowsik avatar leandros avatar pfiled avatar ralphtheninja avatar sander avatar simek avatar tcaddy avatar wulftone avatar zpetr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

build-couchdb's Issues

uninstall

i thought i remembered a command to uninstall couch if you'd installed using buildcouchdb... but i don't see it in the docs any more

thanks
ken tyler

Can not build behind firewalls

Your clone URLs and submodules all use git:// which is blocked on most corporate firewalls. Please look at changing to https:// wherever possible.

Build on Fedora 13 failed

zlib is missed and rake has the wrong version (see below) - how to update these? (gem install zlib failed with "no such file to load -- zlib (LoadError)" :-| )

ThoMo


[thomo@f13 build-couchdb]$ . ./env.sh
Confirmed build: /home/thomo/projects/external/build-couchdb/dependencies/ruby-inabox/build/bin/ruby
Confirmed build: /home/thomo/projects/external/build-couchdb/dependencies/ruby-inabox/build/bin/gem
/home/thomo/projects/external/build-couchdb/dependencies/ruby-inabox/build/lib/ruby/1.9.1/rubygems/package.rb:10:in require': no such file to load -- zlib (LoadError) from /home/thomo/projects/external/build-couchdb/dependencies/ruby-inabox/build/lib/ruby/1.9.1/rubygems/package.rb:10:in<top (required)>'
from /home/thomo/projects/external/build-couchdb/dependencies/ruby-inabox/build/lib/ruby/1.9.1/rubygems/format.rb:9:in require' .... from /home/thomo/projects/external/build-couchdb/dependencies/ruby-inabox/build/bin/gem:24:in

'
/home/thomo/projects/external/build-couchdb/dependencies/ruby-inabox/build/bin/rake 0.8.3 is not version 0.8.7
[thomo@f13 build-couchdb]$

Builds, but tests return errors

The "basics" test returns errors, while other tests (like "conflict") works fine!

Lots and lots of:

reserved slot index out of range
[error] [<0.225.0>] OS Process Error <0.264.0> :: {os_process_error,{exit_status,1}}

Building CouchDB 1.6.x branch with OTP-17.1 Error

Hey all,
Just a quick one; whilst attempting to build out CouchDB 1.6.x branch with Erlang OTP-17.1 branch (explicitly) on CentOS6.5 x86_64- using the following:

rake erl_checkout="OTP-17.1" \
git="https://github.com/apache/couchdb.git 1.6.x" \
install=${INSTPRE}

I get the following error (slimmed down!):

Errno::ENOENT: No such file or directory - /home/vagrant/build-couchdb/dependencies/otp/lib/appmon/SKIP

Fairly sure this error also gets generated for 'dependancies/otp/lib/toolbars/SKIP' too.

doesn't build on RHEL 5.5

I'm using RHEL 5.5 (no choice due to IT rules). The versions are:

$ ruby --version
ruby 1.8.6 (2007-09-24 patchlevel 111) [x86_64-linux]
$ rake --version
rake, version 0.8.7

Not sure where to report this, or how to get help. I'm trying to install using the instructions at http://www.couch.io/get#build. When I type "rake", I get an error. I've installed all packages as specified in the instructions (gcc gcc-c++ libtool libcurl-devel zlib-devel openssl-devel rubygem-rake).

Here's what happens:

$ pwd
/users/sdrach/build-couchdb
$ ls -a
. .. dependencies env.sh .git .gitignore .gitmodules Rakefile README.md tasks TODO
$ rake
(in /users/sdrach/build-couchdb)
rake aborted!
undefined method `[]' for nil:NilClass

(See full trace by running task with --trace)

Instructions in the README for building the BigCouch merge

I've been trying to wrap my head around how to get an alpha version of CouchDB 2.0 up and running. I tried following instructions from @wohali here but got stuck due to incompatible Spidermonkey and Erlang versions.

In the past I've always used build-couchdb with minimal fuss, but I'm not sure how to use it to build the bigcouch branch. I tried a few different strategies for pulling in the 1843-feature-bigcouch from http://git-wip-us.apache.org/repos/asf/couchdb.git, but with no success – the git= option seems to either not work or I'm not understanding it, and manually changing the git branch causes the build to exit early with no error message. Advice?

Crash Report on Start

I get an error when starting couchdb. More interestng however, is that if I close the terminal after the crash, open a new terminal and type couchdb (either at the user level or /build) I get "command not found" until I delete and rebuild.

dts-iMac:build dt$ couchdb

Apache CouchDB 1.1.0af3442c2-git (LogLevel=info) is starting.

=CRASH REPORT==== 10-Jul-2010::06:21:35 ===
crasher:
initial call: application_master:init/4
pid: <0.31.0>
registered_name: []
exception exit: {bad_return,
{{couch_app,start,
[normal,
["/Users/dt/build-couchdb/build/etc/couchdb/default.ini",
"/Users/dt/build-couchdb/build/etc/couchdb/local.ini"]]},
{'EXIT',
"dlopen(/Users/dt/build-couchdb/build/lib/couchdb/erlang/lib/couch-1.1.0af3442c2-git/priv/lib/couch_icu_driver.so, 2): Symbol not found: _ucol_close_43\n Referenced from: /Users/dt/build-couchdb/build/lib/couchdb/erlang/lib/couch-1.1.0af3442c2-git/priv/lib/couch_icu_driver.so\n Expected in: flat namespace\n in /Users/dt/build-couchdb/build/lib/couchdb/erlang/lib/couch-1.1.0af3442c2-git/priv/lib/couch_icu_driver.so"}}}
in function application_master:init/4
ancestors: [<0.30.0>]
messages: [{'EXIT',<0.32.0>,normal}]
links: [<0.30.0>,<0.7.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 2584
stack_size: 24
reductions: 249
neighbours:

=INFO REPORT==== 10-Jul-2010::06:21:35 ===
application: couch
exited: {bad_return,{{couch_app,start,
[normal,
["/Users/dt/build-couchdb/build/etc/couchdb/default.ini",
"/Users/dt/build-couchdb/build/etc/couchdb/local.ini"]]},
{'EXIT',"dlopen(/Users/dt/build-couchdb/build/lib/couchdb/erlang/lib/couch-1.1.0af3442c2-git/priv/lib/couch_icu_driver.so, 2): Symbol not found: _ucol_close_43\n Referenced from: /Users/dt/build-couchdb/build/lib/couchdb/erlang/lib/couch-1.1.0af3442c2-git/priv/lib/couch_icu_driver.so\n Expected in: flat namespace\n in /Users/dt/build-couchdb/build/lib/couchdb/erlang/lib/couch-1.1.0af3442c2-git/priv/lib/couch_icu_driver.so"}}}
type: temporary

Executing make after clone fails

Hello,
Sorry, wrong original message. I'm trying to use the plugin for geocouch off origin/master.
Building plugin in: /home/jdavenpo/build-couchdb/git-build/git%3A%2F%2Fgithub.com%2Fcouchbase%2Fgeocouch%3Aorigin%2Fmaster

The rake command I'm using is rake plugin="git://github.com/couchbase/geocouch origin/master"

Uncaught error in rebar_core: {'EXIT',
{undef,
[{crypto,start,[],[]},
{rebar,run_aux,1,[]},
{rebar,main,1,[]},
{escript,run,2,
[{file,"escript.erl"},{line,747}]},
{escript,start,1,
[{file,"escript.erl"},{line,277}]},
{init,start_it,1,[]},
{init,start_em,1,[]}]}}
rake aborted!
Command failed with status (1): [./rebar clean...]

nox-version

I looked at the state of the build, and in that moment apt-get was called, loading some X11 libraries. My wish is to build a lean server without any X11 (there are usually erlang-nox packages in Debian, but if I interprete some of the boilerplate correctly, the current (lenny) package is R12.3).

If this is a low hanging fruit, it would be nice to get it. Otherwise, dont put time into it.

Greetings, z.

run couchdb as daemon

i have a ubuntu 10.4 box where i used build-couchdb to install couchdb... that works. now i want to start it as a daemon...preferrably every time the machine restarts

i seem to remember at one time the readme said using the -d flag would do that... but that just gives a "couchdb is not running" error on my machine

i see the build-couch folder has its own init.d folder... but i'm pretty much at sea without further help

are there instructions for doing this after using build-couchdb... or a least documentation of which user build-couch sets up to run couch

i'm a little hesitant to just start changing things because i might mess up some sort of dependencies that build-couchdb will need

thanks
ken tyler

Problem on Lucid Lynx, "No 'ruby_inabox' Rake task found in parent directory"

I've booted Lucid Lynx (m1.small, http://developer.amazonwebservices.com/connect/entry.jspa?externalID=3102). The first run aborted at the exact same time (but I've closed the console window unfortunately). Here is what another run of . ./env.sh gives me:

ubuntu@ip-10-48-61-228:~/build-couchdb$ . ./env.sh 
Adding to PATH: /home/ubuntu/build-couchdb/dependencies/ruby-inabox/build/bin
Confirmed build: /home/ubuntu/build-couchdb/dependencies/ruby-inabox/build/bin/ruby
Confirmed build: /home/ubuntu/build-couchdb/dependencies/ruby-inabox/build/bin/gem
Confirmed build 0.8.7: /home/ubuntu/build-couchdb/dependencies/ruby-inabox/build/bin/rake
Adding to PATH: /home/ubuntu/build-couchdb/build/bin
No 'ruby_inabox' Rake task found in parent directory

Here is what I did to setup the system:

sudo apt-get install git-arch
sudo apt-get install make gcc zlib1g-dev libssl-dev libreadline5-dev bison rake
git clone git://github.com/jhs/build-couchdb
cd build-couchdb
git submodule init
git submodule update

on git clone instructions

you have it listed as

git clone git://github.com/couchone/build-couchdb

which gives me a remote hangup fatal error

but when I do

git clone git://github.com/jhs/build-couchdb

it works great.

(sorry if this isnt the right forum for this. . . new here. . . jan pointed me towards you. IF you need any grunt work done please ship it my way!!!!!)

undefined method 'reenable'

Hello Jason, its me again.

I hoped for the first completing build, but rake abrupted (after about 90 minutes or so) with the following message:
rake aborted!
undefined method 'reenable' for <Rake::Task erlang:clean => []>:Rake::Task

Any hint?

Regards, z

rake problem

trying to set up on an amazon instance

had to figure out how to install git... which took some doing for a windows guy

git worked...

everything worked until i typed "rake"

then i got

(in /root/build-couchdb)
mkdir -p /root/build-couchdb/build/bin
rake aborted!
undefined method `mktmpdir' for Dir:Class

(See full trace by running task with --trace)

this instance is:
Basic Fedora Core 8

Basic Fedora Core 8 (AMI Id: ami-84db39ed)
Minimal Fedora Core 8, 32-bit architecture, and Amazon EC2 AMI Tools.

Debian Lenny problem - solved, so that a hint

Hi,

on Debian Lenny (stable) apt-get doesnt find zlib1g-dev -aaaahhhhh
I just copy and pated the package name, and this resolved the problem.

The readme is shown (in the browser) in a font where 1 == l (small L, not big i), so I hereby just ask you to mention this, to minimise confusion.

Thanks for the project!

z.

i was so glad i found this

trying to set up on an amazon instance

had to figure out how to install git... which took some doing for a windows guy

git worked...

everything worked until i typed "rake"

then i got

(in /root/build-couchdb)
mkdir -p /root/build-couchdb/build/bin
rake aborted!
undefined method `mktmpdir' for Dir:Class

(See full trace by running task with --trace)

icu problem

after following all instructions and successfully completed build on Ubuntu 10.04 i got this crash after sturting bin/couchdb:

=CRASH REPORT==== 30-Aug-2010::18:16:09 ===
crasher:
initial call: application_master:init/4
pid: <0.32.0>
registered_name: []
exception exit: {bad_return,
{{couch_app,start,
[normal,
["/home/ddosia/devel/tools/couchdb/build-couchdb/build/etc/couchdb/default.ini",
"/home/ddosia/devel/tools/couchdb/build-couchdb/build/etc/couchdb/local.ini"]]},
{'EXIT',"undefined symbol: ucol_strcollIter_4_2"}}}
in function application_master:init/4
ancestors: [<0.31.0>]
messages: [{'EXIT',<0.33.0>,normal}]
links: [<0.31.0>,<0.7.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 1597
stack_size: 24
reductions: 177
neighbours:

=INFO REPORT==== 30-Aug-2010::18:16:09 ===
application: couch
exited: {bad_return,{{couch_app,start,
[normal,
["/home/ddosia/devel/tools/couchdb/build-couchdb/build/etc/couchdb/default.ini",
"/home/ddosia/devel/tools/couchdb/build-couchdb/build/etc/couchdb/local.ini"]]},
{'EXIT',"undefined symbol: ucol_strcollIter_4_2"}}}
type: temporary

after googling around i didnt find any solution

Build system does not work under ubuntu 13.10

The build system works under ubuntu 12.04, but not under 13.10.
I think it has something to do with autoconf

mv: cannot move '.am14100/autoconf.info' to './/home/pietere/HDD/Development/Attachments/build-couchdb/dependencies/autoconf-2.69/doc/': No such file or directory
make[2]: *** [/home/pietere/HDD/Development/Attachments/build-couchdb/dependencies/autoconf-2.69/doc/autoconf.info] Error 1
make[2]: Leaving directory /tmp/autoconf-2.69_build20140519-25646-r7s92u/doc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/tmp/autoconf-2.69_build20140519-25646-r7s92u'
make: *** [all] Error 2
git checkout HEAD .
rm -rf autom4te.cache
rake aborted!
Command failed with status (2): [make ...]
/home/pietere/HDD/Development/Attachments/build-couchdb/tasks/lib.rb:142:in gmake' /home/pietere/HDD/Development/Attachments/build-couchdb/tasks/toolchain.rake:38:inblock (5 levels) in <top (required)>'
/home/pietere/HDD/Development/Attachments/build-couchdb/tasks/toolchain.rake:22:in chdir' /home/pietere/HDD/Development/Attachments/build-couchdb/tasks/toolchain.rake:22:inblock (4 levels) in <top (required)>'
/home/pietere/HDD/Development/Attachments/build-couchdb/tasks/toolchain.rake:21:in `block (3 levels) in <top (required)>'
Tasks: TOP => default => couchdb:build => couchdb:couchdb => /home/pietere/HDD/Development/Attachments/build-couchdb/build/bin/couchdb => /home/pietere/HDD/Development/Attachments/build-couchdb/build/bin/autoconf2.69

Raspberry Pi B+ build error

Raspbian GNU/Linux 7
Received error after running rake

configure:14111: checking for correct temporary object destruction order
configure:14139: c++ -o conftest  -fno-strict-aliasing -pthread -march=armv7-a -marm -mfloat-abi=softfp  -pipe  -lpthread  conftest.C -ldl  1>&5
/usr/bin/ld: error: conftest uses VFP register arguments, /tmp/ccHjkPhl.o does not
/usr/bin/ld: failed to merge target specific data of file /tmp/ccHjkPhl.o
collect2: ld returned 1 exit status
configure: failed program was:
#line 14116 "configure"
#include "confdefs.h"
#ifdef __cplusplus
extern "C" void exit(int);
#endif
 class A {
             public:  A(int& x) : mValue(x) {}
                      ~A() { mValue--; }
                      operator char**() { return 0; }
             private:  int& mValue;
             };
             void func(char **arg) {}
             int m=2;
             void test() {
                  func(A(m));
                  if (m==1) m = 0;
             }
             int main() {
                 test();
                 return(m);
             }

Edit: The -march=armv7-a does not look correct as the Pi is having ARMv6 architecture

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.