#62 Does not build on cygwin

open
nobody
None
5
2014-08-01
2012-03-21
Thomas Wolff
No

mlterm does not build on cygwin (tried 3.0.11 and previously 3.0.8)

In file included from /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/windows.h:87:0,
from x_display.c:110:
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/winspool.h:255:8: error: two or more data types in declaration specifiers
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/winspool.h:270:8: error: two or more data types in declaration specifiers
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/winspool.h:291:8: error: two or more data types in declaration specifiers
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/winspool.h:316:8: error: two or more data types in declaration specifiers
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/winspool.h:571:8: error: two or more data types in declaration specifiers
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/winspool.h:594:8: error: two or more data types in declaration specifiers
Makefile:76: recipe for target `x_display.o' failed

Discussion

1 2 3 > >> (Page 1 of 3)
  • Araki Ken
    Araki Ken
    2012-03-24

    Thanks for your report.
    I think an attached patch will fix this problem.

     
  • Araki Ken
    Araki Ken
    2012-03-24

    • status: open --> open-fixed
     
  • Thomas Wolff
    Thomas Wolff
    2012-03-26

    With the patch it builds. It doesn't work, however. As soon as it is asked to display a UTF-8 character, the mlterm window vanishes, then reapperas after a moment. This repeats a few dozen times (!) until it finally crashes.

     
  • Araki Ken
    Araki Ken
    2012-03-30

    Thanks.
    I think an attached patch will stop segfault in using utf8.
    But if the problem is fixed by this patch, mkf loadable
    dlls doesn't seem to be installed to correct directory
    ($(libdir)/mlterm or the same directory where mlterm.exe is installed),
    so UTF-8 characters might not be correctly displayed by
    this patch alone.

     
  • Araki Ken
    Araki Ken
    2012-03-30

  • Thomas Wolff
    Thomas Wolff
    2012-04-02

    OK, no crash anymore (and UTF-8 is displaed).

    However, bidi does not work, although 'configure' output finally includes:
    BiDi rendering (Fribidi) : yes
    Indic rendering : yes

    Despite this, there are some occurences of "fribidi=no" in config.log, and no warning. Weird.

     
  • Araki Ken
    Araki Ken
    2012-05-13

    configure script didn't output if fribidi library is found or not,
    but output if --enable-fribidi is specified or not.
    I fixed this problem. Thanks.

    Then, does "pkg-config fribidi --modversion" normally output the version
    number of it ?
    configure script uses pkg-config to check if fribidi is installed or not.

     
  • Thomas Wolff
    Thomas Wolff
    2012-05-14

    pkg-config: command not found
    Maybe that's the problem?

     
  • Araki Ken
    Araki Ken
    2012-05-17

    Install Devel/pkg-config and Text/libfribidi-devel by cygwin setup.exe.

     
1 2 3 > >> (Page 1 of 3)