The error occured because you do not have the path to the eunit_autoexport beam files. >From the command line run: erl -pa <path/to/eunit/ebin> You can test it by doing a l(eunit_autoexport). {module,eunit_autoexport) >From this point your compile would work. t