我的OS 是Debian
然後我要安裝的軟體是這套
ftp://sources.redhat.com/pub/insight/re ... .4.tar.bz2
前幾天老是裝不起來
後來我上官網看
http://sources.redhat.com/insight/
才發現似乎是要在RedHat上才能跑
"Welcome to the Insight Home Page!
Insight is a graphical user interface to GDB,
the GNU Debugger written in Tcl/Tk by people working at Red Hat, Inc.
and Cygnus Solutions. Red Hat has generously donated Insight to the public
and even pays a few people to work on it occasionally."
是不是我下載的那個檔案只能裝在Redhat上呢
如果我要裝在Debian上是不是要去抓屬於Debian的呢
還有就是,我抓的檔案 insight-6.4.tar.bz2
不是己經是source檔了嗎?
可以用來編譯在任何系統上了
怎麼會編不過呢?還是真的是系統的問題
我會用make而不用apt-get 來裝
主要是因為特殊的需求所以才用make的
http://0rz.tw/d42uU
連結裡頭有我整理出來的錯誤訊息
麻煩各位幫忙一下
--------------------------分隔線----------------------
= ="弄了一個半夜,從半夜十二點弄到現在= ="
實在是找不出錯在哪了
麻煩大家幫我看一下,不然真不曉得錯在哪
我要安裝的是insight-6.4.tar.bz2
我的系統是Debian
底下是我configure的訊息
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:600: checking host system type
configure:621: checking target system type
configure:639: checking build system type
configure:694: checking for a BSD compatible install
configure:747: checking whether ln works
configure:771: checking whether ln -s works
configure:1825: checking for gcc
configure:1938: checking whether the C compiler (gcc ) works
configure:1954: gcc -o conftest conftest.c 1>&5
configure:1980: checking whether the C compiler (gcc ) is a cross-compiler
configure:1985: checking whether we are using GNU C
configure:2013: checking whether gcc accepts -g
configure:2080: checking for gnatbind
configure:2145: checking whether compiler driver understands Ada
configure:2177: checking how to compare bootstrapped objects
configure:2275: checking for correct version of gmp.h
configure:2288: gcc -c -g -O2 conftest.c 1>&5
configure:2301: checking for MPFR
configure:2314: gcc -o conftest -g -O2 conftest.c -lmpfr -lgmp 1>&5
configure:2829: checking for bison
底下是我make的訊息
-------------------------------------------------------------------------------
/root/insight-6.4/tk/generic/tk3d.c:1307: error: syntax error before ')' token
/root/insight-6.4/tk/generic/tk3d.c:1308: error: syntax error before ')' token
/root/insight-6.4/tk/generic/tk3d.c: In function `TkDebugBorder':
/root/insight-6.4/tk/generic/tk3d.c:1388: error: `borderPtr' undeclared (first use in this function)
/root/insight-6.4/tk/generic/tk3d.c:1391: error: invalid operands to binary *
/root/insight-6.4/tk/generic/tk3d.c:1391: error: syntax error before ')' token
/root/insight-6.4/tk/generic/tk3d.c:1394: error: request for member `borderTable' in something not a structure or union
/root/insight-6.4/tk/generic/tk3d.c:1394: error: request for member `borderTable' in something not a structure or union
/root/insight-6.4/tk/generic/tk3d.c:1396: error: syntax error before ')' token
/root/insight-6.4/tk/generic/tk3d.c: At top level:
/root/insight-6.4/tk/generic/tk3d.c:1134: error: storage size of `shiftTable' isn't known
/root/insight-6.4/tk/generic/tk3d.c:31: warning: `BorderInit' declared `static' but never defined
/root/insight-6.4/tk/generic/tk3d.c:35: warning: `Intersect' declared `static' but never defined
/root/insight-6.4/tk/generic/tk3d.c:38: warning: `ShiftLine' declared `static' but never defined
make[3]: *** [tk3d.o] Error 1
make[3]: Leaving directory `/root/build_gdb/tk/unix'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/build_gdb/tk'
make[1]: *** [all-tk] Error 2
make[1]: Leaving directory `/root/build_gdb'
make: *** [all] Error 2
---------------------------------------------------------------------------