四虎影视在线影院在线观看,小s货再浪些再咬紧点h,国产精品水嫩水嫩,97精产国品一二三产区

Board logo

標(biāo)題: [教程] configure: error: no acceptable C compiler found in $PATH [打印本頁(yè)]

作者: admin    時(shí)間: 2012-9-8 13:17     標(biāo)題: configure: error: no acceptable C compiler found in $PATH

在 安裝一鍵包或編譯軟件時(shí),比較經(jīng)常會(huì)有如下的提示
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... no
checking for gcc... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
make: *** No targets specified and no makefile found.  Stop.



注意看紅色字體文字

意思是,沒(méi)有安裝GCC等編譯器,因?yàn)長(zhǎng)inux里編譯軟件,都要用到GCC,所以這個(gè)是必須的,否則,是無(wú)法安裝的

這種情況,一般是在安裝系統(tǒng)時(shí)最小安裝或選擇安裝時(shí)沒(méi)有選擇編譯環(huán)境等原因

那怎么辦呢,可以用yum來(lái)安裝

yum install -y gcc gcc-c++ make autoconf libtool-ltdl-devel


執(zhí)行完上面這個(gè)就可以了


但是,確定上面有執(zhí)行成功,有些情況是,上面這個(gè)也執(zhí)行不成功的,那樣還是仍然會(huì)有問(wèn)題,上面這個(gè)執(zhí)行不成功,一般是DNS的問(wèn)題
作者: marstefa    時(shí)間: 2012-9-9 09:24

  1.   --> Missing Dependency: kernel-headers >= 2.2.1 is needed by package glibc-headers-2.5-81.el5_8.7.x86_64 (updates)
  2. glibc-headers-2.5-81.el5_8.7.x86_64 from updates has depsolving problems
  3.   --> Missing Dependency: kernel-headers is needed by package glibc-headers-2.5-81.el5_8.7.x86_64 (updates)
  4. Error: Missing Dependency: kernel-headers >= 2.2.1 is needed by package glibc-headers-2.5-81.el5_8.7.x86_64 (updates)
  5. Error: Missing Dependency: kernel-headers is needed by package glibc-headers-2.5-81.el5_8.7.x86_64 (updates)
  6. You could try using --skip-broken to work around the problem
  7. You could try running: package-cleanup --problems
  8.                         package-cleanup --dupes
  9.                         rpm -Va --nofiles --nodigest
  10. The program package-cleanup is found in the yum-utils package.
復(fù)制代碼
執(zhí)行后提示這樣的錯(cuò)誤...咋辦
作者: admin    時(shí)間: 2012-9-9 10:06

http://cd-genova.com/bbs/thread-2287-1-1.html
作者: marstefa    時(shí)間: 2012-9-9 11:20

admin 發(fā)表于 2012-9-9 10:06



    提示安裝pdo_mysql 成功了  ...服務(wù)也重啟了... php.ini里也自動(dòng)加入了


  1. zend_extension_ts=/www/wdlinux/Zend/lib/ZendExtensionManager_TS.soextension=pdo_mysql.so
復(fù)制代碼



但是在phpinfo里依然沒(méi)有  pdo_mysql  ...這是啥情況...
作者: wapsos    時(shí)間: 2012-12-23 23:32

回復(fù) 1# admin


    不行餓 error3.png

圖片附件: error3.png (2012-12-23 23:32, 26.09 KB) / 下載次數(shù) 10380
http://cd-genova.com/bbs/attachment.php?aid=2262&k=c38e5bb29f657f8ab045b1f794d42b90&t=1744970828&sid=23Mn91






歡迎光臨 WDlinux官方論壇 (http://cd-genova.com/bbs/) Powered by Discuz! 7.2