vilian
安装PROFTPD错误日志分析~
我在安装PROFTPD的时候出错!!求解??
[root@localhost proftpd]# ./configure --prefix=/usr/local/proftpd/
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
vilian
1 This file contains any messages produced by compilers while
2 running configure, to aid debugging if configure makes a mistake.
3
4 It was created by configure, which was
5 generated by GNU Autoconf 2.59. Invocation command line was
6
7 $ ./configure --prefix=/usr/local/proftpd/
8
9 ## --------- ##
10 ## Platform. ##
11 ## --------- ##
12
13 hostname = localhost.localdomain
14 uname -m = i686
15 uname -r = 2.6.9-42.ELsmp
16 uname -s = Linux
17 uname -v = #1 SMP Sat Aug 12 09:39:11 CDT 2006
18
19 /usr/bin/uname -p = unknown
20 /bin/uname -X = unknown
21
22 /bin/arch = i686
23 /usr/bin/arch -k = unknown
24 /usr/convex/getsysinfo = unknown
25 hostinfo = unknown
26 /bin/machine = unknown
27 /usr/bin/oslevel = unknown
28 /bin/universe = unknown
29
30 PATH: /usr/kerberos/sbin
31 PATH: /usr/kerberos/bin
32 PATH: /usr/local/sbin
33 PATH: /usr/local/bin
34 PATH: /sbin
35 PATH: /bin
36 PATH: /usr/sbin
37 PATH: /usr/bin
38 PATH: /usr/X11R6/bin
39 PATH: /root/bin
40
41
42 ## ----------- ##
43 ## Core tests. ##
44 ## ----------- ##
45
46 configure:1634: checking build system type
47 configure:1652: result: i686-pc-linux-gnu
48 configure:1660: checking host system type
49 configure:1674: result: i686-pc-linux-gnu
50 configure:1682: checking target system type
51 configure:1696: result: i686-pc-linux-gnu
52 configure:1800: checking for gcc
53 configure:1816: found /usr/bin/gcc
54 configure:1826: result: gcc
55 configure:2070: checking for C compiler version
56 configure:2073: gcc --version </dev/null >&5
57 gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)
58 Copyright (C) 2006 Free Software Foundation, Inc.
59 This is free software; see the source for copying conditions. There is NO
60 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
61
62 configure:2076: $? = 0
63 configure:2078: gcc -v </dev/null >&5
64 Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs
65 Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
66 Thread model: posix
67 gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)
68 configure:2081: $? = 0
69 configure:2083: gcc -V </dev/null >&5
70 gcc: `-V' option must have argument
71 configure:2086: $? = 1
72 configure:2109: checking for C compiler default output file name
73 configure:2112: gcc conftest.c >&5
74 configure:2115: $? = 0
75 configure:2161: result: a.out
76 configure:2166: checking whether the C compiler works
77 configure:2172: ./a.out
78 configure:2175: $? = 0
79 configure:2192: result: yes
80 configure:2199: checking whether we are cross compiling
81 configure:2201: result: no
82 configure:2204: checking for suffix of executables
83 configure:2206: gcc -o conftest conftest.c >&5
84 configure:2209: $? = 0
85 configure:2234: result:
86 configure:2240: checking for suffix of object files
87 configure:2261: gcc -c conftest.c >&5
88 configure:2264: $? = 0
89 configure:2286: result: o
90 configure:2290: checking whether we are using the GNU C compiler
91 configure:2314: gcc -c conftest.c >&5
92 configure:2320: $? = 0
93 configure:2324: test -z
94 || test ! -s conftest.err
95 configure:2327: $? = 0
96 configure:2330: test -s conftest.o
97 configure:2333: $? = 0
98 configure:2346: result: yes
99 configure:2352: checking whether gcc accepts -g
100 configure:2373: gcc -c -g conftest.c >&5
101 configure:2379: $? = 0
102 configure:2383: test -z
103 || test ! -s conftest.err
104 configure:2386: $? = 0
105 configure:2389: test -s conftest.o
106 configure:2392: $? = 0
107 configure:2403: result: yes
108 configure:2420: checking for gcc option to accept ANSI C
109 configure:2490: gcc -c -g -O2 conftest.c >&5
110 configure:2496: $? = 0
111 configure:2500: test -z
112 || test ! -s conftest.err
113 configure:2503: $? = 0
114 configure:2506: test -s conftest.o
115 configure:2509: $? = 0
116 configure:2527: result: none needed
117 configure:2545: gcc -c -g -O2 conftest.c >&5
118 conftest.c:2: error: syntax error before "me"
119 configure:2551: $? = 1
120 configure: failed program was:
121 | #ifndef __cplusplus
122 | choke me
123 | #endif
124 configure:2684: checking whether make sets $(MAKE)
125 configure:2704: result: yes
126 configure:2726: checking for a BSD-compatible install
127 configure:2781: result: /usr/bin/install -c
128 configure:2864: checking for a sed that does not truncate output
129 configure:2918: result: /bin/sed
130 configure:2921: checking for egrep
131 configure:2931: result: grep -E
132 configure:2947: checking for ld used by gcc
133 configure:3014: result: /usr/bin/ld
134 configure:3023: checking if the linker (/usr/bin/ld) is GNU ld
135 configure:3038: result: yes
136 configure:3043: checking for /usr/bin/ld option to reload object files
137 configure:3050: result: -r
138 configure:3068: checking for BSD-compatible nm
139 configure:3110: result: /usr/bin/nm -B
140 configure:3114: checking whether ln -s works
141 configure:3118: result: yes
142 configure:3125: checking how to recognise dependent libraries
143 configure:3306: result: pass_all
144 configure:3520: checking how to run the C preprocessor
145 configure:3555: gcc -E conftest.c
146 In file included from /usr/include/bits/posix1_lim.h:126,
147 from /usr/include/limits.h:144,
148 from /usr/lib/gcc/i386-redhat-linux/3.4.6/include/limits.h:122,
149 from /usr/lib/gcc/i386-redhat-linux/3.4.6/include/syslimits.h:7,
150 from /usr/lib/gcc/i386-redhat-linux/3.4.6/include/limits.h:11,
151 from conftest.c:12:
152 /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
153 configure:3561: $? = 1
154 configure: failed program was:
155 | /* confdefs.h. */
156 |
157 | #define PACKAGE_NAME ""
158 | #define PACKAGE_TARNAME ""
159 | #define PACKAGE_VERSION ""
160 | #define PACKAGE_STRING ""
161 | #define PACKAGE_BUGREPORT ""
162 | #define PR_BUILD_OPTS "--prefix=/usr/local/proftpd/"
163 | #define PR_PLATFORM "LINUX"
164 | /* end confdefs.h. */
165 | #ifdef __STDC__
166 | # include <limits.h>
167 | #else
168 | # include <assert.h>
169 | #endif
170 | Syntax error
171 configure:3555: gcc -E conftest.c
172 In file included from /usr/include/bits/posix1_lim.h:126,
173 from /usr/include/limits.h:144,
174 from /usr/lib/gcc/i386-redhat-linux/3.4.6/include/limits.h:122,
175 from /usr/lib/gcc/i386-redhat-linux/3.4.6/include/syslimits.h:7,
176 from /usr/lib/gcc/i386-redhat-linux/3.4.6/include/limits.h:11,
177 from conftest.c:12:
178 /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
179 configure:3561: $? = 1
180 configure: failed program was:
181 | /* confdefs.h. */
182 |
183 | #define PACKAGE_NAME ""
184 | #define PACKAGE_TARNAME ""
185 | #define PACKAGE_VERSION ""
186 | #define PACKAGE_STRING ""
187 | #define PACKAGE_BUGREPORT ""
188 | #define PR_BUILD_OPTS "--prefix=/usr/local/proftpd/"
189 | #define PR_PLATFORM "LINUX"
190 | /* end confdefs.h. */
191 | #ifdef __STDC__
192 | # include <limits.h>
193 | #else
194 | # include <assert.h>
195 | #endif
196 | Syntax error
197 configure:3555: gcc -E -traditional-cpp conftest.c
198 In file included from /usr/include/features.h:291,
199 from /usr/include/assert.h:36,
200 from conftest.c:14:
201 /usr/include/sys/cdefs.h:31: #error "You need a ISO C conforming compiler to use the glibc headers"
202 configure:3561: $? = 1
203 configure: failed program was:
204 | /* confdefs.h. */
205 |
206 | #define PACKAGE_NAME ""
207 | #define PACKAGE_TARNAME ""
208 | #define PACKAGE_VERSION ""
209 | #define PACKAGE_STRING ""
210 | #define PACKAGE_BUGREPORT ""
211 | #define PR_BUILD_OPTS "--prefix=/usr/local/proftpd/"
212 | #define PR_PLATFORM "LINUX"
213 | /* end confdefs.h. */
214 | #ifdef __STDC__
215 | # include <limits.h>
216 | #else
217 | # include <assert.h>
218 | #endif
219 | Syntax error
220 configure:3555: gcc -E -traditional-cpp conftest.c
221 In file included from /usr/include/features.h:291,
222 from /usr/include/assert.h:36,
223 from conftest.c:14:
224 /usr/include/sys/cdefs.h:31: #error "You need a ISO C conforming compiler to use the glibc headers"
225 configure:3561: $? = 1
226 configure: failed program was:
227 | /* confdefs.h. */
228 |
229 | #define PACKAGE_NAME ""
230 | #define PACKAGE_TARNAME ""
231 | #define PACKAGE_VERSION ""
232 | #define PACKAGE_STRING ""
233 | #define PACKAGE_BUGREPORT ""
234 | #define PR_BUILD_OPTS "--prefix=/usr/local/proftpd/"
235 | #define PR_PLATFORM "LINUX"
236 | /* end confdefs.h. */
237 | #ifdef __STDC__
238 | # include <limits.h>
239 | #else
240 | # include <assert.h>
241 | #endif
242 | Syntax error
242 | Syntax error
243 configure:3555: /lib/cpp conftest.c
244 In file included from /usr/include/bits/posix1_lim.h:126,
245 from /usr/include/limits.h:144,
246 from /usr/lib/gcc/i386-redhat-linux/3.4.6/include/limits.h:122,
247 from /usr/lib/gcc/i386-redhat-linux/3.4.6/include/syslimits.h:7,
248 from /usr/lib/gcc/i386-redhat-linux/3.4.6/include/limits.h:11,
249 from conftest.c:12:
250 /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
251 configure:3561: $? = 1
252 configure: failed program was:
253 | /* confdefs.h. */
254 |
255 | #define PACKAGE_NAME ""
256 | #define PACKAGE_TARNAME ""
257 | #define PACKAGE_VERSION ""
258 | #define PACKAGE_STRING ""
259 | #define PACKAGE_BUGREPORT ""
260 | #define PR_BUILD_OPTS "--prefix=/usr/local/profTPD/"
261 | #define PR_PLATFORM "LINUX"
262 | /* end confdefs.h. */
263 | #ifdef __STDC__
264 | # include <limits.h>
265 | #else
266 | # include <assert.h>
267 | #endif
268 | Syntax error
269 configure:3555: /lib/cpp conftest.c
270 In file included from /usr/include/bits/posix1_lim.h:126,
271 from /usr/include/limits.h:144,
272 from /usr/lib/gcc/i386-redhat-linux/3.4.6/include/limits.h:122,
273 from /usr/lib/gcc/i386-redhat-linux/3.4.6/include/syslimits.h:7,
274 from /usr/lib/gcc/i386-redhat-linux/3.4.6/include/limits.h:11,
275 from conftest.c:12:
276 /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
277 configure:3561: $? = 1
278 configure: failed program was:
279 | /* confdefs.h. */
vilian
280 |
281 | #define PACKAGE_NAME ""
282 | #define PACKAGE_TARNAME ""
283 | #define PACKAGE_VERSION ""
284 | #define PACKAGE_STRING ""
285 | #define PACKAGE_BUGREPORT ""
286 | #define PR_BUILD_OPTS "--prefix=/usr/local/proftpd/"
287 | #define PR_PLATFORM "LINUX"
288 | /* end confdefs.h. */
289 | #ifdef __STDC__
290 | # include <limits.h>
291 | #else
292 | # include <assert.h>
293 | #endif
294 | Syntax error
295 configure:3638: result: /lib/cpp
296 configure:3662: /lib/cpp conftest.c
297 In file included from /usr/include/bits/posix1_lim.h:126,
298 from /usr/include/limits.h:144,
299 from /usr/lib/gcc/i386-redhat-linux/3.4.6/include/limits.h:122,
300 from /usr/lib/gcc/i386-redhat-linux/3.4.6/include/syslimits.h:7,
301 from /usr/lib/gcc/i386-redhat-linux/3.4.6/include/limits.h:11,
302 from conftest.c:12:
303 /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
304 configure:3668: $? = 1
305 configure: failed program was:
306 | /* confdefs.h. */
307 |
308 | #define PACKAGE_NAME ""
309 | #define PACKAGE_TARNAME ""
310 | #define PACKAGE_VERSION ""
311 | #define PACKAGE_STRING ""
312 | #define PACKAGE_BUGREPORT ""
313 | #define PR_BUILD_OPTS "--prefix=/usr/local/proftpd/"
314 | #define PR_PLATFORM "LINUX"
315 | /* end confdefs.h. */
316 | #ifdef __STDC__
317 | # include <limits.h>
318 | #else
319 | # include <assert.h>
320 | #endif
321 | Syntax error
322 configure:3662: /lib/cpp conftest.c
323 In file included from /usr/include/bits/posix1_lim.h:126,
324 from /usr/include/limits.h:144,
325 from /usr/lib/gcc/i386-redhat-linux/3.4.6/include/limits.h:122,
326 from /usr/lib/gcc/i386-redhat-linux/3.4.6/include/syslimits.h:7,
327 from /usr/lib/gcc/i386-redhat-linux/3.4.6/include/limits.h:11,
328 from conftest.c:12:
329 /usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
330 configure:3668: $? = 1
331 configure: failed program was:
332 | /* confdefs.h. */
333 |
334 | #define PACKAGE_NAME ""
335 | #define PACKAGE_TARNAME ""
336 | #define PACKAGE_VERSION ""
337 | #define PACKAGE_STRING ""
338 | #define PACKAGE_BUGREPORT ""
339 | #define PR_BUILD_OPTS "--prefix=/usr/local/proftpd/"
340 | #define PR_PLATFORM "LINUX"
341 | /* end confdefs.h. */
342 | #ifdef __STDC__
343 | # include <limits.h>
344 | #else
345 | # include <assert.h>
346 | #endif
347 | Syntax error
348 configure:3737: error: C preprocessor "/lib/cpp" fails sanity check
349 See `config.log' for more details.
350
351 ## ---------------- ##
352 ## Cache variables. ##
353 ## ---------------- ##
354
355 ac_cv_build=i686-pc-linux-gnu
356 ac_cv_build_alias=i686-pc-linux-gnu
357 ac_cv_c_compiler_gnu=yes
358 ac_cv_env_CC_set=
359 ac_cv_env_CC_value=
360 ac_cv_env_CFLAGS_set=
361 ac_cv_env_CFLAGS_value=
362 ac_cv_env_CPPFLAGS_set=
363 ac_cv_env_CPPFLAGS_value=
364 ac_cv_env_CPP_set=
365 ac_cv_env_CPP_value=
366 ac_cv_env_CXXCPP_set=
367 ac_cv_env_CXXCPP_value=
368 ac_cv_env_CXXFLAGS_set=
369 ac_cv_env_CXXFLAGS_value=
370 ac_cv_env_CXX_set=
371 ac_cv_env_CXX_value=
372 ac_cv_env_F77_set=
373 ac_cv_env_F77_value=
374 ac_cv_env_FFLAGS_set=
375 ac_cv_env_FFLAGS_value=
376 ac_cv_env_LDFLAGS_set=
377 ac_cv_env_LDFLAGS_value=
378 ac_cv_env_LIBS_set=
379 ac_cv_env_LIBS_value=
380 ac_cv_env_build_alias_set=
381 ac_cv_env_build_alias_value=
382 ac_cv_env_host_alias_set=
383 ac_cv_env_host_alias_value=
384 ac_cv_env_target_alias_set=
385 ac_cv_env_target_alias_value=
386 ac_cv_exeext=
387 ac_cv_host=i686-pc-linux-gnu
388 ac_cv_host_alias=i686-pc-linux-gnu
389 ac_cv_objext=o
390 ac_cv_path_install='/usr/bin/install -c'
391 ac_cv_prog_CPP=/lib/cpp
392 ac_cv_prog_ac_ct_CC=gcc
393 ac_cv_prog_cc_g=yes
394 ac_cv_prog_cc_stdc=
395 ac_cv_prog_egrep='grep -E'
396 ac_cv_prog_make_make_set=yes
397 ac_cv_target=i686-pc-linux-gnu
398 ac_cv_target_alias=i686-pc-linux-gnu
399 lt_cv_deplibs_check_method=pass_all
400 lt_cv_file_magic_cmd='$MAGIC_CMD'
401 lt_cv_file_magic_test_file='/lib/libc.so.6 /lib/libc-2.3.4.so'
402 lt_cv_ld_reload_flag=-r
403 lt_cv_path_LD=/usr/bin/ld
404 lt_cv_path_NM='/usr/bin/nm -B'
405 lt_cv_path_SED=/bin/sed
406 lt_cv_prog_gnu_ld=yes
407
408 ## ----------------- ##
409 ## Output variables. ##
410 ## ----------------- ##
411
412 ADDL_DIRS=''
413 ALLOCA=''
414 AR=''
415 BINDIR=''
416 BUILD_SHARED_MODULE_OBJS=''
417 BUILD_STATIC_MODULE_OBJS=''
418 CC='gcc'
419 CFLAGS='-g -O2'
420 CPP='/lib/cpp'
421 CPPFLAGS=''
422 CURSES_LIBS=''
423 CXX=''
424 CXXCPP=''
425 CXXFLAGS=''
426 DEFS=''
427 ECHO='echo'
428 ECHO_C=''
429 ECHO_N='-n'
430 ECHO_T=''
431 EGREP='grep -E'
432 EXEEXT=''
433 F77=''
434 FFLAGS=''
435 GLUE_MODULE_OBJS=''
436 INCLTDL='-I${top_srcdir}/lib/libltdl'
437 INCLUDEDIR=''
438 INCLUDES=''
439 INSTALL_DATA='${INSTALL} -m 644'
440 INSTALL_DEPS=''
441 INSTALL_PROGRAM='${INSTALL}'
442 INSTALL_SCRIPT='${INSTALL}'
443 INSTALL_STRIP=''
444 LDFLAGS=''
445 LIBDIRS=''
446 LIBEXECDIR=''
447 LIBLTDL='${top_builddir}/lib/libltdl/libltdlc.la'
448 LIBOBJS=''
449 LIBRARIES=''
450 LIBS=''
451 LIBTOOL=''
452 LIBTOOL_DEPS=''
453 LIB_DEPS=''
454 LIB_OBJS=''
455 LN_S='ln -s'
456 LOCALSTATEDIR=''
457 LTLIBOBJS=''
458 MAIN_LDFLAGS=''
459 MAIN_LIBS=''
460 MODULE_DEPS=''
461 MODULE_LDFLAGS=''
462 OBJEXT='o'
463 OSREL='-DLINUX'
464 OSTYPE=''
465 PACKAGE_BUGREPORT=''
466 PACKAGE_NAME=''
467 PACKAGE_STRING=''
468 PACKAGE_TARNAME=''
469 PACKAGE_VERSION=''
470 PATH_SEPARATOR=':'
471 PREFIX=''
472 RANLIB=''
473 SBINDIR=''
474 SET_MAKE=''
475 SHARED_MODULE_DIRS=''
476 SHARED_MODULE_OBJS=''
477 SHELL='/bin/sh'
478 STATIC_MODULE_DIRS=''
479 STATIC_MODULE_OBJS=''
480 STRIP=''
481 SYSCONFDIR=''
482 VERSION=''
483 ac_ct_AR=''
484 ac_ct_CC='gcc'
485 ac_ct_CXX=''
486 ac_ct_F77=''
487 ac_ct_RANLIB=''
488 ac_ct_STRIP=''
489 bindir='${exec_prefix}/bin'
490 build='i686-pc-linux-gnu'
491 build_alias=''
492 build_cpu='i686'
493 build_os='linux-gnu'
494 build_vendor='pc'
495 datadir='${prefix}/share'
496 exec_prefix='NONE'
497 host='i686-pc-linux-gnu'
498 host_alias=''
499 host_cpu='i686'
500 host_os='linux-gnu'
501 host_vendor='pc'
502 includedir='${prefix}/include'
503 infodir='${prefix}/info'
504 install_group=''
505 install_user=''
506 libdir='${exec_prefix}/lib'
507 libexecdir='${exec_prefix}/libexec'
508 localstatedir='${prefix}/var'
509 mandir='${prefix}/man'
510 oldincludedir='/usr/include'
511 prefix='/usr/local/proftpd/'
512 program_transform_name='s,x,x,'
513 sbindir='${exec_prefix}/sbin'
514 sharedstatedir='${prefix}/com'
515 subdirs=''
516 sysconfdir='${prefix}/etc'
517 target='i686-pc-linux-gnu'
518 target_alias=''
519 target_cpu='i686'
520 target_os='linux-gnu'
521 target_vendor='pc'
522
523 ## ----------- ##
524 ## confdefs.h. ##
525 ## ----------- ##
526
527 #define PACKAGE_BUGREPORT ""
528 #define PACKAGE_NAME ""
529 #define PACKAGE_STRING ""
530 #define PACKAGE_TARNAME ""
531 #define PACKAGE_VERSION ""
532 #define PR_BUILD_OPTS "--prefix=/usr/local/proftpd/"
533 #define PR_PLATFORM "LINUX"
534
535 configure: exit 1