分页: 1 / 1

./configure 后出现错误 求解

发表于 : 2009-06-12 16:09
zw026
cooper@cooper-laptop:~/mysql/mysql-5.0.22$ ./configure --prefix=/usr/local/mysql
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking "character sets"... default: latin1, collation: latin1_swedish_ci; compiled in: latin1 latin1 utf8
checking whether to compile national Unicode collations... yes
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... (cached) gawk
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

---------------------------------------------------------------------------------------------------------------------------------------------
看记录最后一行出现error 但不知如何解决 请大家帮忙

Re: ./configure 后出现错误 求解

发表于 : 2009-06-12 16:14
伟大的败类
嗯,有些依赖关系,我们作为初学者搞不懂怎么处理。

Re: ./configure 后出现错误 求解

发表于 : 2009-06-12 16:21
bones7456
没有编译环境吧

Re: ./configure 后出现错误 求解

发表于 : 2009-06-12 16:23
zw026
用./configure --help 差了下 因改是缺少 C 编译环境 但是不知道如何处理

Re: ./configure 后出现错误 求解

发表于 : 2009-06-12 16:42
zw026
自己做解答吧
gcc编译环境没用配好, 直接apt-get install gcc libc6-dev就可以解决