You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Sebastian Brueckner <sb...@thebackend.de> on 2009/11/03 14:43:58 UTC
Building SVN on OS X fails
Hi,
I am trying to build CouchDB (both 0.10 and SVN trunk) on OS X Snow
Leopard. I am using erlang 12b-0-1 and support libraries from the Fink
repository. Except icu4c 4.2.1 which I built and installed from source.
During make I get the following errors (same for 0.10 and SVN):
[...]
Making all in ibrowse
/sw/bin/erlc ibrowse.erl
/sw/bin/erlc ibrowse_app.erl
/sw/bin/erlc ibrowse_http_client.erl
ibrowse_http_client: function scan_crlf_1/3+12:
Internal consistency check failed - please report this bug.
Instruction: {bs_append,{f,0},{x,0},0,5,8,{x,3},{field_flags,[]},{x,0}}
Error: {match_context,{x,3}}:
ibrowse_http_client: function scan_header/2+30:
Internal consistency check failed - please report this bug.
Instruction: {bs_append,{f,0},{x,2},0,5,8,{x,3},{field_flags,[]},{x,2}}
Error: {match_context,{x,3}}:
make[3]: *** [ibrowse_http_client.beam] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Any hints what went wrong? These are my very first steps with CouchDB so
I am a little lost.
Thanks in advance,
Sebastian
Re: Building SVN on OS X fails
Posted by Blair Zajac <bl...@orcaware.com>.
Just use MacPorts to do the build. It's worked very well for me.
http://www.macports.org/
Regards,
Blair
On Nov 3, 2009, at 6:15 AM, Alistair Young wrote:
> I've just built erlang R13B02-1 on OS X:
>
> ./configure --prefix=...
> touch lib/wx/SKIP
> make
> make install
>
> if you don't skip widgets it won't build on OS X.
>
> Alistair
>
>
> -- mov eax,1
> mov ebx,0
> int 80h
>
>
>
>
> On 3 Nov 2009, at 14:03, Jan Lehnardt wrote:
>
>>
>> On 3 Nov 2009, at 14:43, Sebastian Brueckner wrote:
>>
>>> Hi,
>>>
>>> I am trying to build CouchDB (both 0.10 and SVN trunk) on OS X
>>> Snow Leopard. I am using erlang 12b-0-1 and support libraries from
>>> the Fink repository. Except icu4c 4.2.1 which I built and
>>> installed from source.
>>
>> Your Erlang is too old. You need R12B-5 at least. We recommend
>> R13B. Compiling Erlang on Mac OS X is pretty straightforward.
>>
>> Cheers
>> Jan
>> --
>>
>>
>>>
>>> During make I get the following errors (same for 0.10 and SVN):
>>>
>>> [...]
>>> Making all in ibrowse
>>> /sw/bin/erlc ibrowse.erl
>>> /sw/bin/erlc ibrowse_app.erl
>>> /sw/bin/erlc ibrowse_http_client.erl
>>> ibrowse_http_client: function scan_crlf_1/3+12:
>>> Internal consistency check failed - please report this bug.
>>> Instruction: {bs_append,{f,0},{x,0},0,5,8,{x,3},{field_flags,[]},
>>> {x,0}}
>>> Error: {match_context,{x,3}}:
>>>
>>> ibrowse_http_client: function scan_header/2+30:
>>> Internal consistency check failed - please report this bug.
>>> Instruction: {bs_append,{f,0},{x,2},0,5,8,{x,3},{field_flags,[]},
>>> {x,2}}
>>> Error: {match_context,{x,3}}:
>>>
>>> make[3]: *** [ibrowse_http_client.beam] Error 1
>>> make[2]: *** [all-recursive] Error 1
>>> make[1]: *** [all-recursive] Error 1
>>> make: *** [all] Error 2
>>>
>>>
>>> Any hints what went wrong? These are my very first steps with
>>> CouchDB so I am a little lost.
>>>
>>> Thanks in advance,
>>> Sebastian
>>>
>>
>
Re: Building SVN on OS X fails
Posted by Alistair Young <al...@uhi.ac.uk>.
I've just built erlang R13B02-1 on OS X:
./configure --prefix=...
touch lib/wx/SKIP
make
make install
if you don't skip widgets it won't build on OS X.
Alistair
--
mov eax,1
mov ebx,0
int 80h
On 3 Nov 2009, at 14:03, Jan Lehnardt wrote:
>
> On 3 Nov 2009, at 14:43, Sebastian Brueckner wrote:
>
>> Hi,
>>
>> I am trying to build CouchDB (both 0.10 and SVN trunk) on OS X Snow
>> Leopard. I am using erlang 12b-0-1 and support libraries from the
>> Fink repository. Except icu4c 4.2.1 which I built and installed
>> from source.
>
> Your Erlang is too old. You need R12B-5 at least. We recommend
> R13B. Compiling Erlang on Mac OS X is pretty straightforward.
>
> Cheers
> Jan
> --
>
>
>>
>> During make I get the following errors (same for 0.10 and SVN):
>>
>> [...]
>> Making all in ibrowse
>> /sw/bin/erlc ibrowse.erl
>> /sw/bin/erlc ibrowse_app.erl
>> /sw/bin/erlc ibrowse_http_client.erl
>> ibrowse_http_client: function scan_crlf_1/3+12:
>> Internal consistency check failed - please report this bug.
>> Instruction: {bs_append,{f,0},{x,0},0,5,8,{x,3},{field_flags,[]},{x,
>> 0}}
>> Error: {match_context,{x,3}}:
>>
>> ibrowse_http_client: function scan_header/2+30:
>> Internal consistency check failed - please report this bug.
>> Instruction: {bs_append,{f,0},{x,2},0,5,8,{x,3},{field_flags,[]},{x,
>> 2}}
>> Error: {match_context,{x,3}}:
>>
>> make[3]: *** [ibrowse_http_client.beam] Error 1
>> make[2]: *** [all-recursive] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>>
>>
>> Any hints what went wrong? These are my very first steps with
>> CouchDB so I am a little lost.
>>
>> Thanks in advance,
>> Sebastian
>>
>
Re: Building SVN on OS X fails
Posted by Jan Lehnardt <ja...@apache.org>.
On 3 Nov 2009, at 14:43, Sebastian Brueckner wrote:
> Hi,
>
> I am trying to build CouchDB (both 0.10 and SVN trunk) on OS X Snow
> Leopard. I am using erlang 12b-0-1 and support libraries from the
> Fink repository. Except icu4c 4.2.1 which I built and installed from
> source.
Your Erlang is too old. You need R12B-5 at least. We recommend
R13B. Compiling Erlang on Mac OS X is pretty straightforward.
Cheers
Jan
--
>
> During make I get the following errors (same for 0.10 and SVN):
>
> [...]
> Making all in ibrowse
> /sw/bin/erlc ibrowse.erl
> /sw/bin/erlc ibrowse_app.erl
> /sw/bin/erlc ibrowse_http_client.erl
> ibrowse_http_client: function scan_crlf_1/3+12:
> Internal consistency check failed - please report this bug.
> Instruction: {bs_append,{f,0},{x,0},0,5,8,{x,3},{field_flags,[]},{x,
> 0}}
> Error: {match_context,{x,3}}:
>
> ibrowse_http_client: function scan_header/2+30:
> Internal consistency check failed - please report this bug.
> Instruction: {bs_append,{f,0},{x,2},0,5,8,{x,3},{field_flags,[]},{x,
> 2}}
> Error: {match_context,{x,3}}:
>
> make[3]: *** [ibrowse_http_client.beam] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
>
> Any hints what went wrong? These are my very first steps with
> CouchDB so I am a little lost.
>
> Thanks in advance,
> Sebastian
>