[erlang-questions] Using Dialyzer on Ubuntu 9.10?
Jeremy Raymond
jeraymond@REDACTED
Fri Dec 18 18:03:47 CET 2009
No: dialyzer: Unknown option: --apps
On Fri, Dec 18, 2009 at 11:43 AM, Michael <erlangy@REDACTED> wrote:
> 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
>
> ________________________________________________________________
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org
>
>
More information about the erlang-questions
mailing list