make a project

123 views
Skip to first unread message

elyphas

unread,
Apr 13, 2012, 11:20:55 AM4/13/12
to MochiWeb
I have archlinux, and erlang R14B04-2, and mochiweb-git 20100625-1,
and I am trying to start with mochiweb, but when I run "make app
PROJET=first", It says me, this: "{error_logger,{{2012,4,13},
{10,11,53}}," <HiPE(v 3.8.1)> Warning: not loading native code for
module w: it was compiled for an incompatible runtime system; please
regerate native code for this runtime system\n",
[hipe_unified_loader]}
=INFO REPORT ==== 13-Apr-2012::10:11:53 ===
<HiPE (v 3.8.1)> Warning: not loading native code for module
hipe_unified_loader: it was compiled for an incompatible runtime
system; please regenerate native code for this runtime system
==>mochiweb(create)
ERROR:create failed while processing /usr/lib/erlang/lib/mochiweb:
{'EXIT',{{badmatch,{error,enoent}},
[{rebar_templater,load_file,2},
{rebar_templater,execute_template,6},
{rebar_core,run_modules,4},
{rebar_core,execute,4},
{rebar_core,process_dir,4},
{rebar_core,process_commands,1},
{rebar,main,1},
{escript,run,2}]}}
make: *** [app] Error 1


Why happen this? and How can I resolve?, thank in advance.

Bob Ippolito

unread,
Apr 13, 2012, 12:32:31 PM4/13/12
to moch...@googlegroups.com
Sounds like archlinux ships a broken version of Erlang. You should try updating it or building it yourself. 
--
You received this message because you are subscribed to the Google Groups "MochiWeb" group.
To post to this group, send email to moch...@googlegroups.com.
To unsubscribe from this group, send email to mochiweb+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mochiweb?hl=en.

Julio Cesar Ríos Gutierrez

unread,
Apr 13, 2012, 12:39:00 PM4/13/12
to moch...@googlegroups.com
Ok, thanks.!!




--
JCesar

Julio Cesar Ríos Gutierrez

unread,
Apr 13, 2012, 2:07:15 PM4/13/12
to moch...@googlegroups.com
I installed erlang15, I have no problem with this, but now when I run "make app PROJECT=first", I have this error:

ERROR: create failed while processing /.../mochiweb: {'EXIT', {{badmatch,{error,enoent}},
             [{rebar_templater, load_file,2,[]},
              {rebar_templater, execute_template,6,[]},
              {rebar_core, run_modules,4,[]},
              {rebar_core,execute,4,[]},
              {rebar_core,process_dir,4,[]},
              {rebar_core,process_commands,1,[]},
              {rebar,main,1,[]},
              {escript,run,2,[{file,"escript.erl"},{line,727}]}]}}

             
make: *** [app] Error 1

--------

Now, What I need to do?, thanks in advance.




--
JCesar

Bob Ippolito

unread,
Apr 13, 2012, 5:06:44 PM4/13/12
to moch...@googlegroups.com
What version of mochiweb is this? Are you using the latest from https://github.com/mochi/mochiweb ? I am unable to reproduce this kind of error.

Julio Cesar Ríos Gutierrez

unread,
Apr 16, 2012, 12:12:19 PM4/16/12
to moch...@googlegroups.com
I was using mochiweb, that is in my package manager from archlinux, but for me doesn't work, I did what you tell me, I installed what you point me out, I now is working pretty nice, thanks you very much.
--
JCesar
Reply all
Reply to author
Forward
0 new messages