no acceptable C compiler found in $PATH
来源:互联网 发布:网络kol通称 编辑:程序博客网 时间:2024/05/21 03:24
[root@server mysql-5.0.56]# ./configure --prefix=/usr/local/mysql --with-charset=gbk --with-extra-charset=all --enable-thread-safe-client --enable-local-infile --with-low-memory
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 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: gbk, collation: gbk_chinese_ci; compiled in: gbk 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... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
今天在安装mysql时遇到了上面这个问题,解决办法:安装GCC软件套件
[root@server mysql-5.0.56]# yum install gcc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.ustc.edu.cn
* extras: centos.ustc.edu.cn
* updates: centos.ustc.edu.cn
addons | 951 B 00:00
addons/primary | 202 B 00:00
base | 1.1 kB 00:00
base/primary | 961 kB 00:06
base 2705/2705
extras | 2.1 kB 00:00
extras/primary_db | 171 kB 00:00
updates | 1.9 kB 00:00
..........................................................................................
.................................................................................
................................................................
再次运行上面命令安装mysql即可以正常安装:
[root@server mysql-5.0.56]# ./configure --prefix=/usr/local/mysql --with-charset=gbk --with-extra-charset=all --enable-thread-safe-client --enable-local-infile --with-low-memory
checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking target system type... i686-redhat-linux-gnu
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: gbk, collation: gbk_chinese_ci; compiled in: gbk 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 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 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: gbk, collation: gbk_chinese_ci; compiled in: gbk 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... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
今天在安装mysql时遇到了上面这个问题,解决办法:安装GCC软件套件
[root@server mysql-5.0.56]# yum install gcc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.ustc.edu.cn
* extras: centos.ustc.edu.cn
* updates: centos.ustc.edu.cn
addons | 951 B 00:00
addons/primary | 202 B 00:00
base | 1.1 kB 00:00
base/primary | 961 kB 00:06
base 2705/2705
extras | 2.1 kB 00:00
extras/primary_db | 171 kB 00:00
updates | 1.9 kB 00:00
..........................................................................................
.................................................................................
................................................................
再次运行上面命令安装mysql即可以正常安装:
[root@server mysql-5.0.56]# ./configure --prefix=/usr/local/mysql --with-charset=gbk --with-extra-charset=all --enable-thread-safe-client --enable-local-infile --with-low-memory
checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking target system type... i686-redhat-linux-gnu
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: gbk, collation: gbk_chinese_ci; compiled in: gbk 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
.............................................................................................................
..............................................................................................
..............................................................................
- no acceptable C compiler found in $PATH
- no acceptable C compiler found in $PATH
- no acceptable C compiler found in $PATH
- no acceptable C compiler found in $PATH
- no acceptable C compiler found in $PATH
- no acceptable C compiler found in $PATH
- no acceptable C compiler found in $PATH
- CentOS5 no acceptable C compiler found in $PATH
- configure: error: no acceptable C compiler found in $PATH
- error: no acceptable C compiler found in $PATH
- Linux no acceptable C compiler found in $PATH错误
- no acceptable C compiler found in $PATH 解决办法
- configure: error: no acceptable C compiler found in $PATH 问题解决
- configure: error: no acceptable C compiler found in $PATH
- configure: error: no acceptable C compiler found in $PATH
- configure: error: no acceptable C compiler found in $PATH解决
- configure: error: no acceptable C compiler found in $PATH
- aconfigure: error: no acceptable C compiler found in $PATH
- Android开发需要掌握的10个工具
- Android ApiDemos示例解析(33):App->Preferences->Default Values
- python字符串的encode与decode研究心得——解决乱码问题
- Java ME引路蜂地图开发示例:地址反编码
- Android 精彩博文
- no acceptable C compiler found in $PATH
- 开发者要求改进:苹果商店缺乏应用推广方式
- Android OpenGL ES->Frame Buffer Object
- 棋牌游戏网站变相赌博:巨型产业链浮现
- Linux下安装Python
- Linux下安装cronolog
- 更多人失业更多人玩游戏:不解释
- 手机游戏的市场越来越大了,潜力无限
- 薛蛮子:游戏行业面临洗牌 移动市场机会难得