[erlang-questions] Error building R12B-4 on Ubuntu 8.04

Raimo Niskanen raimo+erlang-questions@REDACTED
Mon Sep 15 16:18:08 CEST 2008


On Mon, Sep 15, 2008 at 09:48:14PM +0800, Michael T. Richter wrote:
> * PGP Signed by an unknown key
> 
> === Entering application hipe
> make[3]: Entering directory
> `/home/michael/Development/junk/lib/hipe/rtl'
> erlc -W  +debug_info +warn_obsolete_guard +inline -o../ebin
> hipe_rtl_arch.erl
> /home/michael/Development/junk/lib/hipe/rtl/../ebin/hipe_rtl_arch.bea#:
> error writing file
> make[3]: *** [../ebin/hipe_rtl_arch.beam] Error 1
> make[3]: Leaving directory `/home/michael/Development/junk/lib/hipe/rtl'
> make[2]: *** [opt] Error 2
> make[2]: Leaving directory `/home/michael/Development/junk/lib/hipe'
> make[1]: *** [opt] Error 2
> make[1]: Leaving directory `/home/michael/Development/junk/lib'
> make: *** [secondary_bootstrap_build] Error 2
> 
> I'm not sure how to interpret this.  The environment's a pretty vanilla
> install (I reinstalled it just a few days ago).  Any clues on how to get
> around this and have a functioning build?
> 
(cd /home/michael/Development/junk/lib/hipe/rtl && \
 erlc -W  +debug_info +warn_obsolete_guard +inline -o../ebin hipe_rtl_arch.erl)

That is, run the command manually and see if you get better
error printouts.

If that fails, add "strace -fo strace.log" before "erlc -W" and see
if that log says anything interesting about why the file write fails.
Is your /home/michael filesystem full?

It seems the erlc compiler cannot write a temp file,
and it is during compilation of the Hipe compiler.

> -- 
> Michael T. Richter <ttmrichter@REDACTED> (GoogleTalk:
> ttmrichter@REDACTED)
> Theory is knowledge that doesn't work. Practice is when everything works
> and you don't know why. (Hermann Hesse)
> 
> * Unknown Key
> * 0xA550E784

> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
> 
> 
> * PGP Signed by an unknown key
> * text/plain body
> * Unknown Key
> * 0xA550E784


-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list