水木社区手机版
首页
|版面-BBS安装管理(BBSMan_Dev)|
新版wap站已上线
返回
1/1
|
转到
主题:求教cygwin下configure出错
楼主
|
worth
|
2008-10-11 00:07:08
|
展开
按照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.*
2楼
|
worth
|
2008-10-11 00:17:52
|
展开
这个在cygwin下没问题吧
$ echo $PHPHOME
/home/bbs/php
直接写/home/bbs/php也是一样的错误
【 在 flyriver (江~~做多中国) 的大作中提到: 】
: ^^^^^^^^ 这里不对啊
--
修改:worth FROM 59.66.207.*
FROM 59.66.207.*
4楼
|
worth
|
2008-10-11 00:24:32
|
展开
是的
【 在 flyriver (江~~做多中国) 的大作中提到: 】
: 你是从 svn 下的代码吗?
--
FROM 59.66.207.*
6楼
|
worth
|
2008-10-11 00:28:59
|
展开
贴好了,在附件
【 在 flyriver (江~~做多中国) 的大作中提到: 】
: 把 config.log 做为附件发上来吧,你贴的那个错误信息不是一回事。
--
FROM 59.66.207.*
附件(169.6KB)
config.log
8楼
|
worth
|
2008-10-11 00:46:17
|
展开
那该怎么改呢?Makefile.in已经生成了的
【 在 flyriver (江~~做多中国) 的大作中提到: 】
: This file was extended by kbsbbs config.status 2.0dev, which was
: generated by GNU Autoconf 2.61. Invocation command line was
: CONFIG_FILES =
: ...................
--
修改:worth FROM 59.66.207.*
FROM 59.66.207.*
1/1
|
转到
选择讨论区
首页
|
分区
|
热推
BYR-Team
©
2010.
KBS Dev-Team
©
2011
登录完整版