安装tar格式的软件包发生如下问题。

OOo,TeX,KO,ABI,GIMP,Picasa,ProE,QCAD,Inkscape,Kicad,Eagle
回复
鱼的眼泪
帖子: 83
注册时间: 2005-04-20 21:21
送出感谢: 0
接收感谢: 0
联系:

安装tar格式的软件包发生如下问题。

#1

帖子 鱼的眼泪 » 2005-05-31 9:11

我按步骤执行了
tar -xzvf sourcenav-5.2b2.tar.gz
./configure
make
到了这一步后出现如下问题:
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1219: error: request for member `y' in something not a structure or union
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1219: error: request for member `x' in something not a structure or union
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1219: error: request for member `x' in something not a structure or union
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1219: warning: data definition has no type or storage class
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1220: error: redefinition of `q'
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1212: error: `q' previously defined here
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1220: error: initializer element is not constant
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1220: warning: data definition has no type or storage class
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1221: error: syntax error before "if"
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1223: error: redefinition of `q'
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1220: error: `q' previously defined here
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1223: error: initializer element is not constant
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1223: warning: data definition has no type or storage class
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1224: error: syntax error before '}' token
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c: In function `Tk_Get3DBorderFromObj':
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1259: error: `borderPtr' undeclared (first use in this function)
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1261: error: invalid operands to binary *
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1261: error: syntax error before ')' token
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1274: error: syntax error before ')' token
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1277: error: syntax error before ')' token
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1277: error: syntax error before ')' token
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1278: error: syntax error before ')' token
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1298: error: request for member `borderTable' in something not a structure or union
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1298: error: request for member `borderTable' in something not a structure or union
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1302: error: syntax error before ')' token
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1304: error: syntax error before ')' token
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1304: error: syntax error before ')' token
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1305: error: syntax error before ')' token
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c: In function `TkDebugBorder':
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1385: error: `borderPtr' undeclared (first use in this function)
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1388: error: invalid operands to binary *
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1388: error: syntax error before ')' token
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1391: error: request for member `borderTable' in something not a structure or union
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1391: error: request for member `borderTable' in something not a structure or union
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1393: error: syntax error before ')' token
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c: At top level:
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:1131: error: storage size of `shiftTable' isn't known
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:30: warning: `BorderInit' declared `static' but never defined
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:34: warning: `Intersect' declared `static' but never defined
/usr/src/sourcenav-5.2b2/tk/generic/tk3d.c:37: warning: `ShiftLine' declared `static' but never defined
{standard input}: Assembler messages:
{standard input}:695: Error: symbol `dy' is already defined
{standard input}:701: Error: symbol `dx' is already defined
{standard input}:748: Error: symbol `q' is already defined
{standard input}:754: Error: symbol `p' is already defined
{standard input}:760: Error: symbol `q' is already defined
{standard input}:766: Error: symbol `q' is already defined
make[2]: *** [tk3d.o] 错误 1
make[2]: Leaving directory `/usr/src/sourcenav-5.2b2/tk/unix'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/usr/src/sourcenav-5.2b2/tk'
make: *** [all] 错误 1
请高手指点
发于点滴,行于心田,融于交流,盛于久远。
头像
firehare
论坛版主
帖子: 2625
注册时间: 2005-04-10 16:54
来自: 温州大学
送出感谢: 0
接收感谢: 2 次
联系:

#2

帖子 firehare » 2005-05-31 11:11

你是完全按照它的Readme或安装手册操作的吗?

我没用过它,也不知道你是否按它的安装指南来操作的,只好瞎猜了,呵呵!
我心无畏,源自于我心无知。
图片
头像
oneleaf
论坛管理员
帖子: 10218
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04
送出感谢: 7 次
接收感谢: 102 次

#3

帖子 oneleaf » 2005-05-31 11:48

$sudo apt-cache showpkg sourcenav
Package: sourcenav
Versions:
5.1.4-1(/var/lib/apt/lists/archive.ubuntu.org.cn_ubuntu_dists_breezy_universe_binary-i386_Packages)

Reverse Depends:
Dependencies:
5.1.4-1 - libc6 (2 2.3.2.ds1-4) libx11-6 (16 (null)) xlibs (4 4.1.0) insight (0 (null)) sourcenav-doc (0 (null))
Provides:
5.1.4-1 -
Reverse Provides:
当净其意如虚空,远离妄想及诸取,令心所向皆无碍
鱼的眼泪
帖子: 83
注册时间: 2005-04-20 21:21
送出感谢: 0
接收感谢: 0
联系:

#4

帖子 鱼的眼泪 » 2005-05-31 15:45

谢谢两位大侠,暂时解了燃眉之急,但是还没找到问题的原因,我再看一下它的readme.找到原因再来汇报
发于点滴,行于心田,融于交流,盛于久远。
steventree
帖子: 133
注册时间: 2007-11-05 21:58
来自: CH
送出感谢: 0
接收感谢: 0

#5

帖子 steventree » 2008-09-10 19:05

LZ 问题解决没有?
源里只能安装5.1.4的, 如果需要安装5.2b2.类似只能编译。
我升级到8。04后编译提示这个错误:
checking system version (for dynamic loading)... ./configure: 1: Syntax error: Unterminated quoted string
configure: error: ./configure failed for unix
configure: error: ./configure failed for tcl
正在奋斗中。
回复

回到 “办公、图像、机械电子设计等”