我正試圖從需要一些Unix工具的Windows中構建一個應用程序。我認爲這是明顯標準的./configure; make; make install
(沒有INSTALL文件)。首先,我嘗試了MinGW,但感到困惑的是\bin
中沒有bash, autoconf, m4,
或automake
exes。我確定我錯過了一些明顯的東西,但是我反過來安裝了Cygwin來推進。出於某種原因,當我運行爲什麼configure.sh認爲win32是Unix?
sh configure.sh
我得到:
platform unix
compiler cc
configuration directory ./builds/unix
configuration rules ./builds/unix/unix.mk
我的操作系統有身份的問題。很明顯,makefile是錯誤的,因爲我不是unix,而是win32。爲什麼配置腳本會這樣想?我認爲它與Cygwin有關,但如果我刪除了它,我根本無法構建它。請幫忙;我很困惑。
也有可能使用MinGW建立? bash的命令是什麼,mingw32-make
與make
相同?我注意到他們是不同的大小。
因爲你正在運行configure.sh而不是configure.bat? – Jherico 2009-10-26 23:50:20
沒有configure.bat – RobbR 2009-10-27 00:11:50