| Ticket UUID: | 1946209 | |||
| Title: | cygwin build fails for both X11 and win32 windowing systems | |||
| Type: | Patch | Version: | None | |
| Submitter: | gregcouch | Created on: | 2008-04-18 23:58:01 | |
| Subsystem: | 84. Unix Build | Assigned To: | mdejong | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Closed | Last Modified: | 2008-04-19 09:22:00 | |
| Resolution: | Invalid | Closed By: | mdejong | |
| Closed on: | 2008-04-19 01:24:43 | |||
| Description: |
Building Tk on Windows with the cygwin environment fails for both the win32 native build and the X11 build. The win32 native build bug was detailed in bug 1844430, and is still there in both Tk 8.5.2 and 8.4.19. The X11, aka unix, build fails because of a bug in generic/default.h. It should be using the same logic as the Tk_TkObjCmd function's TK_WINDOWINGSYSTEM code, instead of including Windows functions in a X11 build! Attached are patches for Tk 8.4.* and 8.5.[012]. | |||
| User Comments: |
gregcouch added on 2008-04-19 09:22:00:
Logged In: YES user_id=131838 Originator: YES Turns out it was the wrong patch anyway as it breaks building the Windows version. It is a shame that building the X11 version with cygwin is not supported. I wanted to test tbe X11 version as well as the Windows version on the same computer without using a virtual machine. Oh well. mdejong added on 2008-04-19 08:24:43: Logged In: YES user_id=90858 Originator: NO Not a bug, Cygwin build is not supported. gregcouch added on 2008-04-19 06:58:36: File Added - 275125: tk8.5-default.patch Logged In: YES user_id=131838 Originator: YES File Added: tk8.5-default.patch gregcouch added on 2008-04-19 06:58:02: File Added - 275124: tk8.4-default.patch | |||
Attachments:
- tk8.5-default.patch [download] added by gregcouch on 2008-04-19 06:58:36. [details]
- tk8.4-default.patch [download] added by gregcouch on 2008-04-19 06:58:02. [details]
