<div dir="ltr"><div><div><div>If I leave the two itsdb lines of the makefile commented out, it still throws an error saying capi_printf is undefined (itsdb.o, in function "captured_capi_printf", itsdb.c line 20).<br><br></div>If I uncomment those two lines, it says:<br><br>/usr/bin/ld: cannot find -litsdb<br>/usr/bin/ld: cannot find -lpvm3<br><br></div><br></div>(And I don't want to install the entire Logon tree just to build ACE.)<br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-11-16 17:31 GMT+00:00 Joshua Crowgey <span dir="ltr"><<a href="mailto:jcrowgey@u.washington.edu" target="_blank">jcrowgey@u.washington.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Guy,<br>
<br>
Re building ACE, I have itsdb.h in logon/lingo/lkb/include/, but I've<br>
attached it here. Maybe you just need to tell your compiler where to<br>
find it. I think it's gcc -L (or -l, I can't recall).<br>
<br>
Hope this helps!<br>
<br>
--Joshua<br>
<div><div class="h5"><br>
On 11/16/2016 08:47 AM, Guy Emerson wrote:<br>
> I used the precompiled binary and grammar - I didn't realise that<br>
> librepp was only for compiling from source.<br>
><br>
> Running gdb, I get:<br>
><br>
> Program received signal SIGSEGV, Segmentation fault.<br>
> 0x00007fffdec22300 in ?? ()<br>
> (gdb) backtrace<br>
> #0 0x00007fffdec22300 in ?? ()<br>
> #1 0x000000000046290a in visit_lexicon (stem=<optimized out>,<br>
> visitor=0x7fffdec22300) at lexicon.c:137<br>
> #2 0x00000000004845fc in lexical_lookup (tc=0x7f27168d0000) at morpho.c:283<br>
> #3 0x00000000004df9b1 in lexical_lookup_into_chart<br>
> (token_chart=0x7f27168d0000) at lexical-parse.c:64<br>
> #4 0x00000000004c0ff8 in parse_with_token_chart<br>
> (token_chart=0x7f27168d0000, start=46875) at parse.c:481<br>
> #5 0x00000000004c37e1 in parse_line1 (line=0x7fffdec22540 "Hello") at<br>
> parse.c:743<br>
> #6 0x00000000004c3936 in parse_line (line=0x6005692cfc ",-i\005`") at<br>
> parse.c:768<br>
> #7 0x0000000000516677 in main_input_loop (fin=0x7f271708f640<br>
> <_IO_2_1_stdin_>) at main.c:443<br>
> #8 0x0000000000517561 in main (argc=4, argv=0x7fffdec276c8) at main.c:653<br>
><br>
><br>
> If I try to compile the ERG image (using the precompiled binary), I also<br>
> get a seg fault:<br>
><br>
> Program received signal SIGSEGV, Segmentation fault.<br>
> 0x00007fffcea82cd8 in ?? ()<br>
> (gdb) backtrace<br>
> #0 0x00007fffcea82cd8 in ?? ()<br>
> #1 0x00000000004ccfbe in iterate_conf_list (key=<optimized out>,<br>
> callback=0x7fffcea82cd8) at conf.c:534<br>
> #2 0x00000000004ce9aa in load_preprocessor () at preprocessor.c:58<br>
> #3 0x0000000000472772 in load_grammar (path=0x7fffcea831fc<br>
> "/home/Guy/delphin/erg/trunk/<wbr>ace/config.tdl") at tdl.c:1660<br>
> #4 0x0000000000515dbe in initialize_engine () at main.c:523<br>
> #5 0x000000000051735d in main (argc=6, argv=0x7fffcea82fb8) at main.c:620<br>
><br>
><br>
> If I try to compile ACE from source, without any changes, there is an<br>
> error that itsdb.h is not found.<br>
><br>
> If I try to compile ACE after commenting out the two lines in the<br>
> Makefile for itsdb, there is an error that capi_printf is not defined in<br>
> itsdb.o.<br>
><br>
> If I also remove itsdb.o from the Makefile, many things are undefined.<br>
><br>
><br>
><br>
> As I'm not a C developer, I have very little sense about how easy this<br>
> would be to debug or to fix... I'm quite happy to be told this is not<br>
> worth the effort!<br>
><br>
><br>
><br>
> 2016-11-15 17:12 GMT+00:00 Woodley Packard <<a href="mailto:sweaglesw@sweaglesw.org">sweaglesw@sweaglesw.org</a><br>
</div></div>> <mailto:<a href="mailto:sweaglesw@sweaglesw.org">sweaglesw@sweaglesw.<wbr>org</a>>>:<br>
<span class="im HOEnZb">><br>
> Out of curiousity, Guy, were you able to use the precompiled binary<br>
> for ACE or did you have to compile your own? I wouldn’t have<br>
> thought you would need to install the librepp and boost dependencies<br>
> if using the binaries. It looks like you are using the precompiled<br>
> ERG image though. You could be getting a crash if you are using a<br>
> stock 0.9.24 grammar image with SVN trunk ACE source code. On the<br>
> off chance that you are doing that, please try compiling the ERG<br>
> image with the same ACE binary you are using. It *might* be helpful<br>
> to recompile the ERG image anyway.<br>
><br>
> Regards,<br>
> -Woodley<br>
><br>
</span><div class="HOEnZb"><div class="h5">> > On Nov 15, 2016, at 6:33 AM, Guy Emerson <<a href="mailto:gete2@cam.ac.uk">gete2@cam.ac.uk</a> <mailto:<a href="mailto:gete2@cam.ac.uk">gete2@cam.ac.uk</a>>> wrote:<br>
> ><br>
> > I am trying to run ACE on Windows 10's new Linux Subsystem. I can<br>
> run ACE with the ERG, but whatever input I give, I get the message<br>
> "ERROR: DEADLY SIGNAL!"<br>
> ><br>
> > It looks like it finishes the token mapping, and fails when<br>
> applying a syntactic rule. Verbose output is below.<br>
> ><br>
> > I've already installed repp-0.2.2 (which required me to also<br>
> install libboost), and I've set the TMPDIR environment variable, as<br>
> suggested on the ACE homepage.<br>
> ><br>
> > Any ideas on what else I would need to do? Could there be other<br>
> dependencies I need to install?<br>
> ><br>
> > Best,<br>
> > Guy<br>
> ><br>
> ><br>
> ><br>
> > ./ace -g erg-1214-x86-64-0.9.24.dat -1Tf -vvv<br>
> > NOTE: loading frozen grammar ERG (1214)<br>
> > NOTE: semantic index hash contains 28857 entries in 65536 slots<br>
> > NOTE: max-ent model hash contains 659414 entries in 1048576 slots<br>
> > NOTE: 9280 types, 38259 lexemes, 293 rules, 47 orules, 101<br>
> instances, 48101 strings, 216 features<br>
> > permanent RAM: 4k<br>
> ><br>
> > Hello<br>
> > Hello/UH<br>
> > token #12 le 0x7f07295d7fcc vtx [0-1] char [0-5] string 'hello'<br>
> dag #D[token +FORM: #D["hello"] +FROM: <1>= #D["0"] +TO: #D["5"]<br>
> +ID: #D[*diff-list* LIST: #D[*list*] LAST: #D[*list*] ] +TNT:<br>
> #D[null_tnt +TAGS: #D[*null*] +PRBS: #D[*null*] +MAIN: #D[tnt_main<br>
> +TAG: #D["UH"] +PRB: #D["1.0"] ] ] +CLASS: #D[alphabetic +INITIAL:<br>
> #D[+] +CASE: #D[capitalized+lower] ] +TRAIT: #D[token_trait +UW:<br>
> #D[-] +IT: #D[italics] +LB: #D[bracket_null] +RB: #D[bracket_null]<br>
> +HD: #D[token_head +LL: #D[ctype -CTYPE-: #D[string] ] +TG:<br>
> #D[string] +TI: <1> ] ] +PRED: #D[predsort] +CARG: #D["Hello"]<br>
> +TICK: #D[bool] ]<br>
> > token #13 le 0x7f07295d87e0 vtx [0-1] char [0-5] string 'hello'<br>
> dag #D[token +FORM: #D["hello"] +FROM: <1>= #D["0"] +TO: #D["5"]<br>
> +ID: #D[*diff-list* LIST: #D[*list*] LAST: #D[*list*] ] +TNT:<br>
> #D[null_tnt +TAGS: #D[*null*] +PRBS: #D[*null*] +MAIN: #D[tnt_main<br>
> +TAG: #D[string] +PRB: #D[string] ] ] +CLASS: #D[bridge_class]<br>
> +TRAIT: #D[token_trait +UW: #D[+] +IT: #D[italics] +LB:<br>
> #D[bracket_null] +RB: #D[bracket_null] +HD: #D[token_head +LL:<br>
> #D[ctype -CTYPE-: #D[string] ] +TG: #D[string] +TI: <1> ] ] +PRED:<br>
> #D["_hello_u_bridge_rel"] +CARG: #D["Hello"] +TICK: #D[bool] ]<br>
> > finished token mapping<br>
> > hello -> hello [2 ways]<br>
> ><br>
> > non_third_sg_fin_v_rbst<br>
> > hello -> hello [2 ways]<br>
> ><br>
> > non_third_sg_fin_v_rbst<br>
> > ERROR: DEADLY SIGNAL! sent = `Hello'<br>
><br>
><br>
</div></div></blockquote></div><br></div>