Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Efene fails to build on ubuntu 10.10 #28

Closed
scooterman opened this issue Dec 10, 2010 · 2 comments
Closed

Efene fails to build on ubuntu 10.10 #28

scooterman opened this issue Dec 10, 2010 · 2 comments

Comments

@scooterman
Copy link

Here is the output:

gcc fnc.o -o fnc
mv fnc ../bin/fnc
Compiling spec.ifn
Compiling type.ifn
Compiling rec.ifn
Compiling ast.ifn
Compiling dct.ifn
Compiling fio.ifn
Compiling lst.ifn
Compiling mod.ifn
Compiling rec.ifn
Compiling rest.ifn
Compiling schema.ifn
Compiling spec.ifn
Compiling struct.ifn
Compiling type.ifn
(cd src ; make)
make[1]: Entering directory /home/victor/efene/lib/thirdparty/ibrowse/src' make[1]: Nothing to be done forall'.
make[1]: Leaving directory /home/victor/efene/lib/thirdparty/ibrowse/src' (cd src;make all) make[1]: Entering directory/home/victor/efene/lib/thirdparty/mochiweb/src'
erlc -W -I ../include +debug_info -o ../ebin mochifmt.erl
./mochifmt.erl:none: error in parse transform 'eunit_autoexport': {undef,
[{eunit_autoexport,
parse_transform,
[[{attribute,1,file,
{"./mochifmt.erl",1}},
{attribute,7,module,
mochifmt},
{attribute,8,author,
'bob@mochimedia.com'},
{attribute,9,export,
[{format,2},
{format_field,2},
{convert_field,2},
{get_value,2},
{get_field,2}]},
{attribute,10,export,
[{tokenize,1},
{format,3},
{get_field,3},
{format_field,3}]},
{attribute,11,export,
[{bformat,2},{bformat,3}]},
{attribute,12,export,
[{f,2},{f,3}]},
{attribute,14,record,
{conversion,
[{record_field,14,
{atom,14,length}},
{record_field,14,
{atom,14,precision}},
{record_field,14,
{atom,14,ctype}},
{record_field,14,
{atom,14,align}},
{record_field,14,
{atom,14,fill_char}},
{record_field,14,
{atom,14,sign}}]}},
{function,18,tokenize,1,
[{clause,18,
[{var,18,'S'}],
[],
[{tuple,19,
[{atom,19,mochifmt},
{call,19,
{atom,19,tokenize},
[{var,19,'S'},
{string,19,[]},
{nil,19}]}]}]}]},
{function,23,convert_field,
2,
[{clause,23,
[{var,23,'Arg'},
{string,23,[]}],
[],
[{var,24,'Arg'}]},
{clause,25,
[{var,25,'Arg'},
{string,25,"r"}],
[],
[{call,26,
{atom,26,repr},
[{var,26,'Arg'}]}]},
{clause,27,
[{var,27,'Arg'},
{string,27,"s"}],
[],
[{call,28,
{atom,28,str},
[{var,28,'Arg'}]}]}]},
{function,36,get_value,2,
[{clause,36,
[{var,36,'Key'},
{var,36,'Args'}],
[[{call,36,
{atom,36,is_tuple},
[{var,36,'Args'}]}]],
[{call,37,
{atom,37,element},
[{op,37,'+',
{integer,37,1},
{call,37,
{atom,37,
list_to_integer},
[{var,37,'Key'}]}},
{var,37,'Args'}]}]},
{clause,38,
[{var,38,'Key'},
{var,38,'Args'}],
[[{call,38,
{atom,38,is_list},
[{var,38,'Args'}]}]],
[{'try',39,
[{call,39,
{remote,39,
{atom,39,lists},
{atom,39,nth}},
[{op,39,'+',
{integer,39,1},
{call,39,
{atom,39,
list_to_integer},
[{var,39,'Key'}]}},
{var,39,'Args'}]}],
[],
[{clause,40,
[{tuple,40,
[{atom,40,error},
{var,40,''},
{var,40,'
'}]}],
[],
[{match,41,
{tuple,41,
[{var,41,'K'},
{var,41,'V'}]},
{call,41,
{atom,41,
proplist_lookup},
[{var,41,'Key'},
{var,41,
'Args'}]}},
{var,42,'V'}]}],
[]}]}]},
{function,49,get_field,2,
[{clause,49,
[{var,49,'Key'},
{var,49,'Args'}],
[],
[{call,50,
{atom,50,get_field},
[{var,50,'Key'},
{var,50,'Args'},
{atom,50,
mochifmt}]}]}]},
{function,56,get_field,3,
[{clause,56,
[{var,56,'Key'},
{var,56,'Args'},
{var,56,'Module'}],
[],
[{match,57,
{tuple,57,
[{var,57,'Name'},
{var,57,'Next'}]},
{call,57,
{remote,57,
{atom,57,lists},
{atom,57,splitwith}},
[{'fun',57,
{clauses,
[{clause,57,
[{var,57,'C'}],
[],
[{op,57,'=/=',
{var,57,'C'},
{char,57,
46}}]}]}},
{var,57,'Key'}]}},
{match,58,
{var,58,'Res'},
{'try',58,
[{call,58,
{remote,58,
{var,58,'Module'},
{atom,58,
get_value}},
[{var,58,'Name'},
{var,58,'Args'}]}],
[],
[{clause,59,
[{tuple,59,
[{atom,59,error},
{atom,59,undef},
{var,59,'
'}]}],
[],
[{call,59,
{atom,59,
get_value},
[{var,59,'Name'},
{var,59,
'Args'}]}]}],
[]}},
{'case',60,
{var,60,'Next'},
[{clause,61,
[{string,61,[]}],
[],
[{var,62,'Res'}]},
{clause,63,
[{op,63,'++',
{string,63,"."},
{var,63,'S1'}}],
[],
[{call,64,
{atom,64,get_field},
[{var,64,'S1'},
{var,64,'Res'},
{var,64,
'Module'}]}]}]}]}]},
{function,69,format,2,
[{clause,69,
[{var,69,'Format'},
{var,69,'Args'}],
[],
[{call,70,
{atom,70,format},
[{var,70,'Format'},
{var,70,'Args'},
{atom,70,
mochifmt}]}]}]},
{function,74,format,3,
[{clause,74,
[{tuple,74,
[{atom,74,mochifmt},
{var,74,'Parts'}]},
{var,74,'Args'},
{var,74,'Module'}],
[],
[{call,75,
{atom,75,format2},
[{var,75,'Parts'},
{var,75,'Args'},
{var,75,'Module'},
{nil,75}]}]},
{clause,76,
[{var,76,'S'},
{var,76,'Args'},
{var,76,'Module'}],
[],
[{call,77,
{atom,77,format},
[{call,77,
{atom,77,tokenize},
[{var,77,'S'}]},
{var,77,'Args'},
{var,77,
'Module'}]}]}]},
{function,81,format_field,
2,
[{clause,81,
[{var,81,'Arg'},
{var,81,'Format'}],
[],
[{call,82,
{atom,82,format_field},
[{var,82,'Arg'},
{var,82,'Format'},
{atom,82,
mochifmt}]}]}]},
{function,86,format_field,
3,
[{clause,86,
[{var,86,'Arg'},
{var,86,'Format'},
{var,86,'Module'}],
[],
[{match,87,
{var,87,'F'},
{call,87,
{atom,87,
default_ctype},
[{var,87,'Arg'},
{call,87,
{atom,87,
parse_std_conversion},
[{var,87,
'Format'}]}]}},
{call,88,
{atom,88,fix_padding},
[{call,88,
{atom,88,fix_sign},
[{call,88,
{atom,88,convert2},
[{var,88,'Arg'},
{var,88,'F'}]},
{var,88,'F'}]},
{var,88,'F'}]}]}]},
{function,92,f,2,
[{clause,92,
[{var,92,'Format'},
{var,92,'Args'}],
[],
[{call,93,
{atom,93,f},
[{var,93,'Format'},
{var,93,'Args'},
{atom,93,
mochifmt}]}]}]},
{function,97,f,3,
[{clause,97,
[{var,97,'Format'},
{var,97,'Args'},
{var,97,'Module'}],
[],
[{'case',98,
{call,98,
{remote,98,
{atom,98,lists},
{atom,98,member}},
[{char,98,123},
{var,98,'Format'}]},
[{clause,99,
[{atom,99,true}],
[],
[{call,100,
{atom,100,
binary_to_list},
[{call,100,
{atom,100,
bformat},
[{var,100,
'Format'},
{var,100,'Args'},
{var,100,
'Module'}]}]}]},
{clause,101,
[{atom,101,false}],
[],
[{var,102,
'Format'}]}]}]}]},
{function,107,bformat,2,
[{clause,107,
[{var,107,'Format'},
{var,107,'Args'}],
[],
[{call,108,
{atom,108,
iolist_to_binary},
[{call,108,
{atom,108,format},
[{var,108,'Format'},
{var,108,
'Args'}]}]}]}]},
{function,112,bformat,3,
[{clause,112,
[{var,112,'Format'},
{var,112,'Args'},
{var,112,'Module'}],
[],
[{call,113,
{atom,113,
iolist_to_binary},
[{call,113,
{atom,113,format},
[{var,113,'Format'},
{var,113,'Args'},
{var,113,
'Module'}]}]}]}]},
{function,117,add_raw,2,
[{clause,117,
[{string,117,[]},
{var,117,'Acc'}],
[],
[{var,118,'Acc'}]},
{clause,119,
[{var,119,'S'},
{var,119,'Acc'}],
[],
[{cons,120,
{tuple,120,
[{atom,120,raw},
{call,120,
{remote,120,
{atom,120,lists},
{atom,120,reverse}},
[{var,120,'S'}]}]},
{var,120,'Acc'}}]}]},
{function,122,tokenize,3,
[{clause,122,
[{nil,122},
{var,122,'S'},
{var,122,'Acc'}],
[],
[{call,123,
{remote,123,
{atom,123,lists},
{atom,123,reverse}},
[{call,123,
{atom,123,add_raw},
[{var,123,'S'},
{var,123,
'Acc'}]}]}]},
{clause,124,
[{op,124,'++',
{string,124,"{{"},
{var,124,'Rest'}},
{var,124,'S'},
{var,124,'Acc'}],
[],
[{call,125,
{atom,125,tokenize},
[{var,125,'Rest'},
{op,125,'++',
{string,125,"{"},
{var,125,'S'}},
{var,125,'Acc'}]}]},
{clause,126,
[{op,126,'++',
{string,126,"{"},
{var,126,'Rest'}},
{var,126,'S'},
{var,126,'Acc'}],
[],
[{match,127,
{tuple,127,
[{var,127,'Format'},
{var,127,'Rest1'}]},
{call,127,
{atom,127,
tokenize_format},
[{var,127,'Rest'}]}},
{call,128,
{atom,128,tokenize},
[{var,128,'Rest1'},
{string,128,[]},
{cons,128,
{tuple,128,
[{atom,128,format},
{call,128,
{atom,128,
make_format},
[{var,128,
'Format'}]}]},
{call,128,
{atom,128,add_raw},
[{var,128,'S'},
{var,128,
'Acc'}]}}]}]},
{clause,129,
[{op,129,'++',
{string,129,"}}"},
{var,129,'Rest'}},
{var,129,'S'},
{var,129,'Acc'}],
[],
[{call,130,
{atom,130,tokenize},
[{var,130,'Rest'},
{op,130,'++',
{string,130,"}"},
{var,130,'S'}},
{var,130,'Acc'}]}]},
{clause,131,
[{cons,131,
{var,131,'C'},
{var,131,'Rest'}},
{var,131,'S'},
{var,131,'Acc'}],
[],
[{call,132,
{atom,132,tokenize},
[{var,132,'Rest'},
{cons,132,
{var,132,'C'},
{var,132,'S'}},
{var,132,'Acc'}]}]}]},
{function,134,
tokenize_format,1,
[{clause,134,
[{var,134,'S'}],
[],
[{call,135,
{atom,135,
tokenize_format},
[{var,135,'S'},
{integer,135,1},
{nil,135}]}]}]},
{function,137,
tokenize_format,3,
[{clause,137,
[{op,137,'++',
{string,137,"}"},
{var,137,'Rest'}},
{integer,137,1},
{var,137,'Acc'}],
[],
[{tuple,138,
[{call,138,
{remote,138,
{atom,138,lists},
{atom,138,reverse}},
[{var,138,'Acc'}]},
{var,138,'Rest'}]}]},
{clause,139,
[{op,139,'++',
{string,139,"}"},
{var,139,'Rest'}},
{var,139,'N'},
{var,139,'Acc'}],
[],
[{call,140,
{atom,140,
tokenize_format},
[{var,140,'Rest'},
{op,140,'-',
{var,140,'N'},
{integer,140,1}},
{op,140,'++',
{string,140,"}"},
{var,140,'Acc'}}]}]},
{clause,141,
[{op,141,'++',
{string,141,"{"},
{var,141,'Rest'}},
{var,141,'N'},
{var,141,'Acc'}],
[],
[{call,142,
{atom,142,
tokenize_format},
[{var,142,'Rest'},
{op,142,'+',
{integer,142,1},
{var,142,'N'}},
{op,142,'++',
{string,142,"{"},
{var,142,'Acc'}}]}]},
{clause,143,
[{cons,143,
{var,143,'C'},
{var,143,'Rest'}},
{var,143,'N'},
{var,143,'Acc'}],
[],
[{call,144,
{atom,144,
tokenize_format},
[{var,144,'Rest'},
{var,144,'N'},
{cons,144,
{var,144,'C'},
{var,144,
'Acc'}}]}]}]},
{function,146,make_format,
1,
[{clause,146,
[{var,146,'S'}],
[],
[{match,147,
{tuple,147,
[{var,147,'Name0'},
{var,147,'Spec'}]},
{'case',147,
{call,147,
{remote,147,
{atom,147,lists},
{atom,147,
splitwith}},
[{'fun',147,
{clauses,
[{clause,147,
[{var,147,'C'}],
[],
[{op,147,'=/=',
{var,147,'C'},
{char,147,
58}}]}]}},
{var,147,'S'}]},
[{clause,148,
[{tuple,148,
[{var,148,'
'},
{string,148,
[]}]}],
[],
[{tuple,149,
[{var,149,'S'},
{string,149,
[]}]}]},
{clause,150,
[{tuple,150,
[{var,150,'SN'},
{op,150,'++',
{string,150,":"},
{var,150,
'SS'}}]}],
[],
[{tuple,151,
[{var,151,'SN'},
{var,151,
'SS'}]}]}]}},
{match,153,
{tuple,153,
[{var,153,'Name'},
{var,153,
'Transform'}]},
{'case',153,
{call,153,
{remote,153,
{atom,153,lists},
{atom,153,
splitwith}},
[{'fun',153,
{clauses,
[{clause,153,
[{var,153,'C'}],
[],
[{op,153,'=/=',
{var,153,'C'},
{char,153,
33}}]}]}},
{var,153,'Name0'}]},
[{clause,154,
[{tuple,154,
[{var,154,''},
{string,154,
[]}]}],
[],
[{tuple,155,
[{var,155,'Name0'},
{string,155,
[]}]}]},
{clause,156,
[{tuple,156,
[{var,156,'TN'},
{op,156,'++',
{string,156,"!"},
{var,156,
'TT'}}]}],
[],
[{tuple,157,
[{var,157,'TN'},
{var,157,
'TT'}]}]}]}},
{tuple,159,
[{var,159,'Name'},
{var,159,'Transform'},
{var,159,'Spec'}]}]}]},
{function,161,
proplist_lookup,2,
[{clause,161,
[{var,161,'S'},
{var,161,'P'}],
[],
[{match,162,
{var,162,'A'},
{'try',162,
[{call,162,
{atom,162,
list_to_existing_atom},
[{var,162,'S'}]}],
[],
[{clause,163,
[{tuple,163,
[{atom,163,error},
{var,163,'
'},
{var,163,''}]}],
[],
[{call,163,
{atom,163,
make_ref},
[]}]}],
[]}},
{match,164,
{var,164,'B'},
{'try',164,
[{call,164,
{atom,164,
list_to_binary},
[{var,164,'S'}]}],
[],
[{clause,165,
[{tuple,165,
[{atom,165,error},
{var,165,'
'},
{var,165,''}]}],
[],
[{call,165,
{atom,165,
make_ref},
[]}]}],
[]}},
{call,166,
{atom,166,
proplist_lookup2},
[{tuple,166,
[{var,166,'S'},
{var,166,'A'},
{var,166,'B'}]},
{var,166,'P'}]}]}]},
{function,168,
proplist_lookup2,2,
[{clause,168,
[{tuple,168,
[{var,168,'KS'},
{var,168,'KA'},
{var,168,'KB'}]},
{cons,168,
{tuple,168,
[{var,168,'K'},
{var,168,'V'}]},
{var,168,'
'}}],
[[{op,169,'orelse',
{op,169,'=:=',
{var,169,'KS'},
{var,169,'K'}},
{op,169,'orelse',
{op,169,'=:=',
{var,169,'KA'},
{var,169,'K'}},
{op,169,'=:=',
{var,169,'KB'},
{var,169,'K'}}}}]],
[{tuple,170,
[{var,170,'K'},
{var,170,'V'}]}]},
{clause,171,
[{var,171,'Keys'},
{cons,171,
{var,171,''},
{var,171,'Rest'}}],
[],
[{call,172,
{atom,172,
proplist_lookup2},
[{var,172,'Keys'},
{var,172,'Rest'}]}]}]},
{function,174,format2,4,
[{clause,174,
[{nil,174},
{var,174,'Args'},
{var,174,'Module'},
{var,174,'Acc'}],
[],
[{call,175,
{remote,175,
{atom,175,lists},
{atom,175,reverse}},
[{var,175,'Acc'}]}]},
{clause,176,
[{cons,176,
{tuple,176,
[{atom,176,raw},
{var,176,'S'}]},
{var,176,'Rest'}},
{var,176,'Args'},
{var,176,'Module'},
{var,176,'Acc'}],
[],
[{call,177,
{atom,177,format2},
[{var,177,'Rest'},
{var,177,'Args'},
{var,177,'Module'},
{cons,177,
{var,177,'S'},
{var,177,'Acc'}}]}]},
{clause,178,
[{cons,178,
{tuple,178,
[{atom,178,format},
{tuple,178,
[{var,178,'Key'},
{var,178,'Convert'},
{var,178,
'Format0'}]}]},
{var,178,'Rest'}},
{var,178,'Args'},
{var,178,'Module'},
{var,178,'Acc'}],
[],
[{match,179,
{var,179,'Format'},
{call,179,
{atom,179,f},
[{var,179,'Format0'},
{var,179,'Args'},
{var,179,'Module'}]}},
{match,180,
{var,180,'V'},
{'case',180,
{var,180,'Module'},
[{clause,181,
[{atom,181,
mochifmt}],
[],
[{match,182,
{var,182,'V0'},
{call,182,
{atom,182,
get_field},
[{var,182,'Key'},
{var,182,
'Args'}]}},
{match,183,
{var,183,'V1'},
{call,183,
{atom,183,
convert_field},
[{var,183,'V0'},
{var,183,
'Convert'}]}},
{call,184,
{atom,184,
format_field},
[{var,184,'V1'},
{var,184,
'Format'}]}]},
{clause,185,
[{var,185,'
'}],
[],
[{match,186,
{var,186,'V0'},
{'try',186,
[{call,186,
{remote,186,
{var,186,
'Module'},
{atom,186,
get_field}},
[{var,186,
'Key'},
{var,186,
'Args'}]}],
[],
[{clause,187,
[{tuple,187,
[{atom,187,
error},
{atom,187,
undef},
{var,187,
'
'}]}],
[],
[{call,187,
{atom,187,
get_field},
[{var,187,
'Key'},
{var,187,
'Args'},
{var,187,
'Module'}]}]}],
[]}},
{match,188,
{var,188,'V1'},
{'try',188,
[{call,188,
{remote,188,
{var,188,
'Module'},
{atom,188,
convert_field}},
[{var,188,'V0'},
{var,188,
'Convert'}]}],
[],
[{clause,189,
[{tuple,189,
[{atom,189,
error},
{atom,189,
undef},
{var,189,
'
'}]}],
[],
[{call,189,
{atom,189,
convert_field},
[{var,189,
'V0'},
{var,189,
'Convert'}]}]}],
[]}},
{'try',190,
[{call,190,
{remote,190,
{var,190,
'Module'},
{atom,190,
format_field}},
[{var,190,'V1'},
{var,190,
'Format'}]}],
[],
[{clause,191,
[{tuple,191,
[{atom,191,
error},
{atom,191,
undef},
{var,191,
'_'}]}],
[],
[{call,191,
{atom,191,
format_field},
[{var,191,
'V1'},
{var,191,
'Format'},
{var,191,
'Module'}]}]}],
[]}]}]}},
{call,193,
{atom,193,format2},
[{var,193,'Rest'},
{var,193,'Args'},
{var,193,'Module'},
{cons

@marianoguerra
Copy link
Owner

nice traceback! ;)

have you tried installing all the erlang related packages?

I have ubuntu 10.10 and just rebuilt mochiweb after a make clean and it compiled succesfuly.

I can find your missing module here:

/usr/lib/erlang/lib/eunit-2.1.4/ebin/eunit_autoexport.beam

try installing erlang-eunit (better if you install all the packages to be sure ;)

@marianoguerra
Copy link
Owner

closing, since my machine runs ubuntu 10.10 and not enough information...

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants