Opened 20 years ago
Closed 19 years ago
#2336 closed defect (worksforme)
BUG: tk
Reported by: | jgonion@… | Owned by: | landonf (Landon Fuller) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
- Symptom - TK cannot build, attempts to compile stdin.
--- See (Output1) Note - This was a fresh install of darwinports on system that has never had it before.) Note - "maxima-lisp" "tcl" and "XFree86" all installed/compiled fine.) Note - For reference, GCC 3.3 Used, fresh install of developer tools
- Potential Cause - Error in TK Portfile
--- See (Contents1) CFLAGS is set to reference ${portpath}/../../lang/tcl/work/tcl${version}/generic The problem is that if TCL has been already installed, this directory will be empty (cleaned) The preconfiguration --portexec tcl build-- will not build it, since it has already been successfully built This may be causing a configuration problem in TK
- Also attempted to also build manually from dports/x11/tk/work/tk8.4.7/unix
--- See (Output2) Note - Output2 may simply be the result of some missing environment setting due to the manual attempt, but perhaps not.
* (Contents1) * # This port also needs to have tcl (which should always be in sync) # extracted in order to build pre-configure { portexec tcl build } configure.env CFLAGS=-I${portpath}/../../lang/tcl/work/tcl${version}/generic
* (Output1) * [Gonion:~/darwinports/base] jgonion% port install tk ---> Building tk with target all Error: Target com.apple.build returned: shell command "cd "/Users/jgonion/darwinports/dports/x11/ tk/work/tk8.4.7/unix" && make all" returned error 2 Command output: /Users/jgonion/darwinports/dports/x11/tk/work/tk8.4.7/generic/tk3d.c:1264: error: parse error before ')' token . . (slew of errors omitted...) . /Users/jgonion/darwinports/dports/x11/tk/work/tk8.4.7/generic/tk3d.c:1396: error: parse error before ')' token /usr/include/ctype.h: At top level: /Users/jgonion/darwinports/dports/x11/tk/work/tk8.4.7/generic/tk3d.c:1134: error: storage size of `shiftTable' isn't known /Users/jgonion/darwinports/dports/x11/tk/work/tk8.4.7/generic/tk3d.c:31: warning: `BorderInit' declared `static' but never defined /Users/jgonion/darwinports/dports/x11/tk/work/tk8.4.7/generic/tk3d.c:36: warning: `Intersect' declared `static' but never defined /Users/jgonion/darwinports/dports/x11/tk/work/tk8.4.7/generic/tk3d.c:39: warning: `ShiftLine' declared `static' but never defined {standard input}:1940:Ignoring attempt to re-define symbol. {standard input}:1943:Ignoring attempt to re-define symbol. {standard input}:1979:Ignoring attempt to re-define symbol. {standard input}:1982:Ignoring attempt to re-define symbol. {standard input}:1985:Ignoring attempt to re-define symbol. {standard input}:1988:Ignoring attempt to re-define symbol. make: * [tk3d.o] Error 1
* (Output2) * [Gonion:work/tk8.4.7/unix] jgonion% make all gcc -pipe -c -Os -I/Users/jgonion/darwinports/dports/x11/tk/../../lang/tcl/work/tcl8.4.7/generic -Wall -Wno-implicit-int -fno-strict-aliasing -fno-common -I/Users/jgonion/darwinports/dports/x11/ tk/work/tk8.4.7/unix -I/Users/jgonion/darwinports/dports/x11/tk/work/tk8.4.7/unix/../generic -I/ Users/jgonion/darwinports/dports/x11/tk/work/tk8.4.7/unix/../bitmaps -I/SourceCache/tcl/tcl-14/ tcl/generic -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1 -DMAC_OSX_TCL=1 -DHAVE_CFBUNDLE=1 -DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\"utf-8\" -DTCL_WIDE_INT_TYPE=long\ long -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS /Users/jgonion/darwinports/dports/x11/tk/work/tk8.4.7/unix/../generic/tk3d.c In file included from /Users/jgonion/darwinports/dports/x11/tk/work/tk8.4.7/generic/tkInt.h:21,
from /Users/jgonion/darwinports/dports/x11/tk/work/tk8.4.7/generic/tk3d.h:18, from /Users/jgonion/darwinports/dports/x11/tk/work/tk8.4.7/generic/tk3d.c:16:
/Users/jgonion/darwinports/dports/x11/tk/work/tk8.4.7/generic/tk.h:96:29: X11/Xlib.h: No such file or directory In file included from /Users/jgonion/darwinports/dports/x11/tk/work/tk8.4.7/generic/tkInt.h:21,
from /Users/jgonion/darwinports/dports/x11/tk/work/tk8.4.7/generic/tk3d.h:18, from /Users/jgonion/darwinports/dports/x11/tk/work/tk8.4.7/generic/tk3d.c:16:
/Users/jgonion/darwinports/dports/x11/tk/work/tk8.4.7/generic/tk.h:573: error: parse error before "Window" . . (Plus a zillion other errors) .
Change History (8)
comment:1 Changed 20 years ago by jgonion@…
Summary: | Errors in TK / TCL dependency → TK Cannot build |
---|
comment:2 Changed 20 years ago by toby@…
severity: | blocker → normal |
---|
comment:3 Changed 20 years ago by snu@…
Owner: | changed from darwinports-bugs@… to jkh@… |
---|---|
Summary: | TK Cannot build → BUG: tk |
comment:4 Changed 20 years ago by mww@…
Resolution: | → invalid |
---|---|
Status: | new → closed |
tk is at v8.4.9 meanwhile - if this still applies, please re-open!
comment:5 Changed 20 years ago by andrekar@…
Resolution: | invalid |
---|---|
Status: | closed → reopened |
comment:6 Changed 19 years ago by snu@…
Owner: | changed from jkh@… to darwinports-bugs@… |
---|---|
Status: | reopened → new |
Jordan has relinquished maintainership of these ports.
comment:7 Changed 19 years ago by blb@…
Owner: | changed from darwinports-bugs@… to landonf@… |
---|
Assigning to new maintainer.
comment:8 Changed 19 years ago by pguyot (Paul Guyot)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
This bug should only be re-opened if it continues to apply with latest tk's Portfile.
Installing TCL with -f -k (to keep source files in WORK directory) does not solve this problem. It is probably not related to TCL, although the issue with the Portfile seems strange.
TK still tries to compile stdin...