> On Feb 3, 2015, at 7:45 AM, Corentin Jechoux <corentin.jechoux....@gmail.com> 
> wrote:
> 
> Hello,
> 
> I try to build Basho's Erlang version on Heroku server.
> 
> The commands used are 
> ./configure
> make
> 
> However I face an issue :
> 
> cd lib && \
>           ERL_TOP=/app/otp_src_R16B02-basho5 
> PATH=/app/otp_src_R16B02-basho5/bootstrap/bin:"${PATH}" \
>                 make opt SECONDARY_BOOTSTRAP=true
> make[1]: Entering directory `/app/otp_src_R16B02-basho5/lib'
> make[2]: Entering directory `/app/otp_src_R16B02-basho5/lib/hipe'
> Makefile:71: warning: overriding commands for target `clean'
> /app/otp_src_R16B02-basho5/make/otp_subdir.mk:28 <http://otp_subdir.mk:28/>: 
> warning: ignoring old commands for target `clean'
> === Entering application hipe
> make[3]: Entering directory `/app/otp_src_R16B02-basho5/lib/hipe/rtl'
> erlc -W  +debug_info +inline +warn_unused_import +warn_exported_vars 
> -o../ebin hipe_rtl.erl
> /app/otp_src_R16B02-basho5/lib/hipe/rtl/../ebin/hipe_rtl.bea#: error writing 
> file
> make[3]: *** [../ebin/hipe_rtl.beam] Error 1
> make[3]: Leaving directory `/app/otp_src_R16B02-basho5/lib/hipe/rtl'
> make[2]: *** [opt] Error 2
> make[2]: Leaving directory `/app/otp_src_R16B02-basho5/lib/hipe'
> make[1]: *** [opt] Error 2
> make[1]: Leaving directory `/app/otp_src_R16B02-basho5/lib'
> make: *** [secondary_bootstrap_build] Error 2
> 

Heroku’s dyno's provide a read-only filesystem.  There are two locations that 
provide ephemeral storage, specifically documented here [1], where you need to 
compile Erlang.

Thanks,
- Chris

[1] https://devcenter.heroku.com/articles/read-only-filesystem

Christopher Meiklejohn
Senior Software Engineer
Basho Technologies, Inc.
cmeiklej...@basho.com
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to