Menu

#595 tcl.m4 support for Haiku OS

pending-out-of-date
5
2012-11-14
2009-10-21
No

The attached patch provides a couple more compilation fixes by adding a Haiku section to the tcl.m4 script.

The section fixes a linker error where the networking symbols (such as socket(), inet_ntoa(), recv(), etc) are not found. Haiku provides them via -lnetwork. Additionally, this provides shared and dynamic library settings (e.g., dlopen() is in -lroot).

This is just a preliminary version that can probably be improved upon and expanded, but it results in a successful complete build.

Cheers!
Sean

Discussion

  • Sean Morrison

    Sean Morrison - 2009-10-21

    tcl.m4 section for Haiku OS

     
  • Sean Morrison

    Sean Morrison - 2012-11-14

    Wasn't this patch applied? I recall reading release notes in 8.5.8 that mentioned Haiku portability fixes, but wasn't clear if it was this patch or something else. Pretty simple linker fixes if it wasn't. ;)

     
  • Don Porter

    Don Porter - 2012-11-14

    All of the dev branches have a Haiku stanza in their unix/tcl.m4 files.

     
  • Don Porter

    Don Porter - 2012-11-14
    • status: open --> pending-out-of-date
     
  • Sean Morrison

    Sean Morrison - 2012-11-14

    Don, thanks for the recap/confirm. Looks like this bug can be closed.

    Now that Haiku's Alpha 4 is out, I'm looking into revisiting Tk support but wanted to close out all of the Tcl issues first. This should do it! Thanks again.