You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by Jan Lehnardt <ja...@apache.org> on 2013/02/12 21:38:39 UTC

Re: Mac CouchDB binaries are ready to test

On Jan 20, 2013, at 20:55 , Hans J Schroeder <hs...@cloudno.de> wrote:

> 
> On Jan 20, 2013, at 6:34 PM, Jan Lehnardt <ja...@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 <ja...@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
--


Re: Mac CouchDB binaries are ready to test

Posted by "Eli Stevens (Gmail)" <wi...@gmail.com>.
Works for me.  +1.

Eli


On Mon, Feb 18, 2013 at 3:52 PM, Jan Lehnardt <ja...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@apache.org> wrote:
> >>>>>
> >>>>>>
> >>>>>> On Feb 15, 2013, at 13:45 , Jan Lehnardt <ja...@apache.org> wrote:
> >>>>>>
> >>>>>>>
> >>>>>>> On Feb 15, 2013, at 13:43 , Jan Lehnardt <ja...@apache.org> wrote:
> >>>>>>>
> >>>>>>>>
> >>>>>>>> On Feb 14, 2013, at 22:50 , Jan Lehnardt <ja...@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 <ja...@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 <ja...@apache.org>
> wrote:
> >>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>> On Feb 14, 2013, at 17:13 , Jason Smith <jh...@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 <jh...@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 <ja...@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 <ja...@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
> >> --
> >>
> >
>
>

Re: Mac CouchDB binaries are ready to test

Posted by Jan Lehnardt <ja...@apache.org>.
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 <ja...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@apache.org> wrote:
>>>>> 
>>>>>> 
>>>>>> On Feb 15, 2013, at 13:45 , Jan Lehnardt <ja...@apache.org> wrote:
>>>>>> 
>>>>>>> 
>>>>>>> On Feb 15, 2013, at 13:43 , Jan Lehnardt <ja...@apache.org> wrote:
>>>>>>> 
>>>>>>>> 
>>>>>>>> On Feb 14, 2013, at 22:50 , Jan Lehnardt <ja...@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.zip or https://github.com/downloads/cloudnode/couchdbx-app/CouchDB%20Server-1.2.0-20120614.zip via https://github.com/cloudnode/couchdbx-app/downloads*
>>>>>>>> 
>>>>>>>> Best
>>>>>>>> Jan
>>>>>>>> --
>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> Best
>>>>>>>>> Jan
>>>>>>>>> --
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> - Hans
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> On Feb 14, 2013, at 6:24 PM, Jan Lehnardt <ja...@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 <ja...@apache.org> wrote:
>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> On Feb 14, 2013, at 17:13 , Jason Smith <jh...@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 <ja...@apache.org> wrote:
>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> On Feb 14, 2013, at 16:48 , Jason Smith <jh...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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
>> -- 
>> 
> 


Re: Mac CouchDB binaries are ready to test

Posted by Jan Lehnardt <ja...@apache.org>.
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 <ja...@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 <ja...@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 <ja...@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 <ja...@apache.org> wrote:
>>>> 
>>>>> 
>>>>> On Feb 15, 2013, at 13:45 , Jan Lehnardt <ja...@apache.org> wrote:
>>>>> 
>>>>>> 
>>>>>> On Feb 15, 2013, at 13:43 , Jan Lehnardt <ja...@apache.org> wrote:
>>>>>> 
>>>>>>> 
>>>>>>> On Feb 14, 2013, at 22:50 , Jan Lehnardt <ja...@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.zip or https://github.com/downloads/cloudnode/couchdbx-app/CouchDB%20Server-1.2.0-20120614.zip via https://github.com/cloudnode/couchdbx-app/downloads*
>>>>>>> 
>>>>>>> Best
>>>>>>> Jan
>>>>>>> --
>>>>>>> 
>>>>>>>> 
>>>>>>>> Best
>>>>>>>> Jan
>>>>>>>> --
>>>>>>>> 
>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> - Hans
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> On Feb 14, 2013, at 6:24 PM, Jan Lehnardt <ja...@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 <ja...@apache.org> wrote:
>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> On Feb 14, 2013, at 17:13 , Jason Smith <jh...@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 <ja...@apache.org> wrote:
>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> On Feb 14, 2013, at 16:48 , Jason Smith <jh...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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
> -- 
> 


Re: Mac CouchDB binaries are ready to test

Posted by Jan Lehnardt <ja...@apache.org>.
On Feb 15, 2013, at 22:34 , Hans J Schroeder <hs...@cloudno.de> wrote:

> 
> On Feb 15, 2013, at 5:48 PM, Jan Lehnardt <ja...@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 <ja...@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 <ja...@apache.org> wrote:
>>> 
>>>> 
>>>> On Feb 15, 2013, at 13:45 , Jan Lehnardt <ja...@apache.org> wrote:
>>>> 
>>>>> 
>>>>> On Feb 15, 2013, at 13:43 , Jan Lehnardt <ja...@apache.org> wrote:
>>>>> 
>>>>>> 
>>>>>> On Feb 14, 2013, at 22:50 , Jan Lehnardt <ja...@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.zip or https://github.com/downloads/cloudnode/couchdbx-app/CouchDB%20Server-1.2.0-20120614.zip via https://github.com/cloudnode/couchdbx-app/downloads*
>>>>>> 
>>>>>> Best
>>>>>> Jan
>>>>>> --
>>>>>> 
>>>>>>> 
>>>>>>> Best
>>>>>>> Jan
>>>>>>> --
>>>>>>> 
>>>>>>> 
>>>>>>>> 
>>>>>>>> - Hans
>>>>>>>> 
>>>>>>>> 
>>>>>>>> On Feb 14, 2013, at 6:24 PM, Jan Lehnardt <ja...@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 <ja...@apache.org> wrote:
>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> On Feb 14, 2013, at 17:13 , Jason Smith <jh...@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 <ja...@apache.org> wrote:
>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> On Feb 14, 2013, at 16:48 , Jason Smith <jh...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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
-- 


Re: Mac CouchDB binaries are ready to test

Posted by Hans J Schroeder <hs...@cloudno.de>.
On Feb 15, 2013, at 5:48 PM, Jan Lehnardt <ja...@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 <ja...@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 <ja...@apache.org> wrote:
>> 
>>> 
>>> On Feb 15, 2013, at 13:45 , Jan Lehnardt <ja...@apache.org> wrote:
>>> 
>>>> 
>>>> On Feb 15, 2013, at 13:43 , Jan Lehnardt <ja...@apache.org> wrote:
>>>> 
>>>>> 
>>>>> On Feb 14, 2013, at 22:50 , Jan Lehnardt <ja...@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.zip or https://github.com/downloads/cloudnode/couchdbx-app/CouchDB%20Server-1.2.0-20120614.zip via https://github.com/cloudnode/couchdbx-app/downloads*
>>>>> 
>>>>> Best
>>>>> Jan
>>>>> --
>>>>> 
>>>>>> 
>>>>>> Best
>>>>>> Jan
>>>>>> --
>>>>>> 
>>>>>> 
>>>>>>> 
>>>>>>> - Hans
>>>>>>> 
>>>>>>> 
>>>>>>> On Feb 14, 2013, at 6:24 PM, Jan Lehnardt <ja...@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 <ja...@apache.org> wrote:
>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> On Feb 14, 2013, at 17:13 , Jason Smith <jh...@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 <ja...@apache.org> wrote:
>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> On Feb 14, 2013, at 16:48 , Jason Smith <jh...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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.

- Hans



Re: Mac CouchDB binaries are ready to test

Posted by Jan Lehnardt <ja...@apache.org>.
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 <ja...@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 <ja...@apache.org> wrote:
> 
>> 
>> On Feb 15, 2013, at 13:45 , Jan Lehnardt <ja...@apache.org> wrote:
>> 
>>> 
>>> On Feb 15, 2013, at 13:43 , Jan Lehnardt <ja...@apache.org> wrote:
>>> 
>>>> 
>>>> On Feb 14, 2013, at 22:50 , Jan Lehnardt <ja...@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.zip or https://github.com/downloads/cloudnode/couchdbx-app/CouchDB%20Server-1.2.0-20120614.zip via https://github.com/cloudnode/couchdbx-app/downloads*
>>>> 
>>>> Best
>>>> Jan
>>>> --
>>>> 
>>>>> 
>>>>> Best
>>>>> Jan
>>>>> --
>>>>> 
>>>>> 
>>>>>> 
>>>>>> - Hans
>>>>>> 
>>>>>> 
>>>>>> On Feb 14, 2013, at 6:24 PM, Jan Lehnardt <ja...@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 <ja...@apache.org> wrote:
>>>>>>> 
>>>>>>>> 
>>>>>>>> On Feb 14, 2013, at 17:13 , Jason Smith <jh...@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 <ja...@apache.org> wrote:
>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> On Feb 14, 2013, at 16:48 , Jason Smith <jh...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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
>>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>> 
>> 
> 


Re: Mac CouchDB binaries are ready to test

Posted by Jan Lehnardt <ja...@apache.org>.
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 <ja...@apache.org> wrote:

> 
> On Feb 15, 2013, at 13:45 , Jan Lehnardt <ja...@apache.org> wrote:
> 
>> 
>> On Feb 15, 2013, at 13:43 , Jan Lehnardt <ja...@apache.org> wrote:
>> 
>>> 
>>> On Feb 14, 2013, at 22:50 , Jan Lehnardt <ja...@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.zip or https://github.com/downloads/cloudnode/couchdbx-app/CouchDB%20Server-1.2.0-20120614.zip via https://github.com/cloudnode/couchdbx-app/downloads*
>>> 
>>> Best
>>> Jan
>>> --
>>> 
>>>> 
>>>> Best
>>>> Jan
>>>> --
>>>> 
>>>> 
>>>>> 
>>>>> - Hans
>>>>> 
>>>>> 
>>>>> On Feb 14, 2013, at 6:24 PM, Jan Lehnardt <ja...@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 <ja...@apache.org> wrote:
>>>>>> 
>>>>>>> 
>>>>>>> On Feb 14, 2013, at 17:13 , Jason Smith <jh...@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 <ja...@apache.org> wrote:
>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> On Feb 14, 2013, at 16:48 , Jason Smith <jh...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>> 
>> 
> 


Re: Mac CouchDB binaries are ready to test

Posted by Jan Lehnardt <ja...@apache.org>.
On Feb 15, 2013, at 13:45 , Jan Lehnardt <ja...@apache.org> wrote:

> 
> On Feb 15, 2013, at 13:43 , Jan Lehnardt <ja...@apache.org> wrote:
> 
>> 
>> On Feb 14, 2013, at 22:50 , Jan Lehnardt <ja...@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.zip or https://github.com/downloads/cloudnode/couchdbx-app/CouchDB%20Server-1.2.0-20120614.zip via https://github.com/cloudnode/couchdbx-app/downloads*
>> 
>> Best
>> Jan
>> --
>> 
>>> 
>>> Best
>>> Jan
>>> --
>>> 
>>> 
>>>> 
>>>> - Hans
>>>> 
>>>> 
>>>> On Feb 14, 2013, at 6:24 PM, Jan Lehnardt <ja...@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 <ja...@apache.org> wrote:
>>>>> 
>>>>>> 
>>>>>> On Feb 14, 2013, at 17:13 , Jason Smith <jh...@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 <ja...@apache.org> wrote:
>>>>>>> 
>>>>>>>> 
>>>>>>>> On Feb 14, 2013, at 16:48 , Jason Smith <jh...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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
>>>>>> 
>>>>> 
>>>> 
>>> 
>> 
> 


Re: Mac CouchDB binaries are ready to test

Posted by Jan Lehnardt <ja...@apache.org>.
On Feb 15, 2013, at 13:43 , Jan Lehnardt <ja...@apache.org> wrote:

> 
> On Feb 14, 2013, at 22:50 , Jan Lehnardt <ja...@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.


> 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.zip or https://github.com/downloads/cloudnode/couchdbx-app/CouchDB%20Server-1.2.0-20120614.zip via https://github.com/cloudnode/couchdbx-app/downloads*
> 
> Best
> Jan
> --
> 
>> 
>> Best
>> Jan
>> --
>> 
>> 
>>> 
>>> - Hans
>>> 
>>> 
>>> On Feb 14, 2013, at 6:24 PM, Jan Lehnardt <ja...@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 <ja...@apache.org> wrote:
>>>> 
>>>>> 
>>>>> On Feb 14, 2013, at 17:13 , Jason Smith <jh...@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 <ja...@apache.org> wrote:
>>>>>> 
>>>>>>> 
>>>>>>> On Feb 14, 2013, at 16:48 , Jason Smith <jh...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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
>>>>> 
>>>> 
>>> 
>> 
> 


Re: Mac CouchDB binaries are ready to test

Posted by Jan Lehnardt <ja...@apache.org>.
On Feb 14, 2013, at 22:50 , Jan Lehnardt <ja...@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.

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.zip or https://github.com/downloads/cloudnode/couchdbx-app/CouchDB%20Server-1.2.0-20120614.zip via https://github.com/cloudnode/couchdbx-app/downloads*

Best
Jan
--

> 
> Best
> Jan
> --
> 
> 
>> 
>> - Hans
>> 
>> 
>> On Feb 14, 2013, at 6:24 PM, Jan Lehnardt <ja...@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 <ja...@apache.org> wrote:
>>> 
>>>> 
>>>> On Feb 14, 2013, at 17:13 , Jason Smith <jh...@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 <ja...@apache.org> wrote:
>>>>> 
>>>>>> 
>>>>>> On Feb 14, 2013, at 16:48 , Jason Smith <jh...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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
>>>> 
>>> 
>> 
> 


Re: Mac CouchDB binaries are ready to test

Posted by Jan Lehnardt <ja...@apache.org>.
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?

Best
Jan
--


> 
> - Hans
> 
> 
> On Feb 14, 2013, at 6:24 PM, Jan Lehnardt <ja...@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 <ja...@apache.org> wrote:
>> 
>>> 
>>> On Feb 14, 2013, at 17:13 , Jason Smith <jh...@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 <ja...@apache.org> wrote:
>>>> 
>>>>> 
>>>>> On Feb 14, 2013, at 16:48 , Jason Smith <jh...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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
>>> 
>> 
> 


Re: Mac CouchDB binaries are ready to test

Posted by Hans J Schroeder <hs...@cloudno.de>.
+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.

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.

- Hans


On Feb 14, 2013, at 6:24 PM, Jan Lehnardt <ja...@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 <ja...@apache.org> wrote:
> 
>> 
>> On Feb 14, 2013, at 17:13 , Jason Smith <jh...@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 <ja...@apache.org> wrote:
>>> 
>>>> 
>>>> On Feb 14, 2013, at 16:48 , Jason Smith <jh...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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
>> 
> 


Re: Mac CouchDB binaries are ready to test

Posted by Alexander Shorin <kx...@gmail.com>.
+1 It works on 10.8

Tests are mostly passed except those one who makes `_restart` call:
http://pastebin.ca/2313967
^^^ just a single case since every `_restart` call ends with crush log

The `replicator_db` test case makes server crush with next reports:
http://pastebin.ca/2313965
http://pastebin.ca/2313966
--
,,,^..^,,,


On Thu, Feb 14, 2013 at 9:24 PM, Jan Lehnardt <ja...@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 <ja...@apache.org> wrote:
>
>>
>> On Feb 14, 2013, at 17:13 , Jason Smith <jh...@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 <ja...@apache.org> wrote:
>>>
>>>>
>>>> On Feb 14, 2013, at 16:48 , Jason Smith <jh...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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
>>
>

Re: Mac CouchDB binaries are ready to test

Posted by Jan Lehnardt <ja...@apache.org>.
On Feb 14, 2013, at 19:56 , "Eli Stevens (Gmail)" <wi...@gmail.com> wrote:

> Ahh, in that case:  "Your installation looks fine. Time to Relax."
> 
> +1
> 
> Is there a jira ticket / release note / mailing list thread / wiki page
> that talks about the _restart issue?  Now I'm curious what the underlying
> problem is.

https://gist.github.com/fdmanana/1199903


> 
> Thanks,
> Eli
> 
> 
> On Thu, Feb 14, 2013 at 10:51 AM, Jan Lehnardt <ja...@apache.org> wrote:
> 
>> Thanks Eli,
>> 
>> the test suite actually behaves as expected here. As long as "Verify
>> Installation"
>> works fine, this is good to go.
>> 
>> We also should see how we can solve the /_restart crashes permanently, but
>> if I
>> understand the situation correctly, there isn’t much we can do other than
>> prodding
>> other projects.
>> 
>> Best
>> Jan
>> --
>> 
>> 
>> 
>> On Feb 14, 2013, at 19:24 , "Eli Stevens (Gmail)" <wi...@gmail.com>
>> wrote:
>> 
>>> As best I can recall, I did the following under OSX 10.7.5:
>>> 
>>> - Download the .zip
>>> - Decompress it
>>> - Copy it to applications
>>> - Doubleclick Apache CouchDB to start it
>>> - Ran a test script that I have for a library of mine (that's all of the
>>> couchable stuff in the logs), which worked fine.
>>> - Poked around in the UI a bit using the latest beta build of Firefox
>> (this
>>> might have overlapped the couchable tests).
>>> - Disabled Firebug (but didn't restart FF, not sure if that's important).
>>> - Ran the test suite.
>>> - Got a notification that Apache CouchDB had crashed.
>>> - Put the logs on gist:
>>> https://gist.github.com/wickedgrey/e5e566b999fe61f7432b  Errors
>> (restarts?)
>>> start around line 500, but don't seem to actually bring down the server.
>>> The crash stuff is at the end.
>>> 
>>> I restarted couchdb and tried to let the tests continue to run, but I am
>>> pretty sure they were borked by that point.  I can supply those logs too
>>> (it crashed again shortly after I tried to restart it).  Anything else I
>>> can provide?
>>> 
>>> I should note that I have the 1.2.0 "CouchDB Server" OSX binary as well,
>>> though it obviously wasn't running at the time.  I don't think I'd ever
>> run
>>> the test suite for that version, though it had been working fine for my
>>> light use otherwise (dev testing and the like).
>>> 
>>> Eli
>>> 
>>> 
>>> On Thu, Feb 14, 2013 at 9:44 AM, Ryan Ramage <ry...@gmail.com>
>> wrote:
>>> 
>>>> +1 on 10.6.8
>>>> 
>>>> 
>>>> 
>>>> On Thu, Feb 14, 2013 at 10:29 AM, Robert Newson <rn...@apache.org>
>>>> wrote:
>>>> 
>>>>> +1 on 10.8.2.
>>>>> 
>>>>> On 14 February 2013 17:24, Jan Lehnardt <ja...@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 <ja...@apache.org> wrote:
>>>>>> 
>>>>>>> 
>>>>>>> On Feb 14, 2013, at 17:13 , Jason Smith <jh...@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 <ja...@apache.org>
>>>> wrote:
>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> On Feb 14, 2013, at 16:48 , Jason Smith <jh...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>> 
>> 


Re: Mac CouchDB binaries are ready to test

Posted by "Eli Stevens (Gmail)" <wi...@gmail.com>.
Ahh, in that case:  "Your installation looks fine. Time to Relax."

+1

Is there a jira ticket / release note / mailing list thread / wiki page
that talks about the _restart issue?  Now I'm curious what the underlying
problem is.

Thanks,
Eli


On Thu, Feb 14, 2013 at 10:51 AM, Jan Lehnardt <ja...@apache.org> wrote:

> Thanks Eli,
>
> the test suite actually behaves as expected here. As long as "Verify
> Installation"
> works fine, this is good to go.
>
> We also should see how we can solve the /_restart crashes permanently, but
> if I
> understand the situation correctly, there isn’t much we can do other than
> prodding
> other projects.
>
> Best
> Jan
> --
>
>
>
> On Feb 14, 2013, at 19:24 , "Eli Stevens (Gmail)" <wi...@gmail.com>
> wrote:
>
> > As best I can recall, I did the following under OSX 10.7.5:
> >
> > - Download the .zip
> > - Decompress it
> > - Copy it to applications
> > - Doubleclick Apache CouchDB to start it
> > - Ran a test script that I have for a library of mine (that's all of the
> > couchable stuff in the logs), which worked fine.
> > - Poked around in the UI a bit using the latest beta build of Firefox
> (this
> > might have overlapped the couchable tests).
> > - Disabled Firebug (but didn't restart FF, not sure if that's important).
> > - Ran the test suite.
> > - Got a notification that Apache CouchDB had crashed.
> > - Put the logs on gist:
> > https://gist.github.com/wickedgrey/e5e566b999fe61f7432b  Errors
> (restarts?)
> > start around line 500, but don't seem to actually bring down the server.
> > The crash stuff is at the end.
> >
> > I restarted couchdb and tried to let the tests continue to run, but I am
> > pretty sure they were borked by that point.  I can supply those logs too
> > (it crashed again shortly after I tried to restart it).  Anything else I
> > can provide?
> >
> > I should note that I have the 1.2.0 "CouchDB Server" OSX binary as well,
> > though it obviously wasn't running at the time.  I don't think I'd ever
> run
> > the test suite for that version, though it had been working fine for my
> > light use otherwise (dev testing and the like).
> >
> > Eli
> >
> >
> > On Thu, Feb 14, 2013 at 9:44 AM, Ryan Ramage <ry...@gmail.com>
> wrote:
> >
> >> +1 on 10.6.8
> >>
> >>
> >>
> >> On Thu, Feb 14, 2013 at 10:29 AM, Robert Newson <rn...@apache.org>
> >> wrote:
> >>
> >>> +1 on 10.8.2.
> >>>
> >>> On 14 February 2013 17:24, Jan Lehnardt <ja...@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 <ja...@apache.org> wrote:
> >>>>
> >>>>>
> >>>>> On Feb 14, 2013, at 17:13 , Jason Smith <jh...@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 <ja...@apache.org>
> >> wrote:
> >>>>>>
> >>>>>>>
> >>>>>>> On Feb 14, 2013, at 16:48 , Jason Smith <jh...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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
> >>>>>
> >>>>
> >>>
> >>
>
>

Re: Mac CouchDB binaries are ready to test

Posted by Jan Lehnardt <ja...@apache.org>.
Thanks Eli,

the test suite actually behaves as expected here. As long as "Verify Installation"
works fine, this is good to go.

We also should see how we can solve the /_restart crashes permanently, but if I
understand the situation correctly, there isn’t much we can do other than prodding
other projects.

Best
Jan
-- 



On Feb 14, 2013, at 19:24 , "Eli Stevens (Gmail)" <wi...@gmail.com> wrote:

> As best I can recall, I did the following under OSX 10.7.5:
> 
> - Download the .zip
> - Decompress it
> - Copy it to applications
> - Doubleclick Apache CouchDB to start it
> - Ran a test script that I have for a library of mine (that's all of the
> couchable stuff in the logs), which worked fine.
> - Poked around in the UI a bit using the latest beta build of Firefox (this
> might have overlapped the couchable tests).
> - Disabled Firebug (but didn't restart FF, not sure if that's important).
> - Ran the test suite.
> - Got a notification that Apache CouchDB had crashed.
> - Put the logs on gist:
> https://gist.github.com/wickedgrey/e5e566b999fe61f7432b  Errors (restarts?)
> start around line 500, but don't seem to actually bring down the server.
> The crash stuff is at the end.
> 
> I restarted couchdb and tried to let the tests continue to run, but I am
> pretty sure they were borked by that point.  I can supply those logs too
> (it crashed again shortly after I tried to restart it).  Anything else I
> can provide?
> 
> I should note that I have the 1.2.0 "CouchDB Server" OSX binary as well,
> though it obviously wasn't running at the time.  I don't think I'd ever run
> the test suite for that version, though it had been working fine for my
> light use otherwise (dev testing and the like).
> 
> Eli
> 
> 
> On Thu, Feb 14, 2013 at 9:44 AM, Ryan Ramage <ry...@gmail.com> wrote:
> 
>> +1 on 10.6.8
>> 
>> 
>> 
>> On Thu, Feb 14, 2013 at 10:29 AM, Robert Newson <rn...@apache.org>
>> wrote:
>> 
>>> +1 on 10.8.2.
>>> 
>>> On 14 February 2013 17:24, Jan Lehnardt <ja...@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 <ja...@apache.org> wrote:
>>>> 
>>>>> 
>>>>> On Feb 14, 2013, at 17:13 , Jason Smith <jh...@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 <ja...@apache.org>
>> wrote:
>>>>>> 
>>>>>>> 
>>>>>>> On Feb 14, 2013, at 16:48 , Jason Smith <jh...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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
>>>>> 
>>>> 
>>> 
>> 


Re: Mac CouchDB binaries are ready to test

Posted by "Eli Stevens (Gmail)" <wi...@gmail.com>.
As best I can recall, I did the following under OSX 10.7.5:

- Download the .zip
- Decompress it
- Copy it to applications
- Doubleclick Apache CouchDB to start it
- Ran a test script that I have for a library of mine (that's all of the
couchable stuff in the logs), which worked fine.
- Poked around in the UI a bit using the latest beta build of Firefox (this
might have overlapped the couchable tests).
- Disabled Firebug (but didn't restart FF, not sure if that's important).
- Ran the test suite.
- Got a notification that Apache CouchDB had crashed.
- Put the logs on gist:
https://gist.github.com/wickedgrey/e5e566b999fe61f7432b  Errors (restarts?)
start around line 500, but don't seem to actually bring down the server.
 The crash stuff is at the end.

I restarted couchdb and tried to let the tests continue to run, but I am
pretty sure they were borked by that point.  I can supply those logs too
(it crashed again shortly after I tried to restart it).  Anything else I
can provide?

I should note that I have the 1.2.0 "CouchDB Server" OSX binary as well,
though it obviously wasn't running at the time.  I don't think I'd ever run
the test suite for that version, though it had been working fine for my
light use otherwise (dev testing and the like).

Eli


On Thu, Feb 14, 2013 at 9:44 AM, Ryan Ramage <ry...@gmail.com> wrote:

> +1 on 10.6.8
>
>
>
> On Thu, Feb 14, 2013 at 10:29 AM, Robert Newson <rn...@apache.org>
> wrote:
>
> > +1 on 10.8.2.
> >
> > On 14 February 2013 17:24, Jan Lehnardt <ja...@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 <ja...@apache.org> wrote:
> > >
> > >>
> > >> On Feb 14, 2013, at 17:13 , Jason Smith <jh...@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 <ja...@apache.org>
> wrote:
> > >>>
> > >>>>
> > >>>> On Feb 14, 2013, at 16:48 , Jason Smith <jh...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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
> > >>
> > >
> >
>

Re: Mac CouchDB binaries are ready to test

Posted by Ryan Ramage <ry...@gmail.com>.
+1 on 10.6.8



On Thu, Feb 14, 2013 at 10:29 AM, Robert Newson <rn...@apache.org> wrote:

> +1 on 10.8.2.
>
> On 14 February 2013 17:24, Jan Lehnardt <ja...@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 <ja...@apache.org> wrote:
> >
> >>
> >> On Feb 14, 2013, at 17:13 , Jason Smith <jh...@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 <ja...@apache.org> wrote:
> >>>
> >>>>
> >>>> On Feb 14, 2013, at 16:48 , Jason Smith <jh...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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
> >>
> >
>

Re: Mac CouchDB binaries are ready to test

Posted by Robert Newson <rn...@apache.org>.
+1 on 10.8.2.

On 14 February 2013 17:24, Jan Lehnardt <ja...@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 <ja...@apache.org> wrote:
>
>>
>> On Feb 14, 2013, at 17:13 , Jason Smith <jh...@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 <ja...@apache.org> wrote:
>>>
>>>>
>>>> On Feb 14, 2013, at 16:48 , Jason Smith <jh...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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
>>
>

Re: Mac CouchDB binaries are ready to test

Posted by Jan Lehnardt <ja...@apache.org>.
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 <ja...@apache.org> wrote:

> 
> On Feb 14, 2013, at 17:13 , Jason Smith <jh...@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 <ja...@apache.org> wrote:
>> 
>>> 
>>> On Feb 14, 2013, at 16:48 , Jason Smith <jh...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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
> 


Re: Mac CouchDB binaries are ready to test

Posted by Jan Lehnardt <ja...@apache.org>.
On Feb 14, 2013, at 17:13 , Jason Smith <jh...@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 <ja...@apache.org> wrote:
> 
>> 
>> On Feb 14, 2013, at 16:48 , Jason Smith <jh...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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


Re: Mac CouchDB binaries are ready to test

Posted by Jason Smith <jh...@iriscouch.com>.
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.


On Thu, Feb 14, 2013 at 10:54 PM, Jan Lehnardt <ja...@apache.org> wrote:

>
> On Feb 14, 2013, at 16:48 , Jason Smith <jh...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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

Re: Mac CouchDB binaries are ready to test

Posted by Jan Lehnardt <ja...@apache.org>.
On Feb 14, 2013, at 16:48 , Jason Smith <jh...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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


Re: Mac CouchDB binaries are ready to test

Posted by Jason Smith <jh...@iriscouch.com>.
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.


On Thu, Feb 14, 2013 at 9:49 PM, Jan Lehnardt <ja...@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 <ja...@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 <ja...@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 <ja...@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 <ja...@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

Re: Mac CouchDB binaries are ready to test

Posted by Jan Lehnardt <ja...@apache.org>.
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 <ja...@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 <ja...@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 <ja...@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 <ja...@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
>> --
>> 
> 


Re: Mac CouchDB binaries are ready to test

Posted by Jan Lehnardt <ja...@apache.org>.
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 <ja...@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 <ja...@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 <ja...@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
> --
>