Problems building tk84 port

Wayne Pascoe freebsd-feb at penguinpowered.org
Sun May 9 05:33:44 PDT 2004


Hi all,

I'm having problems building /usr/ports/x11-toolkits/tk84. I am trying
to build this because I'm trying to build py-bittorrent.

After doing a make clean, a make produces the output of configure, and
then 
cc -pipe -c -O -pipe -march=i686 -march=pentiumpro -Wall -Wconversion
-Wno-implicit-int -fPIC
-I/usr/ports/x11-toolkits/tk84/work/tk8.4.6/unix
-I/usr/ports/x11-toolkits/tk84/work/tk8.4.6/unix/../generic
-I/usr/ports/x11-toolkits/tk84/work/tk8.4.6/unix/../bitmaps
-I/tmp/a/ports/lang/tcl84/work/tcl8.4.4/generic -I/usr/X11R6/include
-DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -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
/usr/ports/x11-toolkits/tk84/work/tk8.4.6/unix/../generic/tk3d.c

Then the errors start... From lines 71 - 1117 of my output file.

Some of the errors are as follows:
In file included from
In file included from
/usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tkInt.h:21,
                 from
/usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk3d.h:18,
                 from
/usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk3d.c:16:
/usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk.h:70:20: tcl.h: No
such file or directory

It ends with

/usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk3d.c:55: warning:
excess elements in scalar initializer
/usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk3d.c:55: warning:
(near initialization for `tkBorderObjType')
/usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk3d.c:55: warning:
data definition has no type or storage class
/usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk3d.c:83: error:
syntax error before "Tcl_Interp"
/usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk3d.c:85: error:
syntax error before '*' token
/usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk3d.c:85: warning:
data definition has no type or storage class
/usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk3d.c:87: error:
syntax error before '{' token
*** Error code 1

Stop in /usr/ports/x11-toolkits/tk84/work/tk8.4.6/unix.
*** Error code 1

Any ideas on what might be wrong here ? 

Thanks in advance,

-- 
Wayne Pascoe
Doing a linear scan over an associative array
is like trying to club someone to death with a 
loaded Uzi. - Larry Wall


More information about the freebsd-questions mailing list