[erlang-questions] Building erlang from git on a vanilla linux system...

Micael Karlberg <>
Tue Apr 29 13:16:05 CEST 2014


Hi,

Make claims there is no 'opt' target, which is a bit strange.
What does the makefile in the mibs dir look like?

Regards,
	/BMK

On 04/29/2014 08:12 AM, Paul Sherwood wrote:
> Hi folks,
>
> I'm trying to build erlang from source on a Baserock system, which as far as possible has 'normal'
> gcc, autotools etc.
>
> Config happens fine, but the build fails at SMTP as follows, both with default autotools and using
> ./otp_build autoconf script.
>
> Any ideas how to fix this, please?
>
> br
> Paul
>
> === Entering application snmp
> make[3]: Entering directory `/erlang.build/lib/snmp/src/compile'
>   YECC   snmpc_mib_gram.erl
>   ERLC   ../../ebin/snmpc.beam
>   ERLC   ../../ebin/snmpc_lib.beam
>   ERLC   ../../ebin/snmpc_mib_to_hrl.beam
>   ERLC   ../../ebin/snmpc_misc.beam
>   ERLC   ../../ebin/snmpc_tok.beam
>   VSN    ../../bin/snmpc
>   ERLC   ../../ebin/snmpc_mib_gram.beam
> make[3]: Leaving directory `/erlang.build/lib/snmp/src/compile'
> make[3]: Entering directory `/erlang.build/lib/snmp/mibs'
> make[3]: *** No rule to make target `opt'.  Stop.
> make[3]: Leaving directory `/erlang.build/lib/snmp/mibs'
> make[2]: *** [opt] Error 2
> make[2]: Leaving directory `/erlang.build/lib/snmp'
> make[1]: *** [opt] Error 2
> make[1]: Leaving directory `/erlang.build/lib'
> make: *** [tertiary_bootstrap_build] Error 2
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>



More information about the erlang-questions mailing list