couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Stevens (Gmail)" <wickedg...@gmail.com>
Subject Re: Mac CouchDB binaries are ready to test
Date Wed, 20 Feb 2013 20:08:30 GMT
Works for me.  +1.

Eli


On Mon, Feb 18, 2013 at 3:52 PM, Jan Lehnardt <jan@apache.org> wrote:

> And fixed a linker issue that was brought up on user@
>
>     http://people.apache.org/~jan/dist/packages/mac/1.2.1/
>
> Cheers
> Jan
> --
>
>
>
> On Feb 18, 2013, at 01:38 , Jan Lehnardt <jan@apache.org> wrote:
>
> > Ok, back to using the correct couchjs path:
> >
> > http://people.apache.org/~jan/dist/packages/mac/1.2.1/
> >
> > Please test & report, thanks!
> >
> > Jan
> > --
> >
> >
> >
> > On Feb 15, 2013, at 22:49 , Jan Lehnardt <jan@apache.org> wrote:
> >
> >>
> >> On Feb 15, 2013, at 22:34 , Hans J Schroeder <hs@cloudno.de> wrote:
> >>
> >>>
> >>> On Feb 15, 2013, at 5:48 PM, Jan Lehnardt <jan@apache.org> wrote:
> >>>
> >>>> Note: uploaded a new version to the same location that fixes an issue
> if you are *not* upgrading (or otherwise don’t have a
> ~/Library/Preferences/couchdb-server.ini
> >>>>
> >>>> Jan
> >>>> --
> >>>>
> >>>> On Feb 15, 2013, at 15:40 , Jan Lehnardt <jan@apache.org> wrote:
> >>>>
> >>>>> Okay, cool, I think I've got this:
> >>>>>
> >>>>> http://people.apache.org/~jan/dist/packages/mac/1.2.1/
> >>>>>
> >>>>> Has a binary and signatures (please test) for a 1.2.1 that behaves
> like 1.2.0 that it picks up ~/Library/Preferences/couchdb-server.ini
> >>>>>
> >>>>> Commits I made for this:
> >>>>>
> >>>>>
> https://github.com/janl/couchdbx-app-1/commit/3110ca47c33878fb4e89ccbab988683afcc5a837
> >>>>>
> https://github.com/janl/couchdbx-app-1/commit/36dffe68b63351ba2c264c3501a9cf5cf3b07857
> >>>>>
> https://github.com/janl/couchdbx-app-1/commit/ee9735b1a672d7e524ab4c94850c137ec9abfeac
> >>>>>
> https://github.com/janl/couchdbx-app-1/commit/a9146c1adbd97aa8e93bb3968c8c18abb72c9e61
> >>>>>
> >>>>> Please test the binary one more time, I’d especially like to hear
> upgrade stories, where customisations (say create an admin) from 1.2.0
> still apply when you run 1.2.1.
> >>>>>
> >>>>> Again, the main test suite will mostly give some trouble, but
> "Verify Installation" should be all fine.
> >>>>>
> >>>>> Woot Woot!
> >>>>> Jan
> >>>>> --
> >>>>>
> >>>>>
> >>>>>
> >>>>> On Feb 15, 2013, at 14:02 , Jan Lehnardt <jan@apache.org>
wrote:
> >>>>>
> >>>>>>
> >>>>>> On Feb 15, 2013, at 13:45 , Jan Lehnardt <jan@apache.org>
wrote:
> >>>>>>
> >>>>>>>
> >>>>>>> On Feb 15, 2013, at 13:43 , Jan Lehnardt <jan@apache.org>
wrote:
> >>>>>>>
> >>>>>>>>
> >>>>>>>> On Feb 14, 2013, at 22:50 , Jan Lehnardt <jan@apache.org>
wrote:
> >>>>>>>>
> >>>>>>>>>
> >>>>>>>>> On Feb 14, 2013, at 21:44 , Hans J Schroeder <hs@cloudno.de>
> wrote:
> >>>>>>>>>
> >>>>>>>>>> +1 It runs on 10.8.2.
> >>>>>>>>>>
> >>>>>>>>>> Props on getting this running on earlier OSXes.
I had no luck
> with this. I tried different compiler switches like
> "-mmacosx-version-min=10.6".
> >>>>>>>>>> I even used a completely new tool chain based
on gcc-mp-4.5. I
> believe everything build on 10.8 can only run on 10.8.
> >>>>>>>>>
> >>>>>>>>> The magic is that I compiled it on 10.7. I’ll
keep a VM around
> for that.
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>> On point though. I have checked in a modified
version of the
> couchdb start script (from master). It allows configuration via the
> environment $COUCHDB_ADDITIONAL_CONFIG_FILE. This allows to move the logs
> and database files to the user file space. Doing so the app can run on r/o
> paths.
> >>>>>>>>>> As this was also used in version 1.2 the update
to 1.2.1 will
> find old databases. I guess we can copy this over as it is done with the
> "erl" script.
> >>>>>>>>>
> >>>>>>>>> Hm, I am not too keen on diverting from the shipping
versions,
> but would this mean if we ship 1.2.1 as is, that people wouldn’t see their
> 1.2.0 databases, unless I configure the same
> $COUCHDB_ADDITIONAL_CONFIG_FILE? Where does the config file live?
> >>>>>>>>
> >>>>>>>> Fun, I can’t get the 1.2.0 binary* to run on any of
my Macs. It
> crashes on startup, no useful log information.
> >>>>>>>
> >>>>>>> Curiously, running ./bin/couchdb from within the bundle
works just
> fine.
> >>>>>>
> >>>>>> rm ~/Library/Preferences/*couch* helped.
> >>>>>>
> >>>>>> Just curious, why aren’t we using -a /path/to/file instead
of the
> ADDITIONAL_CONFIG_FILE?
> >>>>>>
> >>>>>> I might just rewrite the ObjC code to use -a, to be 1.2.x
> compatible without patching ./bin/couchdb
> >>>>>>
> >>>>>> Best
> >>>>>> Jan
> >>>>>> --
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>> So I can’t test upgrades. For anyone still having
a working 1.2.0
> Mac binary here, can you tell me, what the non-customised database_dir (and
> other file paths are)?
> >>>>>>>>
> >>>>>>>> We need to make this solid.
> >>>>>>>>
> >>>>>>>> *
> https://github.com/downloads/cloudnode/couchdbx-app/CouchDB%20Server-1.2.0-OS%20X%2010.7.3.zipor
> https://github.com/downloads/cloudnode/couchdbx-app/CouchDB%20Server-1.2.0-20120614.zipvia
> https://github.com/cloudnode/couchdbx-app/downloads*
> >>>>>>>>
> >>>>>>>> Best
> >>>>>>>> Jan
> >>>>>>>> --
> >>>>>>>>
> >>>>>>>>>
> >>>>>>>>> Best
> >>>>>>>>> Jan
> >>>>>>>>> --
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> - Hans
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> On Feb 14, 2013, at 6:24 PM, Jan Lehnardt <jan@apache.org>
> wrote:
> >>>>>>>>>>
> >>>>>>>>>>> Same link, next try:
> >>>>>>>>>>>
> >>>>>>>>>>> http://people.apache.org/~jan/Apache-CouchDB-1.2.1.zip
> >>>>>>>>>>>
> >>>>>>>>>>> This works on 10.7 and 10.8 for me.
> >>>>>>>>>>>
> >>>>>>>>>>> If I get a few +1s here, I’ll put it on
the site.
> >>>>>>>>>>>
> >>>>>>>>>>> Best
> >>>>>>>>>>> Jan
> >>>>>>>>>>> --
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> On Feb 14, 2013, at 17:18 , Jan Lehnardt
<jan@apache.org>
> wrote:
> >>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>> On Feb 14, 2013, at 17:13 , Jason Smith
<jhs@iriscouch.com>
> wrote:
> >>>>>>>>>>>>
> >>>>>>>>>>>>> Yeah, relocatable binaries has so-far
been a non-goal for
> build-couchdb,
> >>>>>>>>>>>>> simply since it is kind of tedious.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> If you still have access to the
install-couchdb project,
> that has a pretty
> >>>>>>>>>>>>> decent implementation of a post-install
script which fixes
> paths and things.
> >>>>>>>>>>>>
> >>>>>>>>>>>> Yup, that’s where I am. The XCode
Project includes an
> adaptation of the orginal
> >>>>>>>>>>>> script that is slightly off, but I hope
I can fix that. I
> don’t think this needs
> >>>>>>>>>>>> to live in build-couchdb.
> >>>>>>>>>>>>
> >>>>>>>>>>>> Best
> >>>>>>>>>>>> Jan
> >>>>>>>>>>>> --
> >>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> On Thu, Feb 14, 2013 at 10:54 PM,
Jan Lehnardt <
> jan@apache.org> wrote:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> On Feb 14, 2013, at 16:48 ,
Jason Smith <jhs@iriscouch.com>
> wrote:
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Jan, are you still using
build-couchdb for this? Sorry,
> I've lost track.
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> It is failing for me too
on my mac so I will put some work
> in to get
> >>>>>>>>>>>>>> things
> >>>>>>>>>>>>>>> working again. I guess I'll
see you in the GitHub issues
> if so.
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> See Hans’s PRs (or his master
branch
> cloudnode/build-couchdb) that makes
> >>>>>>>>>>>>>> things
> >>>>>>>>>>>>>> work on my end.
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> The only thing I am still fiddling
with is automating the
> relocatable Mac
> >>>>>>>>>>>>>> Binary
> >>>>>>>>>>>>>> creation.
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> Thx!
> >>>>>>>>>>>>>> Jan
> >>>>>>>>>>>>>> --
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> On Thu, Feb 14, 2013 at
9:49 PM, Jan Lehnardt <
> jan@apache.org> wrote:
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> Alexander reports:
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> [15:48:58] <Kxepal>
     jan____:
> /couchdbx-core/bin/couchdb: line 263:
> >>>>>>>>>>>>>>>> /Users/jan/build/bin/erl:
No such file or directory on
> 10.8
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> Back to the drawing
board.
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> On Feb 14, 2013, at
15:41 , Jan Lehnardt <jan@apache.org>
> wrote:
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> I had a stab at
this:
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> https://github.com/cloudnode/couchdbx-app/issues/4
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> And seem to be able
to build a correct zip file for 10.7
> and 10.8 on
> >>>>>>>>>>>>>>>> 10.7.
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> Can you all give
it a try and we can put it up on the
> website:
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> http://people.apache.org/~jan/Apache-CouchDB-1.2.1.zip
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> Cheers
> >>>>>>>>>>>>>>>>> Jan
> >>>>>>>>>>>>>>>>> --
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> On Feb 12, 2013,
at 21:38 , Jan Lehnardt <jan@apache.org>
> wrote:
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> On Jan 20, 2013,
at 20:55 , Hans J Schroeder <
> hs@cloudno.de> wrote:
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> On Jan 20,
2013, at 6:34 PM, Jan Lehnardt <
> jan@apache.org> wrote:
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> On Jan
20, 2013, at 15:25 , Hans J Schroeder <
> hs@cloudno.de> wrote:
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>
On Jan 20, 2013, at 2:49 PM, Jan Lehnardt <
> jan@apache.org> wrote:
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>
On Jan 19, 2013, at 17:22 , Hans J Schroeder <
> hs@cloudno.de>
> >>>>>>>>>>>>>> wrote:
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>
Hi,
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>
The Mac CouchDB 1.2.1 binaries are ready to test.
> I tested on
> >>>>>>>>>>>>>>>> Mountain Lion and all
tests went through.
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>
http://gitweb.cloudno.de/downloads/
> >>>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>
- Hans
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>
With “Verify Installation” or the basics.js test I
> get
> >>>>>>>>>>>>>>>> “os_process_error,
133”. When running `couchjs` solo I
> get:
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>>
./bin/couchjs
> >>>>>>>>>>>>>>>>>>>>>>
dyld: Library not loaded:
> /opt/local/lib/libidn.11.dylib
> >>>>>>>>>>>>>>>>>>>>>>
Referenced from: /Users/jan/Downloads/Apache
> >>>>>>>>>>>>>>>> CouchDB.app/Contents/Resources/couchdbx-core/./bin/couchjs
> >>>>>>>>>>>>>>>>>>>>>>
Reason: image not found
> >>>>>>>>>>>>>>>>>>>>>>
Trace/BPT trap: 5
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>
Any ideas?
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>
The rest looks very solid, thanks! :)
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>>
Cheers
> >>>>>>>>>>>>>>>>>>>>>>
Jan
> >>>>>>>>>>>>>>>>>>>>>>
--
> >>>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>
Hi Jan,
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>
Thanks for testing. I wil have a look at it.
> >>>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>>>
- Hans
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> Hey
Hans,
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> I tried
building one from source an ran into a few
> issues that I
> >>>>>>>>>>>>>>>> wrote up here:
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> https://github.com/cloudnode/couchdbx-app/issues/4
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> I feel
we are very close to shipping something solid.
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> Jason,
I found a few issues build-couchdb:
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> https://github.com/iriscouch/build-couchdb/issues/66
> >>>>>>>>>>>>>>>>>>>> https://github.com/iriscouch/build-couchdb/issues/56
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> I worked
around it by temporarily unlinking help2man
> in Homebrew,
> >>>>>>>>>>>>>> but
> >>>>>>>>>>>>>>>> that
> >>>>>>>>>>>>>>>>>>>> can’t
be the proper solution :)
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>> Best
> >>>>>>>>>>>>>>>>>>>> Jan
> >>>>>>>>>>>>>>>>>>>> --
> >>>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> Hi,
> >>>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> I have found
the bug. Here are the updated binaries:
> >>>>>>>>>>>>>>>> http://gitweb.cloudno.de/downloads/
> >>>>>>>>>>>>>>>>>>> I have moved
the bugged version into the rejected
> directory.
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> I tried rebuilding
here, and I still get the linkage to
> the wrong
> >>>>>>>>>>>>>>>> ./bin/erl as outlined
> >>>>>>>>>>>>>>>>>> in https://github.com/cloudnode/couchdbx-app/issues/4—
How did you
> >>>>>>>>>>>>>>>> fix that and are these
> >>>>>>>>>>>>>>>>>> fixes online?
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> I also had to
tmp-unlink help2man again as couchjs -h
> was Abort
> >>>>>>>>>>>>>>>> Trapping.
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> Best
> >>>>>>>>>>>>>>>>>> Jan
> >>>>>>>>>>>>>>>>>> --
> >>>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> --
> >>>>>>>>>>>>>>> Iris Couch
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> --
> >>>>>>>>>>>>> Iris Couch
> >>>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>
> >>>>
> >>>
> >>>
> >>> Hi,
> >>>
> >>> -1 on 10.8.2 for me.
> >>>
> >>> I have the upgrade scenario. CouchDB starts and I have all my
> databases. That's great.
> >>>
> >>> But the installation check fails. The view server dies with "Illegal
> instruction: 4" when I run bin/couchjs. The last version was ok.
> >>
> >> Doh, good call.
> >>
> >> For some reason bin/couchjs fails (Jason?), yet lib/couchdb/bin/couchjs
> works just fine, so I set the default query server to that, but that breaks
> the upgrade case, obviously, I didn’t realise that.
> >>
> >> My workaround now would be to just copy lib/couchdb/bin/couchjs into
> bin/couchjs after cleaning up the paths and reverting to use bin/couchjs
> >>
> >> Sounds good?
> >>
> >> * * *
> >>
> >> Aside, I made a new repo https://github.com/janl/couchdb-mac-app that
> doesn’t have the (accidental commit) of the 1.2.1 zip binary in the reflog.
> >>
> >> And I pushed https://github.com/janl/build-couchdb-mac which contains
> the script for automating the whole procedure.
> >>
> >> Cheers
> >> Jan
> >> --
> >>
> >
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message