Re: Link trouble on Solaris/SPARC

2008-12-05 Thread Joshua Boyd
On Dec 5, 2008, at 6:16 AM, Noah Slater wrote: On Fri, Dec 05, 2008 at 12:06:26AM -0500, Joshua Boyd wrote: In the end, it turned out that the ICU install in /usr/local/lib was 64bits, and that is why no amount of command line over-rides would make it link to /usr/local/lib/libicu* instead

Re: Link trouble on Solaris/SPARC

2008-12-05 Thread Noah Slater
On Fri, Dec 05, 2008 at 12:06:26AM -0500, Joshua Boyd wrote: > In the end, it turned out that the ICU install in /usr/local/lib was 64bits, > and that is why no amount of command line over-rides would make it link to > /usr/local/lib/libicu* instead of /usr/lib/libicu*. Great! I'm glad you got it

Re: Link trouble on Solaris/SPARC

2008-12-04 Thread Joshua Boyd
On Dec 4, 2008, at 6:35 PM, Joshua Boyd wrote: $ ldd /opt/couchdb-0.8.1/lib/couchdb/erlang/lib/couch-0.8.1- incubating/priv/lib/couch_erl_driver.so libicuuc.so.3 => /usr/lib/libicuuc.so.3 libicudata.so.3 => /usr/lib/libicudata.so.3 libicui18n.so.3 =>

Re: Link trouble on Solaris/SPARC

2008-12-04 Thread Joshua Boyd
On Thu, Dec 04, 2008 at 01:27:31PM +, Noah Slater wrote: > On Wed, Dec 03, 2008 at 03:56:35PM -0500, Joshua Boyd wrote: > > So, I guess the question is A) can I just use the old libicu that was > > already > > installed? B) how to I force this to use the new version in /usr/local/lib > > ins

Re: Link trouble on Solaris/SPARC

2008-12-04 Thread Noah Slater
On Wed, Dec 03, 2008 at 03:56:35PM -0500, Joshua Boyd wrote: > So, I guess the question is A) can I just use the old libicu that was already > installed? B) how to I force this to use the new version in /usr/local/lib > instead of the old version in /usr/lib? ICU comes with a script called icu-co

Link trouble on Solaris/SPARC

2008-12-03 Thread Joshua Boyd
I am trying to build 0.8.1 on Solaris Express on SPARC. Here is the error, the steps I took to install it are below: $ LD_LIBRARY_PATH=/opt/spidermonkey/lib/ ./couchdb Apache CouchDB 0.8.1-incubating (LogLevel=info) Apache CouchDB is starting. {"init terminating in do_boot","ld

Re: Solaris

2008-12-03 Thread Noah Slater
Maarten, I have created the following bug and should get to the fix pretty soon: https://issues.apache.org/jira/browse/COUCHDB-169 Please subscribe to this bug to stay updated. Thanks, -- Noah Slater, http://tumbolia.org/nslater

Re: Solaris

2008-11-20 Thread Maarten Thibaut
ng on Solaris (didn't do extensive testing so far though). You may want to have a our collaborative notes over there: - http://wiki.joyent.com/accelerators:setup-couchdb - http://discuss.joyent.com/viewtopic.php?id=24108 hth, Thibaut Barrère -- LoGeek [blog] http://evolvingworker.com - t

Re: Solaris

2008-11-20 Thread Thibaut Barrère
Hi Maarten, I got 0.8.1 running on Solaris (didn't do extensive testing so far though). You may want to have a our collaborative notes over there: - http://wiki.joyent.com/accelerators:setup-couchdb - http://discuss.joyent.com/viewtopic.php?id=24108 hth, Thibaut Barrère -- LoGeek [blog]

Re: Solaris

2008-11-20 Thread Maarten Thibaut
&a=view This seems reasonable, though checkbashisms doesn't report anything. I am wondering if your Solaris shell is POSIXly correct. Could you provide me with a pointer to its manual, please? It doesn't get more POSIX than Solaris :). $ /bin/sh $ echo $(echo yes) syntax error:

Re: Solaris

2008-11-19 Thread Noah Slater
On Thu, Nov 20, 2008 at 05:59:18AM +0100, Maarten Thibaut wrote: > The bin.diff fixes 3 occurrences like this, where an "if ! something" is > done. Sadly, that doesn't work on solaris /bin/sh: > > if ! echo 2> /dev/null >> $PID_FILE; then > > Replaced b

Re: Solaris

2008-11-19 Thread Maarten Thibaut
Hi there,First thanks to all who replied. I have a few patches for the sh vs. bash. bin.diff Description: Binary data   init.diff Description: Binary data The bin.diff fixes 3 occurrences like this, where an "if ! something" is done. Sadly, that doesn't work on solaris /bin/sh:if

Re: Solaris

2008-11-19 Thread Chris Anderson
n to unit test your design documents / views. I hope Solaris goes more smoothly for you now, Maarten. Chris -- Chris Anderson http://jchris.mfdz.com

Re: Solaris

2008-11-19 Thread Adam Kocoloski
trying to get couchdb working on Solaris. Attempts with release 0.9.0a (svn head) and 0.8.1 fail, explanations follow: * The scripts - such as bin/couchdb and bin/couchjs and etc/init.d/ couchdb seem to be written for the bash dialect, but mention /bin/sh at the top instead of /bin/bash. Cou

Re: Solaris

2008-11-19 Thread Noah Slater
On Wed, Nov 19, 2008 at 05:24:59AM +0100, Maarten Thibaut wrote: > * The scripts - such as bin/couchdb and bin/couchjs and etc/init.d/ > couchdb seem to be written for the bash dialect, but mention /bin/sh at > the top instead of /bin/bash. Could you fix that? If the do not work with a POSIX shell

Re: crash on startup (undef,[{crypto,start, Solaris)

2008-06-05 Thread Noah Slater
On Wed, Jun 04, 2008 at 10:17:47PM +0100, Mark James Adams wrote: > stat64("/opt/local/32/lib/erlang/lib/kernel-2.12.2/ebin/httpd_util.beam", > 0x08047070) Err#2 ENOENT > /1: > open64("/opt/local/32/lib/erlang/lib/kernel-2.12.2/ebin/httpd_util.beam", > O_RDONLY) Err#2 ENOENT > /1: > stat6

Re: crash on startup (undef,[{crypto,start, Solaris)

2008-06-05 Thread Noah Slater
Great, glad it's starting up, but I can't help with the hanging or this error. Damien, does any of this make sense to you? On Wed, Jun 04, 2008 at 10:10:43PM +0100, Mark James Adams wrote: > $ ./couchdb > couch 0.7.3a650275 (LogLevel=debug) > Apache CouchDB is starting. > [error] [<0.46.0>] {erro

Re: crash on startup (undef,[{crypto,start, Solaris)

2008-06-05 Thread Matthew Ford
Ahh.. Cheers Matt On Thu, Jun 5, 2008 at 12:25 PM, Jan Lehnardt <[EMAIL PROTECTED]> wrote: > Chances are that you upgraded to MacOS X 10.5.3 > > Try rebuilding erlang --without-hipe or reinstall via macports > with the +universal option. > > Cheers > Jan > > On Jun 5, 2008, at 13:08, Matthew Ford

Re: crash on startup (undef,[{crypto,start, Solaris)

2008-06-05 Thread Jan Lehnardt
Chances are that you upgraded to MacOS X 10.5.3 Try rebuilding erlang --without-hipe or reinstall via macports with the +universal option. Cheers Jan On Jun 5, 2008, at 13:08, Matthew Ford wrote: Hi, Somewhat unrelated but I upgraded to the latest couchdb from source, and I also get crashes o

Re: crash on startup (undef,[{crypto,start, Solaris)

2008-06-05 Thread Matthew Ford
Hi, Somewhat unrelated but I upgraded to the latest couchdb from source, and I also get crashes on start up, although it just says bus error. Any ideas? Matt On Wed, Jun 4, 2008 at 10:17 PM, Mark James Adams <[EMAIL PROTECTED]> wrote: >> {reason,{'EXIT',{error,{open_error,-10, > > Lookin

Re: crash on startup (undef,[{crypto,start, Solaris)

2008-06-04 Thread Mark James Adams
> {reason,{'EXIT',{error,{open_error,-10, Looking through the output from truss, I see A LOT of files that are trying to be opened that don't exist. E.g., stat64("/opt/local/32/lib/erlang/lib/kernel-2.12.2/ebin/httpd_util.beam", 0x08047070) Err#2 ENOENT /1: open64("/opt/local/32/lib

Re: crash on startup (undef,[{crypto,start, Solaris)

2008-06-04 Thread Mark James Adams
Noah, > What system and what openssl libraries do you installed? openssl-0.9.8e on OpenSolaris snv_62. What I've done now is go entirely 32-bit, so I've rebuilt openssl and erlang. $ erl Erlang (BEAM) emulator version 5.6.2 [source] [async-threads:0] [hipe] [kernel-poll:false] Eshell V5.6.2 (

Re: crash on startup (undef,[{crypto,start, Solaris)

2008-06-04 Thread Noah Slater
On Tue, Jun 03, 2008 at 09:21:06PM +0100, Mark James Adams wrote: > On Mon, Jun 2, 2008 at 9:48 PM, Bob Briski <[EMAIL PROTECTED]> wrote: > > Had something similar happen to me. Did you have openssl and did you use it > > when compiling erlang? > > I didn't, but I've tried now. I jumped through a

Re: crash on startup (undef,[{crypto,start, Solaris)

2008-06-03 Thread Mark James Adams
On Mon, Jun 2, 2008 at 9:48 PM, Bob Briski <[EMAIL PROTECTED]> wrote: > Had something similar happen to me. Did you have openssl and did you use it > when compiling erlang? I didn't, but I've tried now. I jumped through a lot of hoops but to get erlang to build with openssl (which was 64bit on my

Re: crash on startup (undef,[{crypto,start, Solaris)

2008-06-02 Thread Bob Briski
couchdb with ./configure --prefix=/tmp/couchdb --with-js-include=/opt/local/spidermonkey/include --with-js-lib=/opt/local/spidermonkey/lib and made a few modifications to the couchdb script (#!/bin/bash instead of !#/bin/sh -e, nawk instead of awk) to make it play nice on Solaris. The

crash on startup (undef,[{crypto,start, Solaris)

2008-06-02 Thread Mark James Adams
he couchdb script (#!/bin/bash instead of !#/bin/sh -e, nawk instead of awk) to make it play nice on Solaris. The output from truss is http://where.raysend.com/public/analysis/couchdb073.truss.out.txt. I don't have any experience with truss, but I see a lot of ERRENT (file not found) error