Menu

can' compile on cygwin

Help
2008-12-05
2013-05-08
  • Mancuso Raffaele

    i can't compile timidity++ last cvs on cygwin.

    ./configure --enable-winsyn --enable-winsyng --enable-w32gui

    works correctly. then

    make

    return

    escape_sjis.pl <w32g_res.rc >w32g_res_escaped.rc
    make[3]: Leaving directory `/cygdrive/c/raffaele/mylibs/timidity/timidity/interface'
    make[2]: Leaving directory `/cygdrive/c/raffaele/mylibs/timidity/timidity/interface'
    make[1]: Leaving directory `/cygdrive/c/raffaele/mylibs/timidity/timidity'
    /bin/sh: escape_sjis.pl: command not found
    make[3]: *** [w32g_res.res] Error 127
    make[2]: *** [all-recursive] Error 1
    make[1]: *** [all-recursive] Error 1
    make: *** [all] Error 2

    it seems that cygwin does not recognize the sintax "escape_sjis.pl". in the cygwin console "escape_sjis.pl" return unknown command. "./escape_sjis.pl" and "perl escape_sjis.pl" works correctly. the make file should be changed accordly

     
    • Mancuso Raffaele

      in the interface/makefile i changed

      w32g_syn_escaped.c:w32g_syn.c escape_sjis.pl
          escape_sjis.pl < w32g_syn.c > w32g_syn_escaped.c

      w32g_subwin_escaped.c:w32g_subwin.c escape_sjis.pl
          escape_sjis.pl < w32g_subwin.c > w32g_subwin_escaped.c

      w32g_res.res: w32g_res.h w32g_rec.h w32g_res.rc \     w32g_btn.bmp w32g_icon.ico w32g_sleep.bmp w32g_subbtn.bmp \     escape_sjis.pl
          escape_sjis.pl <w32g_res.rc >w32g_res_escaped.rc

      to

      w32g_syn_escaped.c:w32g_syn.c escape_sjis.pl
          ./escape_sjis.pl < w32g_syn.c > w32g_syn_escaped.c

      w32g_subwin_escaped.c:w32g_subwin.c escape_sjis.pl
          ./escape_sjis.pl < w32g_subwin.c > w32g_subwin_escaped.c

      w32g_res.res: w32g_res.h w32g_rec.h w32g_res.rc \     w32g_btn.bmp w32g_icon.ico w32g_sleep.bmp w32g_subbtn.bmp \     ./escape_sjis.pl
          ./escape_sjis.pl <w32g_res.rc >w32g_res_escaped.rc

      and it works. but i don't know how this make file is created from configure, i am not expert of GNU build tools

       

Log in to post a comment.