You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Dave Cottlehuber <da...@muse.net.nz> on 2010/07/20 12:33:22 UTC

OT: erts configure fail during windows build of erlang R13B04

A bit OT, but I am struggling to get erlang to build on windows,
before even getting to couchdb. I have sorted out all the various
compiler/path/include crap between windows & cygwin now but am getting
an epic fail during ./otp_build configure, in configure erts that has
me completely beaten - full story in
http://friendpaste.com/31QFPpBNEvIkTBtNSuQF1

./otp_build autoconf runs fine
./otp_build configure is OK until it starts configuring erts

[...]
checking if we can link wxwidgets programs... yes
configure: creating win32/config.status
config.status: creating config.mk
config.status: creating c_src/Makefile
=== configuring in erts (/cygdrive/c/src/otp_src_R13B04/erts)
configure: running /bin/sh
/cygdrive/c/src/otp_src_R13B04//erts/configure
--disable-option-checking '--prefix=/usr/local'
'--build=i686-pc-cygwin' 'build_alias=win32' '--host=win32'
'--target=win32' 'CC=cc.sh' 'CXX=cc.sh' 'RANLIB=true' 'AR=ar.sh'
'host_alias=win32' 'target_alias=win32'
'ERL_TOP=/cygdrive/c/src/otp_src_R13B04/'
--cache-file=/cygdrive/c/src/otp_src_R13B04//erts/autoconf/win32.config.cache
--srcdir=/cygdrive/c/src/otp_src_R13B04//erts
configure: loading cache
/cygdrive/c/src/otp_src_R13B04//erts/autoconf/win32.config.cache
configure: error: You need to run configure with argument
--srcdir=/cygdrive/c/src/otp_src_R13B04//erts
configure: error: /cygdrive/c/src/otp_src_R13B04//erts/configure failed for erts

re-running ./otp_build configure. or just plain configure inside erts,
with the --srcdir=... param still doesn't help. I guess this is likely
a simple fix?

On the upside, I have however got wxwidgets 2.8.11 to build using the
free vc2008 express so people don't have to fork out for the full
Visual Studio suite. More on that when I can post an updated
end-to-end build.

cheers
Dave

Re: OT: erts configure fail during windows build of erlang R13B04

Posted by Dave Cottlehuber <da...@muse.net.nz>.
On 21 July 2010 16:20, Mark Hammond <sk...@gmail.com> wrote:
> On 20/07/2010 8:33 PM, Dave Cottlehuber wrote:
>>
>> A bit OT, but I am struggling to get erlang to build on windows,
>> before even getting to couchdb. I have sorted out all the various
>> compiler/path/include crap between windows&  cygwin now but am getting
>> an epic fail during ./otp_build configure, in configure erts that has
>> me completely beaten - full story in
>> http://friendpaste.com/31QFPpBNEvIkTBtNSuQF1
>>
>> ./otp_build autoconf runs fine
>> ./otp_build configure is OK until it starts configuring erts
>>
>> [...]
>> checking if we can link wxwidgets programs... yes
>> configure: creating win32/config.status
>> config.status: creating config.mk
>> config.status: creating c_src/Makefile
>> === configuring in erts (/cygdrive/c/src/otp_src_R13B04/erts)
>> configure: running /bin/sh
>> /cygdrive/c/src/otp_src_R13B04//erts/configure
>> --disable-option-checking '--prefix=/usr/local'
>> '--build=i686-pc-cygwin' 'build_alias=win32' '--host=win32'
>> '--target=win32' 'CC=cc.sh' 'CXX=cc.sh' 'RANLIB=true' 'AR=ar.sh'
>> 'host_alias=win32' 'target_alias=win32'
>> 'ERL_TOP=/cygdrive/c/src/otp_src_R13B04/'
>
> On a wild hunch, try removing the trailing slash from ERL_TOP
>
> Mark
>

+1 for wild hunch then - worked like a treat thanks.

Dave

Re: OT: erts configure fail during windows build of erlang R13B04

Posted by Mark Hammond <sk...@gmail.com>.
On 20/07/2010 8:33 PM, Dave Cottlehuber wrote:
> A bit OT, but I am struggling to get erlang to build on windows,
> before even getting to couchdb. I have sorted out all the various
> compiler/path/include crap between windows&  cygwin now but am getting
> an epic fail during ./otp_build configure, in configure erts that has
> me completely beaten - full story in
> http://friendpaste.com/31QFPpBNEvIkTBtNSuQF1
>
> ./otp_build autoconf runs fine
> ./otp_build configure is OK until it starts configuring erts
>
> [...]
> checking if we can link wxwidgets programs... yes
> configure: creating win32/config.status
> config.status: creating config.mk
> config.status: creating c_src/Makefile
> === configuring in erts (/cygdrive/c/src/otp_src_R13B04/erts)
> configure: running /bin/sh
> /cygdrive/c/src/otp_src_R13B04//erts/configure
> --disable-option-checking '--prefix=/usr/local'
> '--build=i686-pc-cygwin' 'build_alias=win32' '--host=win32'
> '--target=win32' 'CC=cc.sh' 'CXX=cc.sh' 'RANLIB=true' 'AR=ar.sh'
> 'host_alias=win32' 'target_alias=win32'
> 'ERL_TOP=/cygdrive/c/src/otp_src_R13B04/'

On a wild hunch, try removing the trailing slash from ERL_TOP

Mark