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)
Change History (21)
Changed 10 years ago by mwette
comment:1 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:5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | qilovechips@… added |
---|---|
Summary: | Togl build can't find tkInt.h → Togl: 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:7 Changed 10 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:9 follow-up: 11 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Thomas, could you attach your main.log, please?
comment:10 follow-up: 12 Changed 10 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 10 years ago by thomas.gimpel@…
Attachment: | main.2.log added |
---|
comment:11 Changed 10 years ago by thomas.gimpel@…
comment:12 follow-up: 13 Changed 10 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 follow-up: 15 Changed 10 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.1 → 2.3.3 |
Cc maintainer of duplicate #47796.
comment:15 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 9 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)
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: | new → closed |
main.log