LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 638|回复: 0

高难问题:Problems building tk84 port, 安装kde3时候出现的

[复制链接]
发表于 2005-2-6 00:29:26 | 显示全部楼层 |阅读模式
cd /usr/ports/x11/kde3
make install clean
出现如下错误提示:
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

应该是内置文件出现错误了,这是厂家的问题吗?如何解决呢 ?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表