[erlang-questions] Using Dialyzer on Ubuntu 9.10?

Michael erlangy@REDACTED
Fri Dec 18 17:43:21 CET 2009


On Fri, Dec 18, 2009 at 11:37:34AM -0500, Jeremy Raymond wrote:
> Hello,
> 
> I'm attempting to run dialyzer on my code on Ubuntu 9.10 with the Erlang
> version (R13B01) that ships with Ubuntu. Dialyzer tells me I need to build
> my plt file. When I attempt to do so by running the command:
> 
>      dialyzer --build_plt -r
> /usr/lib/erlang/lib/{compiler-*,kernel-*,dialyzer-*,erts-*,stdlib-*}/ebin
> 
> I get the error message, 'dialyzer: Could not get abstract code for
> file...'. Searching online it seems that the debug info has been stripped
> out of the beam files of the Erlang shipped with Ubuntu to reduce the size
> as per: https://bugs.launchpad.net/ubuntu/+source/erlang/+bug/385093.
> 
> Do I need to download/compiler Erlang myself with the debug info to use
> dialyzer or am I missing something here (can I find the debug info somewhere
> else)?
> 
> 
> Thanks,
> 
> Jeremy
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 does this work ? ...

 $ dialyzer --build_plt --apps compiler kernel dialyzer erts stdlib


~Michael


More information about the erlang-questions mailing list