当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 1 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : How to install Tk8.5.2 or Tk8.5.7 in Ubuntu 9.04?
帖子发表于 : 2009-09-19 16:19 

注册: 2009-08-02 16:07
帖子: 6
送出感谢: 0 次
接收感谢: 0 次
I've installed Tcl8.5.2 in Ubuntu, but many errors occured when install Tk8.5.2:

/root/tk8.5.2/unix/../generic/tk3d.c: At top level:
/root/tk8.5.2/unix/../generic/tk3d.c:347: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/root/tk8.5.2/unix/../generic/tk3d.c:371: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Tk_3DBorderGC’
/root/tk8.5.2/unix/../generic/tk3d.c: In function ‘Tk_Free3DBorder’:
/root/tk8.5.2/unix/../generic/tk3d.c:423: error: ‘Display’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:423: error: ‘display’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:423: warning: implicit declaration of function ‘DisplayOfScreen’
/root/tk8.5.2/unix/../generic/tk3d.c:423: error: ‘TkBorder’ has no member named ‘screen’
/root/tk8.5.2/unix/../generic/tk3d.c:426: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/root/tk8.5.2/unix/../generic/tk3d.c:427: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/root/tk8.5.2/unix/../generic/tk3d.c:431: error: ‘TkBorder’ has no member named ‘hashPtr’
/root/tk8.5.2/unix/../generic/tk3d.c:433: error: ‘TkBorder’ has no member named ‘bgColorPtr’
/root/tk8.5.2/unix/../generic/tk3d.c:434: warning: implicit declaration of function ‘Tk_FreeColor’
/root/tk8.5.2/unix/../generic/tk3d.c:434: error: ‘TkBorder’ has no member named ‘bgColorPtr’
/root/tk8.5.2/unix/../generic/tk3d.c:436: error: ‘TkBorder’ has no member named ‘darkColorPtr’
/root/tk8.5.2/unix/../generic/tk3d.c:437: error: ‘TkBorder’ has no member named ‘darkColorPtr’
/root/tk8.5.2/unix/../generic/tk3d.c:439: error: ‘TkBorder’ has no member named ‘lightColorPtr’
/root/tk8.5.2/unix/../generic/tk3d.c:440: error: ‘TkBorder’ has no member named ‘lightColorPtr’
/root/tk8.5.2/unix/../generic/tk3d.c:442: error: ‘TkBorder’ has no member named ‘shadow’
/root/tk8.5.2/unix/../generic/tk3d.c:442: error: ‘None’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:443: warning: implicit declaration of function ‘Tk_FreeBitmap’
/root/tk8.5.2/unix/../generic/tk3d.c:443: error: ‘TkBorder’ has no member named ‘shadow’
/root/tk8.5.2/unix/../generic/tk3d.c:445: error: ‘TkBorder’ has no member named ‘bgGC’
/root/tk8.5.2/unix/../generic/tk3d.c:446: warning: implicit declaration of function ‘Tk_FreeGC’
/root/tk8.5.2/unix/../generic/tk3d.c:446: error: ‘TkBorder’ has no member named ‘bgGC’
/root/tk8.5.2/unix/../generic/tk3d.c:448: error: ‘TkBorder’ has no member named ‘darkGC’
/root/tk8.5.2/unix/../generic/tk3d.c:449: error: ‘TkBorder’ has no member named ‘darkGC’
/root/tk8.5.2/unix/../generic/tk3d.c:451: error: ‘TkBorder’ has no member named ‘lightGC’
/root/tk8.5.2/unix/../generic/tk3d.c:452: error: ‘TkBorder’ has no member named ‘lightGC’
/root/tk8.5.2/unix/../generic/tk3d.c:455: error: ‘TkBorder’ has no member named ‘nextPtr’
/root/tk8.5.2/unix/../generic/tk3d.c:456: error: ‘TkBorder’ has no member named ‘hashPtr’
/root/tk8.5.2/unix/../generic/tk3d.c:458: error: ‘TkBorder’ has no member named ‘hashPtr’
/root/tk8.5.2/unix/../generic/tk3d.c:458: error: ‘TkBorder’ has no member named ‘nextPtr’
/root/tk8.5.2/unix/../generic/tk3d.c:461: error: ‘TkBorder’ has no member named ‘nextPtr’
/root/tk8.5.2/unix/../generic/tk3d.c:462: error: ‘TkBorder’ has no member named ‘nextPtr’
/root/tk8.5.2/unix/../generic/tk3d.c:464: error: ‘TkBorder’ has no member named ‘nextPtr’
/root/tk8.5.2/unix/../generic/tk3d.c:464: error: ‘TkBorder’ has no member named ‘nextPtr’
/root/tk8.5.2/unix/../generic/tk3d.c:466: error: ‘TkBorder’ has no member named ‘objRefCount’
/root/tk8.5.2/unix/../generic/tk3d.c: In function ‘FreeBorderObjProc’:
/root/tk8.5.2/unix/../generic/tk3d.c:528: error: ‘TkBorder’ has no member named ‘objRefCount’
/root/tk8.5.2/unix/../generic/tk3d.c:529: error: ‘TkBorder’ has no member named ‘objRefCount’
/root/tk8.5.2/unix/../generic/tk3d.c:530: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/root/tk8.5.2/unix/../generic/tk3d.c: In function ‘DupBorderObjProc’:
/root/tk8.5.2/unix/../generic/tk3d.c:566: error: ‘TkBorder’ has no member named ‘objRefCount’
/root/tk8.5.2/unix/../generic/tk3d.c: In function ‘Tk_SetBackgroundFromBorder’:
/root/tk8.5.2/unix/../generic/tk3d.c:594: error: ‘TkBorder’ has no member named ‘bgColorPtr’
/root/tk8.5.2/unix/../generic/tk3d.c: At top level:
/root/tk8.5.2/unix/../generic/tk3d.c:743: error: expected declaration specifiers or ‘...’ before ‘Drawable’
/root/tk8.5.2/unix/../generic/tk3d.c:745: error: expected declaration specifiers or ‘...’ before ‘XPoint’
/root/tk8.5.2/unix/../generic/tk3d.c: In function ‘Tk_Draw3DPolygon’:
/root/tk8.5.2/unix/../generic/tk3d.c:756: error: ‘XPoint’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:756: error: expected ‘;’ before ‘poly’
/root/tk8.5.2/unix/../generic/tk3d.c:757: error: expected ‘;’ before ‘perp’
/root/tk8.5.2/unix/../generic/tk3d.c:758: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/root/tk8.5.2/unix/../generic/tk3d.c:758: error: ‘p1Ptr’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:758: error: ‘p2Ptr’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:758: warning: left-hand operand of comma expression has no effect
/root/tk8.5.2/unix/../generic/tk3d.c:760: error: ‘GC’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:760: error: expected ‘;’ before ‘gc’
/root/tk8.5.2/unix/../generic/tk3d.c:762: error: ‘Display’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:762: error: ‘display’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:762: error: ‘Tk_FakeWin’ has no member named ‘display’
/root/tk8.5.2/unix/../generic/tk3d.c:764: error: ‘TkBorder’ has no member named ‘lightGC’
/root/tk8.5.2/unix/../generic/tk3d.c:764: error: ‘None’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:776: error: ‘drawable’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:776: error: ‘pointPtr’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:778: warning: passing argument 3 of ‘Tk_Draw3DPolygon’ makes integer from pointer without a cast
/root/tk8.5.2/unix/../generic/tk3d.c:778: error: too many arguments to function ‘Tk_Draw3DPolygon’
/root/tk8.5.2/unix/../generic/tk3d.c:781: warning: passing argument 3 of ‘Tk_Draw3DPolygon’ makes integer from pointer without a cast
/root/tk8.5.2/unix/../generic/tk3d.c:781: error: too many arguments to function ‘Tk_Draw3DPolygon’
/root/tk8.5.2/unix/../generic/tk3d.c:835: warning: left-hand operand of comma expression has no effect
/root/tk8.5.2/unix/../generic/tk3d.c:836: warning: left-hand operand of comma expression has no effect
/root/tk8.5.2/unix/../generic/tk3d.c:848: warning: implicit declaration of function ‘ShiftLine’
/root/tk8.5.2/unix/../generic/tk3d.c:848: error: ‘newB1’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:849: error: ‘newB2’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:851: error: ‘poly’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:854: warning: implicit declaration of function ‘Intersect’
/root/tk8.5.2/unix/../generic/tk3d.c:854: error: ‘b1’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:854: error: ‘b2’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:885: error: ‘perp’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:888: error: ‘c’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:889: error: ‘shift1’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:890: error: ‘shift2’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:904: error: ‘gc’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:904: error: ‘TkBorder’ has no member named ‘lightGC’
/root/tk8.5.2/unix/../generic/tk3d.c:906: error: ‘TkBorder’ has no member named ‘darkGC’
/root/tk8.5.2/unix/../generic/tk3d.c:908: warning: implicit declaration of function ‘XFillPolygon’
/root/tk8.5.2/unix/../generic/tk3d.c:908: error: ‘Convex’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:909: error: ‘CoordModeOrigin’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c: At top level:
/root/tk8.5.2/unix/../generic/tk3d.c:947: error: expected declaration specifiers or ‘...’ before ‘Drawable’
/root/tk8.5.2/unix/../generic/tk3d.c: In function ‘Tk_Fill3DRectangle’:
/root/tk8.5.2/unix/../generic/tk3d.c:983: warning: implicit declaration of function ‘XFillRectangle’
/root/tk8.5.2/unix/../generic/tk3d.c:983: error: ‘Tk_FakeWin’ has no member named ‘display’
/root/tk8.5.2/unix/../generic/tk3d.c:983: error: ‘drawable’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:983: error: ‘TkBorder’ has no member named ‘bgGC’
/root/tk8.5.2/unix/../generic/tk3d.c:990: warning: passing argument 3 of ‘Tk_Draw3DRectangle’ makes integer from pointer without a cast
/root/tk8.5.2/unix/../generic/tk3d.c:990: error: too many arguments to function ‘Tk_Draw3DRectangle’
/root/tk8.5.2/unix/../generic/tk3d.c: At top level:
/root/tk8.5.2/unix/../generic/tk3d.c:1013: error: expected declaration specifiers or ‘...’ before ‘Drawable’
/root/tk8.5.2/unix/../generic/tk3d.c:1015: error: expected declaration specifiers or ‘...’ before ‘XPoint’
/root/tk8.5.2/unix/../generic/tk3d.c: In function ‘Tk_Fill3DPolygon’:
/root/tk8.5.2/unix/../generic/tk3d.c:1029: error: ‘Tk_FakeWin’ has no member named ‘display’
/root/tk8.5.2/unix/../generic/tk3d.c:1029: error: ‘drawable’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:1029: error: ‘TkBorder’ has no member named ‘bgGC’
/root/tk8.5.2/unix/../generic/tk3d.c:1030: error: ‘pointPtr’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:1030: error: ‘Complex’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:1030: error: ‘CoordModeOrigin’ undeclared (first use in this function)
/root/tk8.5.2/unix/../generic/tk3d.c:1033: warning: passing argument 3 of ‘Tk_Draw3DPolygon’ makes integer from pointer without a cast
/root/tk8.5.2/unix/../generic/tk3d.c:1033: error: too many arguments to function ‘Tk_Draw3DPolygon’
/root/tk8.5.2/unix/../generic/tk3d.c: In function ‘BorderInit’:
/root/tk8.5.2/unix/../generic/tk3d.c:1057: error: ‘TkDisplay’ has no member named ‘borderInit’
/root/tk8.5.2/unix/../generic/tk3d.c:1058: error: ‘TkDisplay’ has no member named ‘borderTable’
/root/tk8.5.2/unix/../generic/tk3d.c: At top level:
/root/tk8.5.2/unix/../generic/tk3d.c:1080: error: expected ‘)’ before ‘*’ token
/root/tk8.5.2/unix/../generic/tk3d.c:1167: error: expected ‘)’ before ‘*’ token
/root/tk8.5.2/unix/../generic/tk3d.c: In function ‘Tk_Get3DBorderFromObj’:
/root/tk8.5.2/unix/../generic/tk3d.c:1242: error: ‘TkWindow’ has no member named ‘dispPtr’
/root/tk8.5.2/unix/../generic/tk3d.c:1256: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/root/tk8.5.2/unix/../generic/tk3d.c:1257: error: ‘Tk_FakeWin’ has no member named ‘display’
/root/tk8.5.2/unix/../generic/tk3d.c:1257: error: ‘Tk_FakeWin’ has no member named ‘screenNum’
/root/tk8.5.2/unix/../generic/tk3d.c:1257: error: ‘TkBorder’ has no member named ‘screen’
/root/tk8.5.2/unix/../generic/tk3d.c:1258: error: ‘Tk_FakeWin’ has no member named ‘atts’
/root/tk8.5.2/unix/../generic/tk3d.c:1258: error: ‘TkBorder’ has no member named ‘colormap’
/root/tk8.5.2/unix/../generic/tk3d.c:1278: error: ‘TkDisplay’ has no member named ‘borderTable’
/root/tk8.5.2/unix/../generic/tk3d.c:1278: error: ‘TkDisplay’ has no member named ‘borderTable’
/root/tk8.5.2/unix/../generic/tk3d.c:1283: error: ‘TkBorder’ has no member named ‘nextPtr’
/root/tk8.5.2/unix/../generic/tk3d.c:1284: error: ‘Tk_FakeWin’ has no member named ‘display’
/root/tk8.5.2/unix/../generic/tk3d.c:1284: error: ‘Tk_FakeWin’ has no member named ‘screenNum’
/root/tk8.5.2/unix/../generic/tk3d.c:1284: error: ‘TkBorder’ has no member named ‘screen’
/root/tk8.5.2/unix/../generic/tk3d.c:1285: error: ‘Tk_FakeWin’ has no member named ‘atts’
/root/tk8.5.2/unix/../generic/tk3d.c:1285: error: ‘TkBorder’ has no member named ‘colormap’
/root/tk8.5.2/unix/../generic/tk3d.c:1288: error: ‘TkBorder’ has no member named ‘objRefCount’
/root/tk8.5.2/unix/../generic/tk3d.c: In function ‘TkDebugBorder’:
/root/tk8.5.2/unix/../generic/tk3d.c:1368: error: ‘TkWindow’ has no member named ‘dispPtr’
/root/tk8.5.2/unix/../generic/tk3d.c:1371: error: ‘TkDisplay’ has no member named ‘borderTable’
/root/tk8.5.2/unix/../generic/tk3d.c:1371: error: ‘TkDisplay’ has no member named ‘borderTable’
/root/tk8.5.2/unix/../generic/tk3d.c:1377: error: ‘TkBorder’ has no member named ‘nextPtr’
/root/tk8.5.2/unix/../generic/tk3d.c:1380: error: ‘TkBorder’ has no member named ‘resourceRefCount’
/root/tk8.5.2/unix/../generic/tk3d.c:1382: error: ‘TkBorder’ has no member named ‘objRefCount’

and those are only part of them.It seems every errors occurs at me!!!
I have tried Tcl8.5.7 and Tk8.5.7.The install of Tcl is OK.but the same thing happended to Tk install.

I need your help!Thanks!!!


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 1 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译