Ubuntu 10.04编译安装insigh-6.8-1

编译:

 16  ./configure
   17  make
 

遇到编译错误:

gcc -c -g -O2 -Wall -Wconversion -Wno-implicit-int -fPIC -I/home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix -I/home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic -I/home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../bitmaps -I/home/jelly/Programming/tools/insight/insight-6.8-1/tcl/generic  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DSTATIC_BUILD=1 -DPEEK_XCLOSEIM=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1      -DTCL_NO_DEPRECATED   /home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tk3d.c
In file included from /home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tkInt.h:21,
                 from /home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tk3d.h:18,
                 from /home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tk3d.c:16:
/home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tk.h:96:23: error: X11/Xlib.h: 没有那个文件或目录

In file included from /home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tkInt.h:21,
                 from /home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tk3d.h:18,
                 from /home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tk3d.c:16:
/home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tk.h:572: error: expected declaration specifiers or ‘...’ before ‘Window’
/home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tk.h:572: error: ‘Window’ declared as function returning a function
/home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tk.h:572: warning: parameter names (without types) in function declaration
/home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tk.h:575: error: expected declaration specifiers or ‘...’ before ‘XEvent’
/home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tk.h:584: error: expected specifier-qualifier-list before ‘Tk_ClassCreateProc’
/home/jelly/Programming/tools/insight/insight-6.8-1/tk/unix/../generic/tk.h:676: error: expected specifier-qualifier-list before ‘Bool’
 

你可能感兴趣的:(linux,gdb,职场,休闲,Insight)