VPS侦探论坛

 找回密码
 注册
查看: 6802|回复: 2

安装mysql时报错~~

[复制链接]
发表于 2011-10-9 17:11:04 | 显示全部楼层 |阅读模式

日志文件如下
  1. This file contains any messages produced by compilers while
  2. running configure, to aid debugging if configure makes a mistake.

  3. It was created by MySQL Server configure 5.1.54, which was
  4. generated by GNU Autoconf 2.63.  Invocation command line was

  5.   $ ./configure --prefix=/usr/local/mysql --with-extra-charsets=all --enable-thread-safe-client --enable-assembler --with-charset=utf8 --enable-thread-safe-client --with-extra-charsets=all --with-big-tables --with-readline --with-ssl --with-embedded-server --enable-local-infile

  6. ## --------- ##
  7. ## Platform. ##
  8. ## --------- ##

  9. hostname = MyVPS887
  10. uname -m = i686
  11. uname -r = 2.6.32-4-686-bigmem
  12. uname -s = Linux
  13. uname -v = #1 SMP Tue Apr 6 15:25:34 UTC 2010

  14. /usr/bin/uname -p = unknown
  15. /bin/uname -X     = unknown

  16. /bin/arch              = unknown
  17. /usr/bin/arch -k       = unknown
  18. /usr/convex/getsysinfo = unknown
  19. /usr/bin/hostinfo      = unknown
  20. /bin/machine           = unknown
  21. /usr/bin/oslevel       = unknown
  22. /bin/universe          = unknown

  23. PATH: /bin
  24. PATH: /sbin
  25. PATH: /usr/bin
  26. PATH: /usr/sbin
  27. PATH: /usr/local/bin
  28. PATH: /usr/local/sbin
  29. PATH: /root/bin


  30. ## ----------- ##
  31. ## Core tests. ##
  32. ## ----------- ##

  33. configure:2571: checking build system type
  34. configure:2589: result: i686-pc-linux-gnulibc1
  35. configure:2611: checking host system type
  36. configure:2626: result: i686-pc-linux-gnulibc1
  37. configure:2648: checking target system type
  38. configure:2663: result: i686-pc-linux-gnulibc1
  39. configure:2710: checking for a BSD-compatible install
  40. configure:2778: result: /usr/bin/install -c
  41. configure:2789: checking whether build environment is sane
  42. configure:2832: result: yes
  43. configure:2857: checking for a thread-safe mkdir -p
  44. configure:2896: result: /bin/mkdir -p
  45. configure:2909: checking for gawk
  46. configure:2925: found /usr/bin/gawk
  47. configure:2936: result: gawk
  48. configure:2947: checking whether make sets $(MAKE)
  49. configure:2969: result: yes
  50. configure:3148: checking how to create a ustar tar archive
  51. configure:3161: tar --version
  52. tar (GNU tar) 1.23
  53. Copyright (C) 2010 Free Software Foundation, Inc.
  54. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
  55. This is free software: you are free to change and redistribute it.
  56. There is NO WARRANTY, to the extent permitted by law.

  57. Written by John Gilmore and Jay Fenlason.
  58. configure:3164: $? = 0
  59. configure:3204: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
  60. configure:3207: $? = 0
  61. configure:3211: tar -xf - <conftest.tar
  62. configure:3214: $? = 0
  63. configure:3227: result: gnutar
  64. configure:3271: checking for style of include used by make
  65. configure:3299: result: GNU
  66. configure:3369: checking for gcc
  67. configure:3385: found /usr/bin/gcc
  68. configure:3396: result: gcc
  69. configure:3628: checking for C compiler version
  70. configure:3636: gcc --version >&5
  71. gcc (Debian 4.4.5-8) 4.4.5
  72. Copyright (C) 2010 Free Software Foundation, Inc.
  73. This is free software; see the source for copying conditions.  There is NO
  74. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

  75. configure:3640: $? = 0
  76. configure:3647: gcc -v >&5
  77. Using built-in specs.
  78. Target: i486-linux-gnu
  79. Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-8' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
  80. Thread model: posix
  81. gcc version 4.4.5 (Debian 4.4.5-8)
  82. configure:3651: $? = 0
  83. configure:3658: gcc -V >&5
  84. gcc: '-V' option must have argument
  85. configure:3662: $? = 1
  86. configure:3685: checking for C compiler default output file name
  87. configure:3707: gcc    conftest.c  >&5
  88. /usr/bin/ld: crt1.o: No such file: No such file or directory
  89. collect2: ld returned 1 exit status
  90. configure:3711: $? = 1
  91. configure:3749: result:
  92. configure: failed program was:
  93. | /* confdefs.h.  */
  94. | #define PACKAGE_NAME "MySQL Server"
  95. | #define PACKAGE_TARNAME "mysql"
  96. | #define PACKAGE_VERSION "5.1.54"
  97. | #define PACKAGE_STRING "MySQL Server 5.1.54"
  98. | #define PACKAGE_BUGREPORT ""
  99. | #define PACKAGE "mysql"
  100. | #define VERSION "5.1.54"
  101. | /* end confdefs.h.  */
  102. |
  103. | int
  104. | main ()
  105. | {
  106. |
  107. |   ;
  108. |   return 0;
  109. | }
  110. configure:3755: error: in `/root/lnmp0.7-full/mysql-5.1.54':
  111. configure:3758: error: C compiler cannot create executables
  112. See `config.log' for more details.

  113. ## ---------------- ##
  114. ## Cache variables. ##
  115. ## ---------------- ##

  116. ac_cv_build=i686-pc-linux-gnulibc1
  117. ac_cv_env_CCASFLAGS_set=
  118. ac_cv_env_CCASFLAGS_value=
  119. ac_cv_env_CCAS_set=
  120. ac_cv_env_CCAS_value=
  121. ac_cv_env_CCC_set=
  122. ac_cv_env_CCC_value=
  123. ac_cv_env_CC_set=
  124. ac_cv_env_CC_value=
  125. ac_cv_env_CFLAGS_set=
  126. ac_cv_env_CFLAGS_value=
  127. ac_cv_env_CPPFLAGS_set=
  128. ac_cv_env_CPPFLAGS_value=
  129. ac_cv_env_CPP_set=
  130. ac_cv_env_CPP_value=
  131. ac_cv_env_CXXCPP_set=
  132. ac_cv_env_CXXCPP_value=
  133. ac_cv_env_CXXFLAGS_set=
  134. ac_cv_env_CXXFLAGS_value=
  135. ac_cv_env_CXX_set=
  136. ac_cv_env_CXX_value=
  137. ac_cv_env_LDFLAGS_set=
  138. ac_cv_env_LDFLAGS_value=
  139. ac_cv_env_LIBS_set=
  140. ac_cv_env_LIBS_value=
  141. ac_cv_env_build_alias_set=
  142. ac_cv_env_build_alias_value=
  143. ac_cv_env_host_alias_set=
  144. ac_cv_env_host_alias_value=
  145. ac_cv_env_target_alias_set=
  146. ac_cv_env_target_alias_value=
  147. ac_cv_host=i686-pc-linux-gnulibc1
  148. ac_cv_path_install='/usr/bin/install -c'
  149. ac_cv_path_mkdir=/bin/mkdir
  150. ac_cv_prog_AWK=gawk
  151. ac_cv_prog_ac_ct_CC=gcc
  152. ac_cv_prog_make_make_set=yes
  153. ac_cv_target=i686-pc-linux-gnulibc1
  154. am_cv_prog_tar_ustar=gnutar

  155. ## ----------------- ##
  156. ## Output variables. ##
  157. ## ----------------- ##

  158. ABI_CHECK=''
  159. ACLOCAL='${SHELL} /root/lnmp0.7-full/mysql-5.1.54/missing --run aclocal-1.10'
  160. ALLOCA=''
  161. AMDEPBACKSLASH='\'
  162. AMDEP_FALSE='#'
  163. AMDEP_TRUE=''
  164. AMTAR='${SHELL} /root/lnmp0.7-full/mysql-5.1.54/missing --run tar'
  165. AM_CFLAGS=''
  166. AM_CXXFLAGS=''
  167. AR=''
  168. ARFLAGS=''
  169. AS=''
  170. ASFLAGS=''
  171. ASSEMBLER_FALSE=''
  172. ASSEMBLER_TRUE=''
  173. ASSEMBLER_sparc32_FALSE=''
  174. ASSEMBLER_sparc32_TRUE=''
  175. ASSEMBLER_sparc64_FALSE=''
  176. ASSEMBLER_sparc64_TRUE=''
  177. ASSEMBLER_x86_FALSE=''
  178. ASSEMBLER_x86_TRUE=''
  179. AUTOCONF='${SHELL} /root/lnmp0.7-full/mysql-5.1.54/missing --run autoconf'
  180. AUTOHEADER='${SHELL} /root/lnmp0.7-full/mysql-5.1.54/missing --run autoheader'
  181. AUTOMAKE='${SHELL} /root/lnmp0.7-full/mysql-5.1.54/missing --run automake-1.10'
  182. AVAILABLE_LANGUAGES=''
  183. AWK='gawk'
  184. BUILD_INNODB_TOOLS_FALSE=''
  185. BUILD_INNODB_TOOLS_TRUE=''
  186. CC='gcc'
  187. CCAS=''
  188. CCASDEPMODE=''
  189. CCASFLAGS=''
  190. CCDEPMODE=''
  191. CC_VERSION=''
  192. CFLAGS=''
  193. CHECK_PID=''
  194. CHMOD=''
  195. CLIENT_EXTRA_LDFLAGS=''
  196. CLIENT_LIBS=''
  197. CLIENT_THREAD_LIBS=''
  198. CMP=''
  199. COMPILATION_COMMENT=''
  200. CONF_COMMAND=''
  201. CP=''
  202. CPP=''
  203. CPPFLAGS=''
  204. CXX=''
  205. CXXCPP=''
  206. CXXDEPMODE=''
  207. CXXFLAGS=''
  208. CXXLDFLAGS=''
  209. CXX_VERSION=''
  210. CYGPATH_W='echo'
  211. DARWIN_MWCC_FALSE=''
  212. DARWIN_MWCC_TRUE=''
  213. DEFS=''
  214. DEPDIR='.deps'
  215. DIFF=''
复制代码
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-10-9 17:11:33 | 显示全部楼层


  1. DOT_FRM_VERSION=''
  2. DOXYGEN=''
  3. DSYMUTIL=''
  4. DUMPBIN=''
  5. DVIS=''
  6. ECHO_C=''
  7. ECHO_N='-n'
  8. ECHO_T=''
  9. EGREP=''
  10. EXEEXT=''
  11. FGREP=''
  12. FIND_PROC=''
  13. GETCONF=''
  14. GREP=''
  15. GXX=''
  16. HAVE_NETWARE_FALSE=''
  17. HAVE_NETWARE_TRUE=''
  18. HAVE_YASSL_FALSE=''
  19. HAVE_YASSL_TRUE=''
  20. HOSTNAME='MyVPS887'
  21. INNODB_DYNAMIC_CFLAGS=''
  22. INSTALL_DATA='${INSTALL} -m 644'
  23. INSTALL_PROGRAM='${INSTALL}'
  24. INSTALL_SCRIPT='${INSTALL}'
  25. INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
  26. KILL=''
  27. LD=''
  28. LDFLAGS=''
  29. LD_VERSION_SCRIPT=''
  30. LIBDL=''
  31. LIBEDIT_LOBJECTS=''
  32. LIBOBJS=''
  33. LIBS=''
  34. LIBTOOL=''
  35. LIB_EXTRA_CCFLAGS=''
  36. LIPO=''
  37. LM_CFLAGS=''
  38. LN=''
  39. LN_CP_F=''
  40. LN_S=''
  41. LTLIBOBJS=''
  42. MACHINE_TYPE=''
  43. MAKEINDEX=''
  44. MAKEINFO='${SHELL} /root/lnmp0.7-full/mysql-5.1.54/missing --run makeinfo'
  45. MAKE_BINARY_DISTRIBUTION_OPTIONS=''
  46. MAKE_SHELL=''
  47. MKDIR_P='/bin/mkdir -p'
  48. MV=''
  49. MYSQLD_DEFAULT_SWITCHES=''
  50. MYSQLD_EXTRA_LDFLAGS=''
  51. MYSQLD_EXTRA_LIBS=''
  52. MYSQLD_USER=''
  53. MYSQL_BASE_VERSION=''
  54. MYSQL_COPYRIGHT_YEAR=''
  55. MYSQL_NO_DASH_VERSION=''
  56. MYSQL_PREVIOUS_BASE_VERSION=''
  57. MYSQL_SERVER_SUFFIX=''
  58. MYSQL_TCP_PORT=''
  59. MYSQL_TCP_PORT_DEFAULT=''
  60. MYSQL_UNIX_ADDR=''
  61. MYSQL_U_SCORE_VERSION=''
  62. MYSQL_VERSION_ID=''
  63. NDB_DEFS=''
  64. NDB_LD_VERSION_SCRIPT=''
  65. NDB_SCI_INCLUDES=''
  66. NDB_SCI_LIBS=''
  67. NDB_SHARED_LIB_MAJOR_VERSION=''
  68. NDB_SHARED_LIB_VERSION=''
  69. NDB_SIZEOF_CHAR=''
  70. NDB_SIZEOF_CHARP=''
  71. NDB_SIZEOF_INT=''
  72. NDB_SIZEOF_LONG=''
  73. NDB_SIZEOF_LONG_LONG=''
  74. NDB_SIZEOF_SHORT=''
  75. NDB_VERSION_BUILD=''
  76. NDB_VERSION_MAJOR=''
  77. NDB_VERSION_MINOR=''
  78. NDB_VERSION_STATUS=''
  79. NEED_THREAD_FALSE=''
  80. NEED_THREAD_TRUE=''
  81. NM=''
  82. NMEDIT=''
  83. NOINST_LDFLAGS=''
  84. NON_THREADED_LIBS=''
  85. OBJDUMP=''
  86. OBJEXT=''
  87. OTOOL64=''
  88. OTOOL=''
  89. PACKAGE='mysql'
  90. PACKAGE_BUGREPORT=''
  91. PACKAGE_NAME='MySQL Server'
  92. PACKAGE_STRING='MySQL Server 5.1.54'
  93. PACKAGE_TARNAME='mysql'
  94. PACKAGE_VERSION='5.1.54'
  95. PATH_SEPARATOR=':'
  96. PDFLATEX=''
  97. PDFMANUAL=''
  98. PERL5=''
  99. PERL=''
  100. PROTOCOL_VERSION=''
  101. PS=''
  102. RANLIB=''
  103. RM=''
  104. SAVE_ASFLAGS=''
  105. SAVE_CC=''
  106. SAVE_CFLAGS=''
  107. SAVE_CXX=''
  108. SAVE_CXXFLAGS=''
  109. SAVE_CXXLDFLAGS=''
  110. SAVE_LDFLAGS=''
  111. SED=''
  112. SET_MAKE=''
  113. SHARED_LIB_MAJOR_VERSION=''
  114. SHARED_LIB_VERSION=''
  115. SHELL='/bin/bash'
  116. STATIC_NSS_FLAGS=''
  117. STRIP=''
  118. SYSTEM_TYPE=''
  119. TAR=''
  120. TARGET_LINUX=''
  121. TERMCAP_LIB=''
  122. TEST_NDBCLUSTER=''
  123. THREAD_LOBJECTS=''
  124. THREAD_SAFE_CLIENT_FALSE=''
  125. THREAD_SAFE_CLIENT_TRUE=''
  126. VERSION='5.1.54'
  127. WRAPLIBS=''
  128. YACC=''
  129. ZLIB_DEPS=''
  130. ZLIB_INCLUDES=''
  131. ZLIB_LIBS=''
  132. ac_ct_CC='gcc'
  133. ac_ct_CXX=''
  134. ac_ct_DUMPBIN=''
  135. am__fastdepCCAS_FALSE=''
  136. am__fastdepCCAS_TRUE=''
  137. am__fastdepCC_FALSE=''
  138. am__fastdepCC_TRUE=''
  139. am__fastdepCXX_FALSE=''
  140. am__fastdepCXX_TRUE=''
  141. am__include='include'
  142. am__isrc=''
  143. am__leading_dot='.'
  144. am__quote=''
  145. am__tar='tar --format=ustar -chf - "$tardir"'
  146. am__untar='tar -xf -'
  147. bindir='${exec_prefix}/bin'
  148. build='i686-pc-linux-gnulibc1'
  149. build_alias=''
  150. build_cpu='i686'
  151. build_os='linux-gnulibc1'
  152. build_vendor='pc'
  153. condition_dependent_plugin_includes=''
  154. condition_dependent_plugin_links=''
  155. condition_dependent_plugin_modules=''
  156. condition_dependent_plugin_objects=''
  157. datadir='${datarootdir}'
  158. datarootdir='${prefix}/share'
  159. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  160. docs_dirs=''
  161. dvidir='${docdir}'
  162. exec_prefix='NONE'
  163. extra_docs=''
  164. host='i686-pc-linux-gnulibc1'
  165. host_alias=''
  166. host_cpu='i686'
  167. host_os='linux-gnulibc1'
  168. host_vendor='pc'
  169. htmldir='${docdir}'
  170. includedir='${prefix}/include'
  171. infodir='${datarootdir}/info'
  172. innodb_system_libs=''
  173. install_sh='$(SHELL) /root/lnmp0.7-full/mysql-5.1.54/install-sh'
  174. libdir='${exec_prefix}/lib'
  175. libexecdir='${exec_prefix}/libexec'
  176. libmysqld_dirs=''
  177. localedir='${datarootdir}/locale'
  178. localstatedir='${prefix}/var'
  179. lt_ECHO='echo'
  180. man1_files=''
  181. man8_files=''
  182. man_dirs=''
  183. mandir='${datarootdir}/man'
  184. mkdir_p='/bin/mkdir -p'
  185. mysql_pg_dirs=''
  186. mysql_pg_distdirs=''
  187. mysql_pg_unittest_dirs=''
  188. mysql_plugin_defs=''
  189. mysql_plugin_dirs=''
  190. mysql_plugin_libs=''
  191. mysql_se_dirs=''
  192. mysql_se_distdirs=''
  193. mysql_se_unittest_dirs=''
  194. ndb_bin_am_ldflags=''
  195. ndb_cxxflags_fix=''
  196. ndb_mgmclient_libs=''
  197. ndb_opt_subdirs=''
  198. ndb_port=''
  199. ndb_transporter_opt_objs=''
  200. ndbcluster_includes=''
  201. ndbcluster_libs=''
  202. ndbcluster_system_libs=''
  203. netware_dir=''
  204. oldincludedir='/usr/include'
  205. openssl_includes=''
  206. openssl_libs=''
  207. pdfdir='${docdir}'
  208. plugin_archive_shared_target=''
  209. plugin_archive_static_target=''
  210. plugin_blackhole_shared_target=''
  211. plugin_blackhole_static_target=''
  212. plugin_csv_shared_target=''
  213. plugin_csv_static_target=''
  214. plugin_daemon_example_shared_target=''
  215. plugin_daemon_example_static_target=''
  216. plugin_example_shared_target=''
  217. plugin_example_static_target=''
  218. plugin_federated_shared_target=''
  219. plugin_federated_static_target=''
  220. plugin_ftexample_shared_target=''
  221. plugin_ftexample_static_target=''
  222. plugin_heap_shared_target=''
  223. plugin_heap_static_target=''
  224. plugin_innobase_shared_target=''
  225. plugin_innobase_static_target=''
  226. plugin_innodb_plugin_shared_target=''
  227. plugin_innodb_plugin_static_target=''
  228. plugin_myisam_shared_target=''
  229. plugin_myisam_static_target=''
  230. plugin_myisammrg_shared_target=''
  231. plugin_myisammrg_static_target=''
  232. plugin_ndbcluster_shared_target=''
  233. plugin_ndbcluster_static_target=''
  234. plugin_partition_shared_target=''
  235. plugin_partition_static_target=''
  236. prefix='/usr/local/mysql'
  237. program_transform_name='s,x,x,'
  238. psdir='${docdir}'
  239. readline_basedir=''
  240. readline_dir=''
  241. readline_h_ln_cmd=''
  242. readline_link=''
  243. readline_topdir=''
  244. sbindir='${exec_prefix}/sbin'
  245. server_scripts=''
  246. sharedstatedir='${prefix}/com'
  247. sql_client_dirs=''
  248. sql_server=''
  249. sql_server_dirs=''
  250. sql_union_dirs=''
  251. sysconfdir='${prefix}/etc'
  252. target='i686-pc-linux-gnulibc1'
  253. target_alias=''
  254. target_cpu='i686'
  255. target_os='linux-gnulibc1'
  256. target_vendor='pc'
  257. tools_dirs=''
  258. uname_prog=''
  259. yassl_dir=''
  260. yassl_h_ln_cmd=''
  261. yassl_libs=''
  262. yassl_taocrypt_extra_cxxflags=''
  263. yassl_thread_cxxflags=''
  264. zlib_dir=''

  265. ## ----------- ##
  266. ## confdefs.h. ##
  267. ## ----------- ##

  268. #define PACKAGE_NAME "MySQL Server"
  269. #define PACKAGE_TARNAME "mysql"
  270. #define PACKAGE_VERSION "5.1.54"
  271. #define PACKAGE_STRING "MySQL Server 5.1.54"
  272. #define PACKAGE_BUGREPORT ""
  273. #define PACKAGE "mysql"
  274. #define VERSION "5.1.54"

  275. configure: exit 77
复制代码
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2011-10-9 18:49:02 | 显示全部楼层

不清楚什么原因
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-15 20:25 , Processed in 0.025929 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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