按照flyriver 36915文章的方法一步一步做,在执行
./configure --enable-site=fb2k-v2 --with-php=$PHPHOME \
--enable-ssh \
&& make && make install
时出错,错误信息是
configure: creating ./config.status
config.status: creating php/Makefile
config.status: creating php/config.m4
.infig.status: error: cannot find input file: Makefile
config.log里面的第一个错误是
configure:7521: checking for int64
configure:7551: gcc -c -DCYGWIN conftest.c >&5
conftest.c:83: error: parse error before "ac__type_new_"
conftest.c:83: warning: data definition has no type or storage class
conftest.c: In function `main':
conftest.c:87: error: parse error before ')' token
configure:7557: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "kbsbbs"
| #define PACKAGE_TARNAME "kbsbbs"
| #define PACKAGE_VERSION "2.0dev"
| #define PACKAGE_STRING "kbsbbs 2.0dev"
| #define PACKAGE_BUGREPORT "dev@dev.kcn.cn"
| #define PACKAGE "kbsbbs"
| #define VERSION "2.0dev"
| #define BBSHOME "/home/bbs"
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TERMIO_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UTIME_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_STRUCT_UTIMBUF 1
| #define SIZEOF_INT_P 4
| #define SIZEOF_LONG_LONG_INT 8
| #define SIZEOF_LONG_INT 4
| #define SIZEOF_INT 4
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| typedef int64 ac__type_new_;
| int
| main ()
| {
| if ((ac__type_new_ *) 0)
| return 0;
| if (sizeof (ac__type_new_))
| return 0;
| ;
| return 0;
| }
这个该怎么办啊?求救ing
--
FROM 59.66.207.*