嗨,我正在使用cygwin構建FFTW庫。Cygwin配置:錯誤:源目錄已配置;首先運行「make distclean」
但是,當我輸入「配置」錯誤彈出原樣配置:錯誤:源代碼目錄已經配置;運行「make distclean命令」有第一
但是,當我再次鍵入「make distclean命令」另一個錯誤彈出:使:***沒有規則,使目標「distclean命令」。停止。
普萊斯提供這方面的建議。
嗨,我正在使用cygwin構建FFTW庫。Cygwin配置:錯誤:源目錄已配置;首先運行「make distclean」
但是,當我輸入「配置」錯誤彈出原樣配置:錯誤:源代碼目錄已經配置;運行「make distclean命令」有第一
但是,當我再次鍵入「make distclean命令」另一個錯誤彈出:使:***沒有規則,使目標「distclean命令」。停止。
普萊斯提供這方面的建議。
我不能確定你的環境,所以我只能猜測。
首先,你應該執行bootstrap.sh
,然後執行configure
等make
命令。
編輯:
直接的原因是下面的代碼configure
。 你應該嘗試刪除config.status
和執行bootstrap.sh
& & ./configure
。
1715 # test to see if srcdir already configured
1716 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1717 test -f $srcdir/config.status; then
1718 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1719 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1720 { (exit 1); exit 1; }; }
1721 fi
它先運行bootstrap.sh後運行。謝謝@panzer_jagdiron – user3515225
請告訴我FFWT的圖書館版本嗎?你使用tar.gz發佈的源代碼嗎? – hiropon
我正在使用fftw 2.1.5 – user3515225