|
|
我在Debian 3.1中编译Vim 6.4:
make clean
./configure
make
结果产生的vim没有gui功能。以下是configure的屏幕输出:
以下是config.log文件的内容:
- This file contains any messages produced by compilers while
- running configure, to aid debugging if configure makes a mistake.
- configure:631: checking whether make sets ${MAKE}
- configure:661: checking for gcc
- configure:774: checking whether the C compiler (gcc ) works
- configure:790: gcc -o conftest conftest.c 1>&5
- configure:816: checking whether the C compiler (gcc ) is a cross-compiler
- configure:821: checking whether we are using GNU C
- configure:849: checking whether gcc accepts -g
- configure:880: checking how to run the C preprocessor
- configure:969: checking for POSIXized ISC
- configure:993: checking for mawk
- configure:1025: checking for strip
- configure:1054: checking for Cygwin environment
- configure:1087: checking for mingw32 environment
- configure:1118: checking for executable suffix
- configure:1175: checking for buggy tools
- configure:1182: checking for BeOS
- configure:1190: checking for QNX
- configure:1200: checking for Darwin (Mac OS X)
- configure:1303: checking --with-vim-name argument
- configure:1314: checking --with-ex-name argument
- configure:1325: checking --with-view-name argument
- configure:1337: checking --with-global-runtime argument
- configure:1351: checking --with-modified-by argument
- configure:1365: checking if character set is EBCDIC
- configure:1380: gcc -c -g -O2 conftest.c 1>&5
- configure: In function `main':
- configure:1375: error: `make' undeclared (first use in this function)
- configure:1375: error: (Each undeclared identifier is reported only once
- configure:1375: error: for each function it appears in.)
- configure:1375: error: syntax error before "an"
- configure: failed program was:
- #line 1367 "configure"
- #include "confdefs.h"
-
- int main() {
- /* TryCompile function for CharSet.
- Treat any failure as ASCII for compatibility with existing art.
- Use compile-time rather than run-time tests for cross-compiler
- tolerance. */
- #if '0'!=240
- make an error "Character set is not EBCDIC"
- #endif
- ; return 0; }
- configure:1445: checking --with-features argument
- configure:1488: checking --with-compiledby argument
- configure:1500: checking --disable-xsmp argument
- configure:1513: checking --disable-xsmp-interact argument
- configure:1536: checking --enable-perlinterp argument
- configure:1699: checking --enable-pythoninterp argument
- configure:1975: checking --enable-tclinterp argument
- configure:2241: checking --enable-rubyinterp argument
- configure:2346: checking --enable-cscope argument
- configure:2364: checking --enable-workshop argument
- configure:2389: checking --disable-netbeans argument
- configure:2401: checking for socket in -lsocket
- configure:2448: checking for gethostbyname in -lnsl
- configure:2495: checking whether compiling netbeans integration is possible
- configure:2527: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lnsl 1>&5
- configure:2552: checking --enable-sniff argument
- configure:2574: checking --enable-multibyte argument
- configure:2592: checking --enable-hangulinput argument
- configure:2604: checking --enable-xim argument
- configure:2615: checking --enable-fontset argument
- configure:2635: checking for xmkmf
- configure:2673: checking for X
- configure:3532: checking if X11 header files can be found
- configure:3543: gcc -c -g -O2 conftest.c 1>&5
- configure:3744: checking --enable-gui argument
- configure:4992: checking for X11/SM/SMlib.h
- configure:5260: checking quality of toupper
- configure:5270: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lnsl 1>&5
- configure: failed program was:
- #line 5265 "configure"
- #include "confdefs.h"
- #include <ctype.h>
- main() { exit(toupper('A') == 'A' && tolower('z') == 'z'); }
- configure:5287: checking whether __DATE__ and __TIME__ work
- configure:5296: gcc -c -g -O2 conftest.c 1>&5
- configure:5312: checking for elf.h
- configure:5345: checking for main in -lelf
- configure:5394: checking for dirent.h that defines DIR
- configure:5432: checking for opendir in -ldir
- configure:5516: checking for ANSI C header files
- configure:5620: checking for sys/wait.h that is POSIX.1 compatible
- configure:5704: checking for stdarg.h
- configure:5704: checking for stdlib.h
- configure:5704: checking for string.h
- configure:5704: checking for sys/select.h
- configure:5704: checking for sys/utsname.h
- configure:5704: checking for termcap.h
- configure:5704: checking for fcntl.h
- configure:5704: checking for sgtty.h
- configure:5704: checking for sys/ioctl.h
- configure:5704: checking for sys/time.h
- configure:5704: checking for termio.h
- configure:5704: checking for iconv.h
- configure:5704: checking for langinfo.h
- configure:5704: checking for unistd.h
- configure:5704: checking for stropts.h
- configure:5704: checking for errno.h
- configure:5704: checking for sys/resource.h
- configure:5704: checking for sys/systeminfo.h
- configure:5704: checking for locale.h
- configure:5704: checking for sys/stream.h
- configure:5704: checking for sys/ptem.h
- configure:5704: checking for termios.h
- configure:5704: checking for libc.h
- configure:5704: checking for sys/statfs.h
- configure:5704: checking for poll.h
- configure:5704: checking for sys/poll.h
- configure:5704: checking for pwd.h
- configure:5704: checking for utime.h
- configure:5704: checking for sys/param.h
- configure:5704: checking for libintl.h
- configure:5704: checking for libgen.h
- configure:5704: checking for util/debug.h
- configure:5704: checking for util/msg18n.h
- configure:5704: checking for frame.h
- configure:5704: checking for pthread_np.h
- configure:5704: checking for sys/acl.h
- configure:5704: checking for sys/access.h
- configure:5704: checking for sys/sysctl.h
- configure:5704: checking for sys/sysinfo.h
- configure:5704: checking for wchar.h
- configure:5746: checking for strings.h
- configure:5785: checking if strings.h can be included after string.h
- configure:5810: gcc -c -g -O2 conftest.c 1>&5
- configure:5828: checking whether gcc needs -traditional
- configure:5874: checking for working const
- configure:5949: checking for mode_t
- configure:5982: checking for off_t
- configure:6015: checking for pid_t
- configure:6048: checking for size_t
- configure:6081: checking for uid_t in sys/types.h
- configure:6115: checking whether time.h and sys/time.h may both be included
- configure:6150: checking for ino_t
- configure:6183: checking for dev_t
- configure:6217: checking for rlim_t
- configure:6254: checking for stack_t
- configure:6289: checking whether stack_t has an ss_base field
- configure:6306: gcc -c -g -O2 conftest.c 1>&5
- configure: In function `main':
- configure:6302: error: structure has no member named `ss_base'
- configure: failed program was:
- #line 6291 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #if STDC_HEADERS
- #include <stdlib.h>
- #include <stddef.h>
- #endif
- #include <signal.h>
- #include "confdefs.h"
-
- int main() {
- stack_t sigstk; sigstk.ss_base = 0;
- ; return 0; }
- configure:6322: checking --with-tlib argument
- configure:6340: checking for tgetent in -lncurses
- configure:6399: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lncurses -lnsl 1>&5
- configure:6421: checking whether we talk terminfo
- configure:6435: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lncurses -lnsl 1>&5
- configure: failed program was:
- #line 6426 "configure"
- #include "confdefs.h"
- #ifdef HAVE_TERMCAP_H
- # include <termcap.h>
- #endif
- main()
- {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(!strcmp(s==0 ? "" : s, "1")); }
- configure:6456: checking what tgetent() returns for an unknown terminal
- configure:6470: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lncurses -lnsl 1>&5
- configure:6488: checking whether termcap.h contains ospeed
- configure:6501: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lncurses -lnsl 1>&5
- configure:6545: checking whether termcap.h contains UP, BC and PC
- configure:6558: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lncurses -lnsl 1>&5
- configure:6602: checking whether tputs() uses outfuntype
- configure:6615: gcc -c -g -O2 conftest.c 1>&5
- configure: In function `main':
- configure:6611: error: `outfuntype' undeclared (first use in this function)
- configure:6611: error: (Each undeclared identifier is reported only once
- configure:6611: error: for each function it appears in.)
- configure:6611: error: syntax error before "xx"
- configure: failed program was:
- #line 6604 "configure"
- #include "confdefs.h"
- #ifdef HAVE_TERMCAP_H
- # include <termcap.h>
- #endif
-
- int main() {
- extern int xx(); tputs("test", 1, (outfuntype)xx)
- ; return 0; }
- configure:6630: checking whether sys/select.h and sys/time.h may both be included
- configure:6642: gcc -c -g -O2 conftest.c 1>&5
- configure:6659: checking for /dev/ptc
- configure:6671: checking for SVR4 ptys
- configure:6681: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lncurses -lnsl 1>&5
- configure:6699: checking for ptyranges
- configure:6740: checking default tty permissions/group
- configure:6778: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lncurses -lnsl 1>&5
- configure:6809: checking return type of signal handlers
- configure:6863: checking for struct sigcontext
- configure:6879: gcc -c -g -O2 conftest.c 1>&5
- configure:6895: checking getcwd implementation
- configure:6912: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lncurses -lnsl 1>&5
- configure:6937: checking for bcmp
- configure:6937: checking for fchdir
- configure:6937: checking for fchown
- configure:6937: checking for fseeko
- configure:6937: checking for fsync
- configure:6937: checking for ftello
- configure:6937: checking for getcwd
- configure:6937: checking for getpseudotty
- configure:6937: checking for getpwnam
- configure:6937: checking for getpwuid
- configure:6937: checking for getrlimit
- configure:6937: checking for gettimeofday
- configure:6937: checking for getwd
- configure:6937: checking for lstat
- configure:6937: checking for memcmp
- configure:6937: checking for memset
- configure:6937: checking for nanosleep
- configure:6937: checking for opendir
- configure:6937: checking for putenv
- configure:6937: checking for qsort
- configure:6937: checking for readlink
- configure:6937: checking for select
- configure:6937: checking for setenv
- configure:6937: checking for setpgid
- configure:6937: checking for setsid
- configure:6937: checking for sigaltstack
- configure:6937: checking for sigstack
- configure:6937: checking for sigset
- configure:6937: checking for sigsetjmp
- configure:6937: checking for sigaction
- configure:6937: checking for sigvec
- configure:6937: checking for snprintf
- configure:6937: checking for strcasecmp
- configure:6937: checking for strerror
- configure:6937: checking for strftime
- configure:6937: checking for stricmp
- configure:6937: checking for strncasecmp
- configure:6937: checking for strnicmp
- configure:6937: checking for strpbrk
- configure:6937: checking for strtol
- configure:6937: checking for tgetent
- configure:6937: checking for towlower
- configure:6937: checking for towupper
- configure:6937: checking for usleep
- configure:6937: checking for utime
- configure:6937: checking for utimes
- configure:6991: checking for st_blksize
- configure:7005: gcc -c -g -O2 conftest.c 1>&5
- configure:7020: checking whether stat() ignores a trailing slash
- configure:7031: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lncurses -lnsl 1>&5
- configure: failed program was:
- #line 7025 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #include <sys/stat.h>
- main() {struct stat st; exit(stat("configure/", &st) != 0); }
- configure:7048: checking for iconv_open()
- configure:7063: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lncurses -lnsl -liconv 1>&5
- /usr/bin/ld: cannot find -liconv
- collect2: ld returned 1 exit status
- configure: failed program was:
- #line 7052 "configure"
- #include "confdefs.h"
- #ifdef HAVE_ICONV_H
- # include <iconv.h>
- #endif
-
- int main() {
- iconv_open("fr", "to");
- ; return 0; }
- configure:7086: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lncurses -lnsl 1>&5
- configure:7104: checking for nl_langinfo(CODESET)
- configure:7117: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lncurses -lnsl 1>&5
- configure:7132: checking --disable-acl argument
- configure:7144: checking for acl_get_file in -lposix1e
- configure:7182: checking for acl_get_file in -lacl
- configure:7265: checking for POSIX ACL support
- configure:7281: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lncurses -lnsl 1>&5
- configure:7273: error: syntax error before "acl"
- configure:7273: warning: data definition has no type or storage class
- configure: In function `main':
- configure:7275: error: `ACL_TYPE_ACCESS' undeclared (first use in this function)
- configure:7275: error: (Each undeclared identifier is reported only once
- configure:7275: error: for each function it appears in.)
- configure: failed program was:
- #line 7267 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #ifdef HAVE_SYS_ACL_H
- # include <sys/acl.h>
- #endif
- acl_t acl;
- int main() {
- acl = acl_get_file("foo", ACL_TYPE_ACCESS);
- acl_set_file("foo", ACL_TYPE_ACCESS, acl);
- acl_free(acl);
- ; return 0; }
- configure:7296: checking for Solaris ACL support
- configure:7309: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lncurses -lnsl 1>&5
- configure: In function `main':
- configure:7304: error: `GETACLCNT' undeclared (first use in this function)
- configure:7304: error: (Each undeclared identifier is reported only once
- configure:7304: error: for each function it appears in.)
- configure:7304: error: `NULL' undeclared (first use in this function)
- configure: failed program was:
- #line 7298 "configure"
- #include "confdefs.h"
- #ifdef HAVE_SYS_ACL_H
- # include <sys/acl.h>
- #endif
- int main() {
- acl("foo", GETACLCNT, 0, NULL);
-
- ; return 0; }
- configure:7324: checking for AIX ACL support
- configure:7348: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lncurses -lnsl 1>&5
- configure: In function `main':
- configure:7341: error: invalid application of `sizeof' to an incomplete type
- configure:7343: error: `STX_NORMAL' undeclared (first use in this function)
- configure:7343: error: (Each undeclared identifier is reported only once
- configure:7343: error: for each function it appears in.)
- configure: failed program was:
- #line 7326 "configure"
- #include "confdefs.h"
- #ifdef HAVE_SYS_ACL_H
- # include <sys/acl.h>
- #endif
- #ifdef HAVE_SYS_ACCESS_H
- # include <sys/access.h>
- #endif
- #define _ALL_SOURCE
- #include <sys/stat.h>
- int aclsize;
- struct acl *aclent;
- int main() {
- aclsize = sizeof(struct acl);
- aclent = (void *)malloc(aclsize);
- statacl("foo", STX_NORMAL, aclent, aclsize);
-
- ; return 0; }
- configure:7366: checking --disable-gpm argument
- configure:7379: checking for gpm
- configure:7420: checking for vsnprintf()
- configure:7446: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lncurses -lnsl 1>&5
- configure:7464: checking for rename
- configure:7473: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lncurses -lnsl 1>&5
- configure:7488: checking for sysctl
- configure:7505: gcc -c -g -O2 conftest.c 1>&5
- configure: In function `main':
- configure:7497: error: `CTL_HW' undeclared (first use in this function)
- configure:7497: error: (Each undeclared identifier is reported only once
- configure:7497: error: for each function it appears in.)
- configure:7498: error: `HW_USERMEM' undeclared (first use in this function)
- configure: failed program was:
- #line 7490 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #include <sys/sysctl.h>
- int main() {
- int mib[2], r;
- size_t len;
- mib[0] = CTL_HW;
- mib[1] = HW_USERMEM;
- len = sizeof(r);
- (void)sysctl(mib, 2, &r, &len, (void *)0, (size_t)0);
-
- ; return 0; }
- configure:7520: checking for sysinfo
- configure:7535: gcc -c -g -O2 conftest.c 1>&5
- configure:7550: checking for sysconf
- configure:7561: gcc -c -g -O2 conftest.c 1>&5
- configure:7577: checking size of int
- configure:7617: checking whether memmove/bcopy/memcpy handle overlaps
- configure:7641: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lncurses -lnsl 1>&5
- configure:7759: checking for _xpg4_setrunelocale in -lxpg4
- configure:7800: checking how to create tags
- auto/configure: line 1: ctags: command not found
- auto/configure: line 1: etags: command not found
- auto/configure: line 1: etags: command not found
- auto/configure: line 1: ctags: command not found
- auto/configure: line 1: ctags: command not found
- auto/configure: line 1: ctags: command not found
- auto/configure: line 1: ctags: command not found
- auto/configure: line 1: ctags: command not found
- configure:7817: checking how to run man with a section nr
- man: invalid option -- s
- configure:7829: checking --disable-nls argument
- configure:7844: checking for msgfmt
- configure:7871: checking for NLS
- configure:8012: checking for dlfcn.h
- configure:8082: checking for dlopen()
- configure:8094: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lncurses -lnsl 1>&5
- /tmp/ccsmIv1U.o(.text+0xa): In function `main':
- /home/hugc/vim64/src/configure:8089: undefined reference to `dlopen'
- collect2: ld returned 1 exit status
- configure: failed program was:
- #line 8084 "configure"
- #include "confdefs.h"
- int main() {
- extern void* dlopen();
- dlopen();
-
- ; return 0; }
- configure:8107: checking for dlopen() in -ldl
- configure:8121: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lncurses -lnsl -ldl 1>&5
- configure:8139: checking for dlsym()
- configure:8151: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lncurses -lnsl -ldl 1>&5
- configure:8262: checking for setjmp.h
复制代码
谢谢指点。 |
|