| Author |
Message |
|
| motiejusj |
Posted: Wed Sep 21, 2011 2:46 pm |
|
|
|
Joined: 02 Aug 2011
Posts: 5
|
Hello,
I encountered a regression in erlang dev version and want to bisect it.
What I do:
$ git checkout otp; cd otp
$ ./build_otp all
<coffee>
$ bin/erl
Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:2:2] [rq:2]
[async-threads:0] [kernel-poll:false]
Eshell V5.8.5 (abort with ^G)
1> application:start(mnesia).
{error,{"no such file or directory","mnesia.app"}}
What I expect to get:
1> application:start(mnesia).
ok
2> io:format("~p~n", [code:get_path()]).
[".","/dev/shm/otp/lib/kernel/ebin","/dev/shm/otp/lib/stdlib/ebin",
"/dev/shm/otp/lib/xmerl/ebin","/dev/shm/otp/lib/wx/ebin",
"/dev/shm/otp/lib/webtool/ebin","/dev/shm/otp/lib/typer/ebin",
"/dev/shm/otp/lib/tv/ebin","/dev/shm/otp/lib/tools/ebin",
"/dev/shm/otp/lib/toolbar/ebin","/dev/shm/otp/lib/test_server/ebin",
"/dev/shm/otp/lib/syntax_tools/ebin","/dev/shm/otp/lib/ssl/ebin",
"/dev/shm/otp/lib/ssh/ebin","/dev/shm/otp/lib/snmp/ebin",
"/dev/shm/otp/lib/sasl/ebin","/dev/shm/otp/lib/runtime_tools/ebin",
"/dev/shm/otp/lib/reltool/ebin","/dev/shm/otp/lib/public_key/ebin",
"/dev/shm/otp/lib/pman/ebin","/dev/shm/otp/lib/percept/ebin",
"/dev/shm/otp/lib/parsetools/ebin","/dev/shm/otp/lib/otp_mibs/ebin",
"/dev/shm/otp/lib/os_mon/ebin","/dev/shm/otp/lib/orber/ebin",
"/dev/shm/otp/lib/odbc/ebin","/dev/shm/otp/lib/observer/ebin",
"/dev/shm/otp/lib/mnesia/ebin","/dev/shm/otp/lib/megaco/ebin",
"/dev/shm/otp/lib/jinterface","/dev/shm/otp/lib/inviso/ebin",
"/dev/shm/otp/lib/inets/ebin","/dev/shm/otp/lib/ic/ebin",
"/dev/shm/otp/lib/hipe/ebin","/dev/shm/otp/lib/gs/ebin",
"/dev/shm/otp/lib/eunit/ebin","/dev/shm/otp/lib/et/ebin",
"/dev/shm/otp/lib/erl_interface","/dev/shm/otp/lib/erl_docgen/ebin",
"/dev/shm/otp/lib/edoc/ebin","/dev/shm/otp/lib/docbuilder/ebin",
"/dev/shm/otp/lib/diameter/ebin","/dev/shm/otp/lib/dialyzer/ebin",
"/dev/shm/otp/lib/debugger/ebin","/dev/shm/otp/lib/crypto/ebin",
"/dev/shm/otp/lib/cosTransactions/ebin","/dev/shm/otp/lib/cosTime/ebin",
"/dev/shm/otp/lib/cosProperty/ebin","/dev/shm/otp/lib/cosNotification/ebin",
"/dev/shm/otp/lib/cosFileTransfer/ebin",
"/dev/shm/otp/lib/cosEventDomain/ebin","/dev/shm/otp/lib/cosEvent/ebin",
"/dev/shm/otp/lib/compiler/ebin","/dev/shm/otp/lib/common_test/ebin",
"/dev/shm/otp/lib/autom4te.cache","/dev/shm/otp/lib/asn1/ebin",
"/dev/shm/otp/lib/appmon/ebin"]
I tried to set OTPROOT to `pwd`, ERL_LIBS to `pwd/lib`, but it did not
change the outcome.
--
Motiejus Jakštys
_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Wed Sep 21, 2011 3:50 pm |
|
|
|
Guest
|
Hello!
You probably want to pass the -a switch to otp_build so that all applications get built, i.e. `./otp_build all -a`. The 'all' phrase that you have supplied refers to all stages of compilation (autoconf, configure, emulator and minimal apps). To get all applications as well you need -a.
If you type `./otp_build --help` you will get a description of what otp_build does and this is kind of explained in the first lines of the help message.
Lukas
----- Original Message -----
From: "Motiejus Jakštys" <desired.mta@gmail.com>
To: erlang-questions@erlang.org
Sent: Wednesday, September 21, 2011 4:46:07 PM
Subject: [erlang-questions] How to run Erlang without installing it
Hello,
I encountered a regression in erlang dev version and want to bisect it.
What I do:
$ git checkout otp; cd otp
$ ./build_otp all
<coffee>
$ bin/erl
Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:2:2] [rq:2]
[async-threads:0] [kernel-poll:false]
Eshell V5.8.5 (abort with ^G)
1> application:start(mnesia).
{error,{"no such file or directory","mnesia.app"}}
What I expect to get:
1> application:start(mnesia).
ok
2> io:format("~p~n", [code:get_path()]).
[".","/dev/shm/otp/lib/kernel/ebin","/dev/shm/otp/lib/stdlib/ebin",
"/dev/shm/otp/lib/xmerl/ebin","/dev/shm/otp/lib/wx/ebin",
"/dev/shm/otp/lib/webtool/ebin","/dev/shm/otp/lib/typer/ebin",
"/dev/shm/otp/lib/tv/ebin","/dev/shm/otp/lib/tools/ebin",
"/dev/shm/otp/lib/toolbar/ebin","/dev/shm/otp/lib/test_server/ebin",
"/dev/shm/otp/lib/syntax_tools/ebin","/dev/shm/otp/lib/ssl/ebin",
"/dev/shm/otp/lib/ssh/ebin","/dev/shm/otp/lib/snmp/ebin",
"/dev/shm/otp/lib/sasl/ebin","/dev/shm/otp/lib/runtime_tools/ebin",
"/dev/shm/otp/lib/reltool/ebin","/dev/shm/otp/lib/public_key/ebin",
"/dev/shm/otp/lib/pman/ebin","/dev/shm/otp/lib/percept/ebin",
"/dev/shm/otp/lib/parsetools/ebin","/dev/shm/otp/lib/otp_mibs/ebin",
"/dev/shm/otp/lib/os_mon/ebin","/dev/shm/otp/lib/orber/ebin",
"/dev/shm/otp/lib/odbc/ebin","/dev/shm/otp/lib/observer/ebin",
"/dev/shm/otp/lib/mnesia/ebin","/dev/shm/otp/lib/megaco/ebin",
"/dev/shm/otp/lib/jinterface","/dev/shm/otp/lib/inviso/ebin",
"/dev/shm/otp/lib/inets/ebin","/dev/shm/otp/lib/ic/ebin",
"/dev/shm/otp/lib/hipe/ebin","/dev/shm/otp/lib/gs/ebin",
"/dev/shm/otp/lib/eunit/ebin","/dev/shm/otp/lib/et/ebin",
"/dev/shm/otp/lib/erl_interface","/dev/shm/otp/lib/erl_docgen/ebin",
"/dev/shm/otp/lib/edoc/ebin","/dev/shm/otp/lib/docbuilder/ebin",
"/dev/shm/otp/lib/diameter/ebin","/dev/shm/otp/lib/dialyzer/ebin",
"/dev/shm/otp/lib/debugger/ebin","/dev/shm/otp/lib/crypto/ebin",
"/dev/shm/otp/lib/cosTransactions/ebin","/dev/shm/otp/lib/cosTime/ebin",
"/dev/shm/otp/lib/cosProperty/ebin","/dev/shm/otp/lib/cosNotification/ebin",
"/dev/shm/otp/lib/cosFileTransfer/ebin",
"/dev/shm/otp/lib/cosEventDomain/ebin","/dev/shm/otp/lib/cosEvent/ebin",
"/dev/shm/otp/lib/compiler/ebin","/dev/shm/otp/lib/common_test/ebin",
"/dev/shm/otp/lib/autom4te.cache","/dev/shm/otp/lib/asn1/ebin",
"/dev/shm/otp/lib/appmon/ebin"]
I tried to set OTPROOT to `pwd`, ERL_LIBS to `pwd/lib`, but it did not
change the outcome.
--
Motiejus Jakštys
_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions
_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions
Post received from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|