English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
所有分類

我是照著這個網站上的指令去打的
http://linux.vbird.org/linux_ser ... nux_26wwwapache.php
但是卻出現下面的問題一直沒辦法安裝
[root@localhost mysql-5.0.22]# ./configure --prefix=/usr/local/mtsql --localstatedir=/usr/local/mysql/var
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
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... 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.
[root@localhost mysql-5.0.22]# make
make: *** No targets specified and no makefile found. Stop.
You have new mail in /var/spool/mail/root
[root@localhost mysql-5.0.22]# make install
make: *** No rule to make target `install\'. Stop.

安裝套件是mysql-5.0.22.tar.gz
怎麼會這樣>\"<各位大大救救小弟我...

2006-08-11 13:25:10 · 6 個解答 · 發問者 鳳旗 1 in 電腦與網際網路 程式設計

6 個解答

checking for gcc... nochecking for cc... nochecking for cc... nochecking for cl... noconfigure: error: no acceptable C compiler found in $PATHSee `config.log' for more details.這幾行有說出原因,就是系統找不到 gcc ,你檢查一下 /usr/bin/gcc 在不在或用 rpm -qa|grep gcc 看一下 gcc 套件有沒有安裝,若是有裝的話,在 PATH 加入 /usr/binex: # PATH=$PATH:/usr/bin參考看看

2006-08-19 10:39:14 補充:
安裝 Linux 時記得順便安裝 kernel build 套件,如果你有要自行 complie 套件時一定會用到~

2006-08-19 23:54:31 補充:
另外版主你的這行路徑應是打錯了./configure --prefix=/usr/local/mtsql

2006-08-19 06:37:37 · answer #1 · answered by 王小明 5 · 0 0

呵~~ ^_^ 一票!
不過,關鍵就是在「error: no acceptable C compiler found in $PATH」。所以,你的configure動作沒有完成。
可以的話,先把開發工具安裝上去再說喔! :)

2006-08-17 12:39:24 · answer #2 · answered by SC556699 7 · 0 0

支持 ^_^大大的意見

2006-08-13 21:34:35 · answer #3 · answered by ? 4 · 0 0

另外,初學者如果可能的話,先用系統內建的套件管理程式吧...如果每個軟體都要自己編譯,會耗掉你不少時間跟耐心。

2006-08-13 16:40:11 · answer #4 · answered by Kukulcan 6 · 0 0

我是建議最好把 Linux 系統片的套件全部安裝,因為外來的套件可能會去檢查系統內部的套件是否有缺少。

2006-08-11 15:08:32 · answer #5 · answered by Big_John-tw 7 · 0 0

configure: error: no acceptable C compiler found in $PATH

這句話就說明未啥會編譯錯誤
因為在PATH裡
妳應該是沒有C的編譯器吧
當然 沒辦法做make等動作

2006-08-11 14:14:46 · answer #6 · answered by 3 · 0 0

fedest.com, questions and answers