[erlang-questions] Compiling R12B-2 on Ubuntu 7.10

Kostis Sagonas kostis@REDACTED
Fri Apr 25 21:24:53 CEST 2008


Adam Lindberg wrote:
> Hi!
> 
> I'm trying to compile Erlang R12B-2 on Ubuntu 7.10 with the following
> configuration:
> 
> ./configure --enable-hipe --enable-smp-support --enable-threads
> --enable-kernel-poll
> 
> However, when compiling Dialyzer I get the following error:
> 
> === Entering application dialyzer
> make[2]: Entering directory
> `/home/alind/Applications/otp_src_R12B-2/lib/dialyzer/src'
> Dialyzer will now build auxiliary information needed for subsequent analyses...
> A PLT for following libs will be built:

I've  never seen this happening, but it does look weird.
After the === Entering ...
line you should be seeing some lines which read as:

=== Entering application dialyzer
make[2]: Entering directory `/home/kostis/HiPE/otp/lib/dialyzer/src'
erlc -W  +debug_info +warn_unused_import +warn_obsolete_guard 
+warn_untyped_record +warn_missing_spec_exported -o../ebin dialyzer.erl
erlc -W  +debug_info +warn_unused_import +warn_obsolete_guard 
+warn_untyped_record +warn_missing_spec_exported -o../ebin 
dialyzer_analysis_callgraph.erl
erlc -W  +debug_info +warn_unused_import +warn_obsolete_guard 
+warn_untyped_record +warn_missing_spec_exported -o../ebin 
dialyzer_callgraph.erl
erlc -W  +debug_info +warn_unused_import +warn_obsolete_guard 
+warn_untyped_record +warn_missing_spec_exported -o../ebin dialyzer_cl.erl
....

If you do not see these lines (and the .beam files do exist under 
"lib/dialyzer/ebin") then it's no wonder you get the error you reported.

Hope this helps.

Kostis



More information about the erlang-questions mailing list