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

Paul Sherwood paul.sherwood@REDACTED
Tue Apr 29 13:33:16 CEST 2014


Hi Micael
On 29/04/2014 12:16, Micael Karlberg wrote:
> Make claims there is no 'opt' target, which is a bit strange.
> What does the makefile in the mibs dir look like?

Actually it turned out that I had *not* used the ./otp_build script as I
thought. My system was missing the autotools magic that the ./otp_build
script applies.

I was helped on irc by nox, and as a result all is well now - I have
successfully built erlang/otp :-)

thank you
Paul

> 
> 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
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>>


-- 
Paul Sherwood                                            Codethink Ltd.
Tel: +44 788 798 4900                    302 Ducie House, Ducie Street,
http://www.codethink.co.uk/         Manchester, M1 2JW, United Kingdom.

Codethink provides advanced software design, development, integration &
test services: from embedded systems to high performance apps to cloud.




More information about the erlang-questions mailing list