Hi, I am fairly new to erlang and just looking at erlangweb. I have successfully reached step 4, but cannot get the shop_utils.erl to compile. If I comment out the include and the 2 ?BEFOREs, then it compiles without error, which points to the annotation sw. I am running Fedora 11 x86_64.
when using ./bin/compile or eptic:reload() I get the following: Any help is greatly appreciated. Recompile: lib/shop-0.1/src/shop_utils lib/shop-0.1/src/shop_utils.erl:none: error in parse transform 'e_annotation': {undef, [{e_annotation,parse_transform, [[{attribute,1,file, {"lib/shop-0.1/src/shop_utils.erl", 1}}, {attribute,1,module,shop_utils}, {attribute,3,export, [{validate,4}]}, {attribute,1,file, {"./lib/eptic-1.3/include/e_annotation.hrl", 1}}, {attribute,7,file, {"lib/shop-0.1/src/shop_utils.erl", 7}}, {attribute,8, ew_annotation_before,[]}, {function,9,validate,4, [{clause,9, [{tuple,9, [{var,9,'Model'}, {var,9,'Type'}]}, {var,9,'Mod'}, {var,9,'_Fun'}, {var,9,'_Args'}], [], [{'case',10, {call,10, {remote,10, {atom,10,validate_tool}, {atom,10,validate_cu}}, [{var,10,'Model'}, {var,10,'Type'}]}, [{clause,11, [{tuple,11, [{atom,11,ok}, {var,11,'Item'}]}], [], [{tuple,12, [{atom,12,proceed}, {cons,12, {var,12,'Item'}, {nil,12}}]}]}, {clause,13, [{tuple,13, [{atom,13,error}, {var,13,'_Reason'}]}], [], [{tuple,14, [{atom,14,error}, {tuple,14, [{var,14,'Mod'}, {atom,14, validate_error}, {cons,14, {var,14,'Fun'}, {nil, 14}}]}]}]}]}]}]}, {eof,45}], [report_errors,report_warnings, {outdir,"lib/shop-0.1/ebin"}, {i,"lib/shop-0.1/include"}, debug_info,strict_record_tests, netload]]}, {compile, '-foldl_transform/2-anonymous-2-', 2}, {compile,foldl_transform,2}, {compile, '-internal_comp/4-anonymous-1-',2}, {compile,fold_comp,3}, {compile,internal_comp,4}, {compile,internal,3}]} ok -- Regards, Bill Ott Email: Mailto://bill...@theotts.org Website: http://www.theotts.org ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Erlangweb-users mailing list Erlangweb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/erlangweb-users http://www.erlang-web.org/