Skip to content

Instantly share code, notes, and snippets.

@h4cc
Created August 30, 2013 08:54
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save h4cc/6387788 to your computer and use it in GitHub Desktop.
Save h4cc/6387788 to your computer and use it in GitHub Desktop.
Add missing 'eunit.hrl' on Ubuntu/Debian with erlang-dev.
If you get this error:
> 'can't find include lib "eunit/include/eunit.hrl"'
even if you already installed "erlang-eunit.
Try installing 'erlang-dev':
> apt-get install erlang-dev
@psihonavt
Copy link

thank you!

@alain-odea-vgh
Copy link

Very helpful in figuring out why Zotonic wouldn't build. Thank you :)

@GabrielNicolasAvellaneda

thanks! 👍

@hdcos
Copy link

hdcos commented Dec 6, 2015

thanks!

@ilev4ik
Copy link

ilev4ik commented May 17, 2016

thanks!

@gyuuu
Copy link

gyuuu commented Feb 27, 2017

thanks!

@LuboVarga
Copy link

Thanks. PS: do not forget to restart erlang console to take newly installed things into account.

@Jethvasagar
Copy link

Jethvasagar commented Sep 9, 2017

Thanks issue solved but new issue occure
===> Compiling _build/default/lib/mochijson2/src/mochinum.erl failed _build/default/lib/mochijson2/src/mochinum.erl:none: undefined parse transform 'eunit_autoexport'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment