LinuxSir.cn,穿越时空的Linuxsir!

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

在Debian 3.1中源码安装Vim 6.4无法启用gui,请指点。

[复制链接]
发表于 2006-4-20 06:19:10 | 显示全部楼层 |阅读模式
我在Debian 3.1中编译Vim 6.4:
make clean
./configure
make
结果产生的vim没有gui功能。以下是configure的屏幕输出:

  1. loading cache auto/config.cache
  2. checking whether make sets ${MAKE}... (cached) yes
  3. checking for gcc... (cached) gcc
  4. checking whether the C compiler (gcc  ) works... yes
  5. checking whether the C compiler (gcc  ) is a cross-compiler... no
  6. checking whether we are using GNU C... (cached) yes
  7. checking whether gcc accepts -g... (cached) yes
  8. checking how to run the C preprocessor... (cached) gcc -E
  9. checking for POSIXized ISC... no
  10. checking for mawk... (cached) mawk
  11. checking for strip... (cached) strip
  12. checking for Cygwin environment... (cached) no
  13. checking for mingw32 environment... (cached) no
  14. checking for executable suffix... (cached) no
  15. checking for buggy tools
  16. - sh is        'GNU bash, version 2.05b.0(1)-release (i386-pc-linux-gnu)
  17. Copyright (C) 2002 Free Software Foundation, Inc.' - probably OK.
  18. - sed is        'GNU sed version 4.1.2
  19. Copyright (C) 2003 Free Software Foundation, Inc.
  20. This is free software; see the source for copying conditions.  There is NO
  21. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
  22. to the extent permitted by law.'.
  23. checking for BeOS... no
  24. checking for QNX... no
  25. checking for Darwin (Mac OS X)... no
  26. checking --with-vim-name argument... Defaulting to vim
  27. checking --with-ex-name argument... Defaulting to ex
  28. checking --with-view-name argument... Defaulting to view
  29. checking --with-global-runtime argument... no
  30. checking --with-modified-by argument... no
  31. checking if character set is EBCDIC... no
  32. checking --with-features argument... Defaulting to normal
  33. checking --with-compiledby argument... no
  34. checking --disable-xsmp argument... no
  35. checking --disable-xsmp-interact argument... no
  36. checking --enable-perlinterp argument... no
  37. checking --enable-pythoninterp argument... no
  38. checking --enable-tclinterp argument... no
  39. checking --enable-rubyinterp argument... no
  40. checking --enable-cscope argument... no
  41. checking --enable-workshop argument... no
  42. checking --disable-netbeans argument... no
  43. checking for socket in -lsocket... (cached) no
  44. checking for gethostbyname in -lnsl... (cached) yes
  45. checking whether compiling netbeans integration is possible... yes
  46. checking --enable-sniff argument... no
  47. checking --enable-multibyte argument... no
  48. checking --enable-hangulinput argument... no
  49. checking --enable-xim argument... defaulting to auto
  50. checking --enable-fontset argument... no
  51. checking for xmkmf... (cached) /usr/X11R6/bin/xmkmf
  52. checking for X... (cached) no
  53. checking if X11 header files can be found... yes
  54. checking --enable-gui argument... no GUI support
  55. checking for X11/SM/SMlib.h... (cached) no
  56. checking quality of toupper... good
  57. checking whether __DATE__ and __TIME__ work... yes
  58. checking for elf.h... (cached) yes
  59. checking for main in -lelf... (cached) no
  60. checking for dirent.h that defines DIR... (cached) yes
  61. checking for opendir in -ldir... (cached) no
  62. checking for ANSI C header files... (cached) yes
  63. checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
  64. checking for stdarg.h... (cached) yes
  65. checking for stdlib.h... (cached) yes
  66. checking for string.h... (cached) yes
  67. checking for sys/select.h... (cached) yes
  68. checking for sys/utsname.h... (cached) yes
  69. checking for termcap.h... (cached) yes
  70. checking for fcntl.h... (cached) yes
  71. checking for sgtty.h... (cached) yes
  72. checking for sys/ioctl.h... (cached) yes
  73. checking for sys/time.h... (cached) yes
  74. checking for termio.h... (cached) yes
  75. checking for iconv.h... (cached) yes
  76. checking for langinfo.h... (cached) yes
  77. checking for unistd.h... (cached) yes
  78. checking for stropts.h... (cached) yes
  79. checking for errno.h... (cached) yes
  80. checking for sys/resource.h... (cached) yes
  81. checking for sys/systeminfo.h... (cached) no
  82. checking for locale.h... (cached) yes
  83. checking for sys/stream.h... (cached) no
  84. checking for sys/ptem.h... (cached) no
  85. checking for termios.h... (cached) yes
  86. checking for libc.h... (cached) no
  87. checking for sys/statfs.h... (cached) yes
  88. checking for poll.h... (cached) yes
  89. checking for sys/poll.h... (cached) yes
  90. checking for pwd.h... (cached) yes
  91. checking for utime.h... (cached) yes
  92. checking for sys/param.h... (cached) yes
  93. checking for libintl.h... (cached) yes
  94. checking for libgen.h... (cached) yes
  95. checking for util/debug.h... (cached) no
  96. checking for util/msg18n.h... (cached) no
  97. checking for frame.h... (cached) no
  98. checking for pthread_np.h... (cached) no
  99. checking for sys/acl.h... (cached) no
  100. checking for sys/access.h... (cached) no
  101. checking for sys/sysctl.h... (cached) yes
  102. checking for sys/sysinfo.h... (cached) yes
  103. checking for wchar.h... (cached) yes
  104. checking for strings.h... (cached) yes
  105. checking if strings.h can be included after string.h... yes
  106. checking whether gcc needs -traditional... (cached) no
  107. checking for working const... (cached) yes
  108. checking for mode_t... (cached) yes
  109. checking for off_t... (cached) yes
  110. checking for pid_t... (cached) yes
  111. checking for size_t... (cached) yes
  112. checking for uid_t in sys/types.h... (cached) yes
  113. checking whether time.h and sys/time.h may both be included... (cached) yes
  114. checking for ino_t... (cached) yes
  115. checking for dev_t... (cached) yes
  116. checking for rlim_t... (cached) yes
  117. checking for stack_t... (cached) yes
  118. checking whether stack_t has an ss_base field... no
  119. checking --with-tlib argument... automatic terminal library selection
  120. checking for tgetent in -lncurses... (cached) yes
  121. checking whether we talk terminfo... yes -- terminfo spoken here
  122. checking what tgetent() returns for an unknown terminal... zero
  123. checking whether termcap.h contains ospeed... yes
  124. checking whether termcap.h contains UP, BC and PC... yes
  125. checking whether tputs() uses outfuntype... no
  126. checking whether sys/select.h and sys/time.h may both be included... yes
  127. checking for /dev/ptc... no
  128. checking for SVR4 ptys... yes
  129. checking for ptyranges... abcdepqrstuvwxyz / 0123456789abcdef
  130. checking default tty permissions/group... pty mode: 0620, group: 5
  131. checking return type of signal handlers... (cached) void
  132. checking for struct sigcontext... yes
  133. checking getcwd implementation... it is usable
  134. checking for bcmp... (cached) yes
  135. checking for fchdir... (cached) yes
  136. checking for fchown... (cached) yes
  137. checking for fseeko... (cached) yes
  138. checking for fsync... (cached) yes
  139. checking for ftello... (cached) yes
  140. checking for getcwd... (cached) yes
  141. checking for getpseudotty... (cached) no
  142. checking for getpwnam... (cached) yes
  143. checking for getpwuid... (cached) yes
  144. checking for getrlimit... (cached) yes
  145. checking for gettimeofday... (cached) yes
  146. checking for getwd... (cached) yes
  147. checking for lstat... (cached) yes
  148. checking for memcmp... (cached) yes
  149. checking for memset... (cached) yes
  150. checking for nanosleep... (cached) yes
  151. checking for opendir... (cached) yes
  152. checking for putenv... (cached) yes
  153. checking for qsort... (cached) yes
  154. checking for readlink... (cached) yes
  155. checking for select... (cached) yes
  156. checking for setenv... (cached) yes
  157. checking for setpgid... (cached) yes
  158. checking for setsid... (cached) yes
  159. checking for sigaltstack... (cached) yes
  160. checking for sigstack... (cached) yes
  161. checking for sigset... (cached) yes
  162. checking for sigsetjmp... (cached) no
  163. checking for sigaction... (cached) yes
  164. checking for sigvec... (cached) yes
  165. checking for snprintf... (cached) yes
  166. checking for strcasecmp... (cached) yes
  167. checking for strerror... (cached) yes
  168. checking for strftime... (cached) yes
  169. checking for stricmp... (cached) no
  170. checking for strncasecmp... (cached) yes
  171. checking for strnicmp... (cached) no
  172. checking for strpbrk... (cached) yes
  173. checking for strtol... (cached) yes
  174. checking for tgetent... (cached) yes
  175. checking for towlower... (cached) yes
  176. checking for towupper... (cached) yes
  177. checking for usleep... (cached) yes
  178. checking for utime... (cached) yes
  179. checking for utimes... (cached) yes
  180. checking for st_blksize... yes
  181. checking whether stat() ignores a trailing slash... no
  182. checking for iconv_open()... yes
  183. checking for nl_langinfo(CODESET)... yes
  184. checking --disable-acl argument... no
  185. checking for acl_get_file in -lposix1e... (cached) no
  186. checking for acl_get_file in -lacl... (cached) no
  187. checking for POSIX ACL support... no
  188. checking for Solaris ACL support... no
  189. checking for AIX ACL support... no
  190. checking --disable-gpm argument... no
  191. checking for gpm... (cached) no
  192. checking for vsnprintf()... yes
  193. checking for rename... yes
  194. checking for sysctl... not usable
  195. checking for sysinfo... yes
  196. checking for sysconf... yes
  197. checking size of int... (cached) 4
  198. checking whether memmove/bcopy/memcpy handle overlaps... memmove does
  199. checking for _xpg4_setrunelocale in -lxpg4... (cached) no
  200. checking how to create tags...
  201. checking how to run man with a section nr... man
  202. checking --disable-nls argument... no
  203. checking for msgfmt... (cached) msgfmt
  204. checking for NLS... no po/Makefile - disabled
  205. checking for dlfcn.h... (cached) yes
  206. checking for dlopen()... no
  207. checking for dlopen() in -ldl... yes
  208. checking for dlsym()... yes
  209. checking for setjmp.h... (cached) yes
  210. creating auto/config.status
  211. creating auto/config.mk
  212. creating auto/config.h
  213. auto/config.h is unchanged
复制代码


以下是config.log文件的内容:

  1. This file contains any messages produced by compilers while
  2. running configure, to aid debugging if configure makes a mistake.

  3. configure:631: checking whether make sets ${MAKE}
  4. configure:661: checking for gcc
  5. configure:774: checking whether the C compiler (gcc  ) works
  6. configure:790: gcc -o conftest    conftest.c  1>&5
  7. configure:816: checking whether the C compiler (gcc  ) is a cross-compiler
  8. configure:821: checking whether we are using GNU C
  9. configure:849: checking whether gcc accepts -g
  10. configure:880: checking how to run the C preprocessor
  11. configure:969: checking for POSIXized ISC
  12. configure:993: checking for mawk
  13. configure:1025: checking for strip
  14. configure:1054: checking for Cygwin environment
  15. configure:1087: checking for mingw32 environment
  16. configure:1118: checking for executable suffix
  17. configure:1175: checking for buggy tools
  18. configure:1182: checking for BeOS
  19. configure:1190: checking for QNX
  20. configure:1200: checking for Darwin (Mac OS X)
  21. configure:1303: checking --with-vim-name argument
  22. configure:1314: checking --with-ex-name argument
  23. configure:1325: checking --with-view-name argument
  24. configure:1337: checking --with-global-runtime argument
  25. configure:1351: checking --with-modified-by argument
  26. configure:1365: checking if character set is EBCDIC
  27. configure:1380: gcc -c -g -O2  conftest.c 1>&5
  28. configure: In function `main':
  29. configure:1375: error: `make' undeclared (first use in this function)
  30. configure:1375: error: (Each undeclared identifier is reported only once
  31. configure:1375: error: for each function it appears in.)
  32. configure:1375: error: syntax error before "an"
  33. configure: failed program was:
  34. #line 1367 "configure"
  35. #include "confdefs.h"

  36. int main() {
  37. /* TryCompile function for CharSet.
  38.    Treat any failure as ASCII for compatibility with existing art.
  39.    Use compile-time rather than run-time tests for cross-compiler
  40.    tolerance.  */
  41. #if '0'!=240
  42. make an error "Character set is not EBCDIC"
  43. #endif
  44. ; return 0; }
  45. configure:1445: checking --with-features argument
  46. configure:1488: checking --with-compiledby argument
  47. configure:1500: checking --disable-xsmp argument
  48. configure:1513: checking --disable-xsmp-interact argument
  49. configure:1536: checking --enable-perlinterp argument
  50. configure:1699: checking --enable-pythoninterp argument
  51. configure:1975: checking --enable-tclinterp argument
  52. configure:2241: checking --enable-rubyinterp argument
  53. configure:2346: checking --enable-cscope argument
  54. configure:2364: checking --enable-workshop argument
  55. configure:2389: checking --disable-netbeans argument
  56. configure:2401: checking for socket in -lsocket
  57. configure:2448: checking for gethostbyname in -lnsl
  58. configure:2495: checking whether compiling netbeans integration is possible
  59. configure:2527: gcc -o conftest -g -O2   -L/usr/local/lib conftest.c -lnsl  1>&5
  60. configure:2552: checking --enable-sniff argument
  61. configure:2574: checking --enable-multibyte argument
  62. configure:2592: checking --enable-hangulinput argument
  63. configure:2604: checking --enable-xim argument
  64. configure:2615: checking --enable-fontset argument
  65. configure:2635: checking for xmkmf
  66. configure:2673: checking for X
  67. configure:3532: checking if X11 header files can be found
  68. configure:3543: gcc -c -g -O2    conftest.c 1>&5
  69. configure:3744: checking --enable-gui argument
  70. configure:4992: checking for X11/SM/SMlib.h
  71. configure:5260: checking quality of toupper
  72. configure:5270: gcc -o conftest -g -O2   -L/usr/local/lib conftest.c -lnsl  1>&5
  73. configure: failed program was:
  74. #line 5265 "configure"
  75. #include "confdefs.h"
  76. #include <ctype.h>
  77. main() { exit(toupper('A') == 'A' && tolower('z') == 'z'); }
  78. configure:5287: checking whether __DATE__ and __TIME__ work
  79. configure:5296: gcc -c -g -O2  conftest.c 1>&5
  80. configure:5312: checking for elf.h
  81. configure:5345: checking for main in -lelf
  82. configure:5394: checking for dirent.h that defines DIR
  83. configure:5432: checking for opendir in -ldir
  84. configure:5516: checking for ANSI C header files
  85. configure:5620: checking for sys/wait.h that is POSIX.1 compatible
  86. configure:5704: checking for stdarg.h
  87. configure:5704: checking for stdlib.h
  88. configure:5704: checking for string.h
  89. configure:5704: checking for sys/select.h
  90. configure:5704: checking for sys/utsname.h
  91. configure:5704: checking for termcap.h
  92. configure:5704: checking for fcntl.h
  93. configure:5704: checking for sgtty.h
  94. configure:5704: checking for sys/ioctl.h
  95. configure:5704: checking for sys/time.h
  96. configure:5704: checking for termio.h
  97. configure:5704: checking for iconv.h
  98. configure:5704: checking for langinfo.h
  99. configure:5704: checking for unistd.h
  100. configure:5704: checking for stropts.h
  101. configure:5704: checking for errno.h
  102. configure:5704: checking for sys/resource.h
  103. configure:5704: checking for sys/systeminfo.h
  104. configure:5704: checking for locale.h
  105. configure:5704: checking for sys/stream.h
  106. configure:5704: checking for sys/ptem.h
  107. configure:5704: checking for termios.h
  108. configure:5704: checking for libc.h
  109. configure:5704: checking for sys/statfs.h
  110. configure:5704: checking for poll.h
  111. configure:5704: checking for sys/poll.h
  112. configure:5704: checking for pwd.h
  113. configure:5704: checking for utime.h
  114. configure:5704: checking for sys/param.h
  115. configure:5704: checking for libintl.h
  116. configure:5704: checking for libgen.h
  117. configure:5704: checking for util/debug.h
  118. configure:5704: checking for util/msg18n.h
  119. configure:5704: checking for frame.h
  120. configure:5704: checking for pthread_np.h
  121. configure:5704: checking for sys/acl.h
  122. configure:5704: checking for sys/access.h
  123. configure:5704: checking for sys/sysctl.h
  124. configure:5704: checking for sys/sysinfo.h
  125. configure:5704: checking for wchar.h
  126. configure:5746: checking for strings.h
  127. configure:5785: checking if strings.h can be included after string.h
  128. configure:5810: gcc -c -g -O2    conftest.c 1>&5
  129. configure:5828: checking whether gcc needs -traditional
  130. configure:5874: checking for working const
  131. configure:5949: checking for mode_t
  132. configure:5982: checking for off_t
  133. configure:6015: checking for pid_t
  134. configure:6048: checking for size_t
  135. configure:6081: checking for uid_t in sys/types.h
  136. configure:6115: checking whether time.h and sys/time.h may both be included
  137. configure:6150: checking for ino_t
  138. configure:6183: checking for dev_t
  139. configure:6217: checking for rlim_t
  140. configure:6254: checking for stack_t
  141. configure:6289: checking whether stack_t has an ss_base field
  142. configure:6306: gcc -c -g -O2  conftest.c 1>&5
  143. configure: In function `main':
  144. configure:6302: error: structure has no member named `ss_base'
  145. configure: failed program was:
  146. #line 6291 "configure"
  147. #include "confdefs.h"

  148. #include <sys/types.h>
  149. #if STDC_HEADERS
  150. #include <stdlib.h>
  151. #include <stddef.h>
  152. #endif
  153. #include <signal.h>
  154. #include "confdefs.h"
  155.                        
  156. int main() {
  157. stack_t sigstk; sigstk.ss_base = 0;
  158. ; return 0; }
  159. configure:6322: checking --with-tlib argument
  160. configure:6340: checking for tgetent in -lncurses
  161. configure:6399: gcc -o conftest -g -O2   -L/usr/local/lib conftest.c -lncurses -lnsl  1>&5
  162. configure:6421: checking whether we talk terminfo
  163. configure:6435: gcc -o conftest -g -O2   -L/usr/local/lib conftest.c -lncurses -lnsl  1>&5
  164. configure: failed program was:
  165. #line 6426 "configure"
  166. #include "confdefs.h"

  167. #ifdef HAVE_TERMCAP_H
  168. # include <termcap.h>
  169. #endif
  170. main()
  171. {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(!strcmp(s==0 ? "" : s, "1")); }
  172. configure:6456: checking what tgetent() returns for an unknown terminal
  173. configure:6470: gcc -o conftest -g -O2   -L/usr/local/lib conftest.c -lncurses -lnsl  1>&5
  174. configure:6488: checking whether termcap.h contains ospeed
  175. configure:6501: gcc -o conftest -g -O2   -L/usr/local/lib conftest.c -lncurses -lnsl  1>&5
  176. configure:6545: checking whether termcap.h contains UP, BC and PC
  177. configure:6558: gcc -o conftest -g -O2   -L/usr/local/lib conftest.c -lncurses -lnsl  1>&5
  178. configure:6602: checking whether tputs() uses outfuntype
  179. configure:6615: gcc -c -g -O2  conftest.c 1>&5
  180. configure: In function `main':
  181. configure:6611: error: `outfuntype' undeclared (first use in this function)
  182. configure:6611: error: (Each undeclared identifier is reported only once
  183. configure:6611: error: for each function it appears in.)
  184. configure:6611: error: syntax error before "xx"
  185. configure: failed program was:
  186. #line 6604 "configure"
  187. #include "confdefs.h"

  188. #ifdef HAVE_TERMCAP_H
  189. # include <termcap.h>
  190. #endif
  191.                        
  192. int main() {
  193. extern int xx(); tputs("test", 1, (outfuntype)xx)
  194. ; return 0; }
  195. configure:6630: checking whether sys/select.h and sys/time.h may both be included
  196. configure:6642: gcc -c -g -O2  conftest.c 1>&5
  197. configure:6659: checking for /dev/ptc
  198. configure:6671: checking for SVR4 ptys
  199. configure:6681: gcc -o conftest -g -O2   -L/usr/local/lib conftest.c -lncurses -lnsl  1>&5
  200. configure:6699: checking for ptyranges
  201. configure:6740: checking default tty permissions/group
  202. configure:6778: gcc -o conftest -g -O2   -L/usr/local/lib conftest.c -lncurses -lnsl  1>&5
  203. configure:6809: checking return type of signal handlers
  204. configure:6863: checking for struct sigcontext
  205. configure:6879: gcc -c -g -O2  conftest.c 1>&5
  206. configure:6895: checking getcwd implementation
  207. configure:6912: gcc -o conftest -g -O2   -L/usr/local/lib conftest.c -lncurses -lnsl  1>&5
  208. configure:6937: checking for bcmp
  209. configure:6937: checking for fchdir
  210. configure:6937: checking for fchown
  211. configure:6937: checking for fseeko
  212. configure:6937: checking for fsync
  213. configure:6937: checking for ftello
  214. configure:6937: checking for getcwd
  215. configure:6937: checking for getpseudotty
  216. configure:6937: checking for getpwnam
  217. configure:6937: checking for getpwuid
  218. configure:6937: checking for getrlimit
  219. configure:6937: checking for gettimeofday
  220. configure:6937: checking for getwd
  221. configure:6937: checking for lstat
  222. configure:6937: checking for memcmp
  223. configure:6937: checking for memset
  224. configure:6937: checking for nanosleep
  225. configure:6937: checking for opendir
  226. configure:6937: checking for putenv
  227. configure:6937: checking for qsort
  228. configure:6937: checking for readlink
  229. configure:6937: checking for select
  230. configure:6937: checking for setenv
  231. configure:6937: checking for setpgid
  232. configure:6937: checking for setsid
  233. configure:6937: checking for sigaltstack
  234. configure:6937: checking for sigstack
  235. configure:6937: checking for sigset
  236. configure:6937: checking for sigsetjmp
  237. configure:6937: checking for sigaction
  238. configure:6937: checking for sigvec
  239. configure:6937: checking for snprintf
  240. configure:6937: checking for strcasecmp
  241. configure:6937: checking for strerror
  242. configure:6937: checking for strftime
  243. configure:6937: checking for stricmp
  244. configure:6937: checking for strncasecmp
  245. configure:6937: checking for strnicmp
  246. configure:6937: checking for strpbrk
  247. configure:6937: checking for strtol
  248. configure:6937: checking for tgetent
  249. configure:6937: checking for towlower
  250. configure:6937: checking for towupper
  251. configure:6937: checking for usleep
  252. configure:6937: checking for utime
  253. configure:6937: checking for utimes
  254. configure:6991: checking for st_blksize
  255. configure:7005: gcc -c -g -O2  conftest.c 1>&5
  256. configure:7020: checking whether stat() ignores a trailing slash
  257. configure:7031: gcc -o conftest -g -O2   -L/usr/local/lib conftest.c -lncurses -lnsl  1>&5
  258. configure: failed program was:
  259. #line 7025 "configure"
  260. #include "confdefs.h"
  261. #include <sys/types.h>
  262. #include <sys/stat.h>
  263. main() {struct stat st;  exit(stat("configure/", &st) != 0); }
  264. configure:7048: checking for iconv_open()
  265. configure:7063: gcc -o conftest -g -O2   -L/usr/local/lib conftest.c -lncurses -lnsl  -liconv 1>&5
  266. /usr/bin/ld: cannot find -liconv
  267. collect2: ld returned 1 exit status
  268. configure: failed program was:
  269. #line 7052 "configure"
  270. #include "confdefs.h"

  271. #ifdef HAVE_ICONV_H
  272. # include <iconv.h>
  273. #endif
  274.    
  275. int main() {
  276. iconv_open("fr", "to");
  277. ; return 0; }
  278. configure:7086: gcc -o conftest -g -O2   -L/usr/local/lib conftest.c -lncurses -lnsl  1>&5
  279. configure:7104: checking for nl_langinfo(CODESET)
  280. configure:7117: gcc -o conftest -g -O2   -L/usr/local/lib conftest.c -lncurses -lnsl  1>&5
  281. configure:7132: checking --disable-acl argument
  282. configure:7144: checking for acl_get_file in -lposix1e
  283. configure:7182: checking for acl_get_file in -lacl
  284. configure:7265: checking for POSIX ACL support
  285. configure:7281: gcc -o conftest -g -O2   -L/usr/local/lib conftest.c -lncurses -lnsl  1>&5
  286. configure:7273: error: syntax error before "acl"
  287. configure:7273: warning: data definition has no type or storage class
  288. configure: In function `main':
  289. configure:7275: error: `ACL_TYPE_ACCESS' undeclared (first use in this function)
  290. configure:7275: error: (Each undeclared identifier is reported only once
  291. configure:7275: error: for each function it appears in.)
  292. configure: failed program was:
  293. #line 7267 "configure"
  294. #include "confdefs.h"

  295. #include <sys/types.h>
  296. #ifdef HAVE_SYS_ACL_H
  297. # include <sys/acl.h>
  298. #endif
  299. acl_t acl;
  300. int main() {
  301. acl = acl_get_file("foo", ACL_TYPE_ACCESS);
  302.         acl_set_file("foo", ACL_TYPE_ACCESS, acl);
  303.         acl_free(acl);
  304. ; return 0; }
  305. configure:7296: checking for Solaris ACL support
  306. configure:7309: gcc -o conftest -g -O2   -L/usr/local/lib conftest.c -lncurses -lnsl  1>&5
  307. configure: In function `main':
  308. configure:7304: error: `GETACLCNT' undeclared (first use in this function)
  309. configure:7304: error: (Each undeclared identifier is reported only once
  310. configure:7304: error: for each function it appears in.)
  311. configure:7304: error: `NULL' undeclared (first use in this function)
  312. configure: failed program was:
  313. #line 7298 "configure"
  314. #include "confdefs.h"

  315. #ifdef HAVE_SYS_ACL_H
  316. # include <sys/acl.h>
  317. #endif
  318. int main() {
  319. acl("foo", GETACLCNT, 0, NULL);
  320.        
  321. ; return 0; }
  322. configure:7324: checking for AIX ACL support
  323. configure:7348: gcc -o conftest -g -O2   -L/usr/local/lib conftest.c -lncurses -lnsl  1>&5
  324. configure: In function `main':
  325. configure:7341: error: invalid application of `sizeof' to an incomplete type
  326. configure:7343: error: `STX_NORMAL' undeclared (first use in this function)
  327. configure:7343: error: (Each undeclared identifier is reported only once
  328. configure:7343: error: for each function it appears in.)
  329. configure: failed program was:
  330. #line 7326 "configure"
  331. #include "confdefs.h"

  332. #ifdef HAVE_SYS_ACL_H
  333. # include <sys/acl.h>
  334. #endif
  335. #ifdef HAVE_SYS_ACCESS_H
  336. # include <sys/access.h>
  337. #endif
  338. #define _ALL_SOURCE

  339. #include <sys/stat.h>

  340. int aclsize;
  341. struct acl *aclent;
  342. int main() {
  343. aclsize = sizeof(struct acl);
  344.         aclent = (void *)malloc(aclsize);
  345.         statacl("foo", STX_NORMAL, aclent, aclsize);
  346.        
  347. ; return 0; }
  348. configure:7366: checking --disable-gpm argument
  349. configure:7379: checking for gpm
  350. configure:7420: checking for vsnprintf()
  351. configure:7446: gcc -o conftest -g -O2   -L/usr/local/lib conftest.c -lncurses -lnsl  1>&5
  352. configure:7464: checking for rename
  353. configure:7473: gcc -o conftest -g -O2   -L/usr/local/lib conftest.c -lncurses -lnsl  1>&5
  354. configure:7488: checking for sysctl
  355. configure:7505: gcc -c -g -O2  conftest.c 1>&5
  356. configure: In function `main':
  357. configure:7497: error: `CTL_HW' undeclared (first use in this function)
  358. configure:7497: error: (Each undeclared identifier is reported only once
  359. configure:7497: error: for each function it appears in.)
  360. configure:7498: error: `HW_USERMEM' undeclared (first use in this function)
  361. configure: failed program was:
  362. #line 7490 "configure"
  363. #include "confdefs.h"
  364. #include <sys/types.h>
  365. #include <sys/sysctl.h>
  366. int main() {
  367.         int mib[2], r;
  368.         size_t len;

  369.         mib[0] = CTL_HW;
  370.         mib[1] = HW_USERMEM;
  371.         len = sizeof(r);
  372.         (void)sysctl(mib, 2, &r, &len, (void *)0, (size_t)0);
  373.        
  374. ; return 0; }
  375. configure:7520: checking for sysinfo
  376. configure:7535: gcc -c -g -O2  conftest.c 1>&5
  377. configure:7550: checking for sysconf
  378. configure:7561: gcc -c -g -O2  conftest.c 1>&5
  379. configure:7577: checking size of int
  380. configure:7617: checking whether memmove/bcopy/memcpy handle overlaps
  381. configure:7641: gcc -o conftest -g -O2   -L/usr/local/lib conftest.c -lncurses -lnsl  1>&5
  382. configure:7759: checking for _xpg4_setrunelocale in -lxpg4
  383. configure:7800: checking how to create tags
  384. auto/configure: line 1: ctags: command not found
  385. auto/configure: line 1: etags: command not found
  386. auto/configure: line 1: etags: command not found
  387. auto/configure: line 1: ctags: command not found
  388. auto/configure: line 1: ctags: command not found
  389. auto/configure: line 1: ctags: command not found
  390. auto/configure: line 1: ctags: command not found
  391. auto/configure: line 1: ctags: command not found
  392. configure:7817: checking how to run man with a section nr
  393. man: invalid option -- s
  394. configure:7829: checking --disable-nls argument
  395. configure:7844: checking for msgfmt
  396. configure:7871: checking for NLS
  397. configure:8012: checking for dlfcn.h
  398. configure:8082: checking for dlopen()
  399. configure:8094: gcc -o conftest -g -O2   -L/usr/local/lib conftest.c -lncurses -lnsl  1>&5
  400. /tmp/ccsmIv1U.o(.text+0xa): In function `main':
  401. /home/hugc/vim64/src/configure:8089: undefined reference to `dlopen'
  402. collect2: ld returned 1 exit status
  403. configure: failed program was:
  404. #line 8084 "configure"
  405. #include "confdefs.h"

  406. int main() {

  407.                 extern void* dlopen();
  408.                 dlopen();
  409.       
  410. ; return 0; }
  411. configure:8107: checking for dlopen() in -ldl
  412. configure:8121: gcc -o conftest -g -O2   -L/usr/local/lib conftest.c -lncurses -lnsl  -ldl 1>&5
  413. configure:8139: checking for dlsym()
  414. configure:8151: gcc -o conftest -g -O2   -L/usr/local/lib conftest.c -lncurses -lnsl  -ldl 1>&5
  415. configure:8262: checking for setjmp.h
复制代码


谢谢指点。
发表于 2006-4-20 10:47:40 | 显示全部楼层
checking for X... (cached) no
checking if X11 header files can be found... yes
checking --enable-gui argument... no GUI support
checking for X11/SM/SMlib.h... (cached) no

try add --with-x argument and see what would be the output. There are some errors found by autogen for not finding GUI support. Make sure you have X authentication.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-20 22:13:26 | 显示全部楼层
问题已经解决了,谢谢!
加上--with-x也没有用,结果完全一样。
关键在那个(cached)。因为在其它系统中编译过一次,把X的路径记录到config.cache中了。删掉这个文件就好了。本来以为有了make clean就完全“干净”了呢,没想到还是有要人工清除的地方。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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