茫茫網海中的冷日
         
茫茫網海中的冷日
發生過的事,不可能遺忘,只是想不起來而已!
 恭喜您是本站第 1675179 位訪客!  登入  | 註冊
主選單

Google 自訂搜尋

Goole 廣告

隨機相片
PIMG_00216.jpg

授權條款

使用者登入
使用者名稱:

密碼:


忘了密碼?

現在就註冊!

小企鵝開談 : [教學]在solaris上安裝APACHE碰上./helpers/TestCompile: make: not found

發表者 討論內容
冷日
(冷日)
Webmaster
  • 註冊日: 2008/2/19
  • 來自:
  • 發表數: 15771
[教學]在solaris上安裝APACHE碰上./helpers/TestCompile: make: not found
在Sun Solaris 上 Compile Apache Web Server
執行 ./Configure 時顯示錯誤,
錯誤訊息如下:
------------------------------------------------------------------------
# ./Configure
Using config file: Configuration
Creating Makefile
 + configured for Solaris 260 platform
 + setting C pre-processor to /usr/local/bin/cpp
 + checking for system header files
 + adding selected modules
./Configure: make: not found
 + checking sizeof various data types
./helpers/TestCompile: make: not found
./helpers/TestCompile: make: not found
./helpers/TestCompile: make: not found
./helpers/TestCompile: make: not found
./helpers/TestCompile: make: not found
 + doing sanity check on compiler and options
./helpers/TestCompile: make: not found
** A test compilation with your Makefile configuration
** failed.  The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc. 

======== Error Output for sanity check ========
./helpers/TestCompile: make: not found
============= End of Error Report =============

 Aborting!
------------------------------------------------------------------------


此時應該是configure找不到你的make ,
請你先確認你到底有沒有安裝過make ,

確認方法 :
一般來說,make會被安裝在以下路徑:
/usr/ccs/bin

請找一下,若在該路徑還是看不到make的話,可以考慮用這方法找找看:
find / |grep make |more

請在找到make指令的路徑以後,把他設進你的環境變數裡面,也就是讓你在登入以後,可以不需要打路徑便可執行該命令!

如果剛剛的方法都找不到make指令,此時請你安裝gnu make在你的機器上!
在這裡可以找到免費的 gnu make for solaris 讓你下載!
下載後請解壓縮與安裝:
gunzip [filename]
pkgadd -d [filename] 

安裝後再把 make 所在的路徑設到你要安裝 apache 的使用者的環境變數裡面!

經過上面兩個方法之後,請記得重新登入(已使你的環境變數生效)該帳號,此時你的apache應該就可以順利安裝了!
前一個主題 | 下一個主題 | 頁首 | | |



Powered by XOOPS 2.0 © 2001-2008 The XOOPS Project|