Opened 10 years ago

Closed 6 years ago

#44459 closed defect (fixed)

Togl: fatal error: 'tkInt.h' file not found

Reported by: mwette Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: matthew.wette@…, sofi@…, qilovechips@…, ryandesign (Ryan Carsten Schmidt), thomas.gimpel@…, mlook@…, MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: Togl

Description (last modified by mf2k (Frank Schima))

from main.log:

:info:build In file included from togl.c:55:
:info:build ./tkMacOSX.h:20:10: fatal error: 'tkInt.h' file not found

Attachments (2)

main.log (47.8 KB) - added by mwette 10 years ago.
main.log
main.2.log (62.1 KB) - added by thomas.gimpel@… 9 years ago.

Download all attachments as: .zip

Change History (21)

Changed 10 years ago by mwette

Attachment: main.log added

main.log

comment:1 in reply to:  description Changed 10 years ago by mwette

:info:build In file included from togl.c:55:
:info:build ./tkMacOSX.h:20:10: fatal error: 'tkInt.h' file not found

comment:2 Changed 10 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:3 Changed 10 years ago by sofi@…

Cc: sofi@… added

Cc Me!

comment:4 Changed 10 years ago by sofi@…

Same issue!! Can this be fixed please. CheerS

comment:5 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: qilovechips@… added
Summary: Togl build can't find tkInt.hTogl: fatal error: 'tkInt.h' file not found

Has duplicate #47341.

I do not see this problem. The logs attached here and in #47341 are not from clean builds. Please run "sudo port clean Togl" and then try again.

comment:6 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Cc Me!

comment:7 Changed 9 years ago by thomas.gimpel@…

Same issue here in a clean build. The problem is caused by an incompatible copy of tkMacOSX.h, which is provided by the Togl package. It refers to a tkInt.h, which does not exist in the whole system. The original tkMacOSX.h in /opt/local/include provided by the tk port includes tk.h instead of tkInt.h.

comment:8 Changed 9 years ago by thomas.gimpel@…

Cc: thomas.gimpel@… added

Cc Me!

comment:9 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Thomas, could you attach your main.log, please?

comment:10 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Thomas, are you saying that you already have a version of Togl installed by MacPorts, and that this is what causes the problem? If so, you should be able to work around that problem by deactivating that copy of Togl (sudo port -f deactivate Togl) before trying to install the new one.

Changed 9 years ago by thomas.gimpel@…

Attachment: main.2.log added

comment:11 in reply to:  9 Changed 9 years ago by thomas.gimpel@…

Replying to ryandesign@…:

Thomas, could you attach your main.log, please?

added

comment:12 in reply to:  10 ; Changed 9 years ago by thomas.gimpel@…

Replying to ryandesign@…:

Thomas, are you saying that you already have a version of Togl installed by MacPorts, and that this is what causes the problem? If so, you should be able to work around that problem by deactivating that copy of Togl (sudo port -f deactivate Togl) before trying to install the new one.

There is no other version of Togl installed but the tk port is installed. The tk port already provides a tkMacOSX.h, which does not refer to a tkInt.h. I think Togl is based on an older tcl/tk version so that the own provided tkMacOSX.h does not match with the version of the official tk port.

comment:13 in reply to:  12 ; Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to thomas.gimpel@…:

There is no other version of Togl installed but the tk port is installed.

Sure: the tk port would have to be installed, since it is a declared dependency of Togl. I'll have to compare your log with mine to see why mine installs but yours doesn't.

comment:14 Changed 9 years ago by mf2k (Frank Schima)

Cc: mlook@… added
Version: 2.3.12.3.3

Cc maintainer of duplicate #47796.

comment:15 in reply to:  13 Changed 9 years ago by mlook@…

Replying to ryandesign@…:

Replying to thomas.gimpel@…:

There is no other version of Togl installed but the tk port is installed.

Sure: the tk port would have to be installed, since it is a declared dependency of Togl. I'll have to compare your log with mine to see why mine installs but yours doesn't.

Hello, did you find out anything? I checked my tkMacOSX.h and it refers to tk.h

comment:16 Changed 8 years ago by thomas.gimpel@…

Is there any progress in fixing this issue? How can we help to solve the problem? Or should we switch to Homebrew?

comment:17 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Between updates to Tcl/Tk and Togl, this should be fixed.
If not, please feel free to reopen.

comment:18 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez added

comment:19 Changed 6 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.