我按照this教程中的說明構建了一個定製版本的Perl。爲什麼我的自定義Perl不會安裝到預期的目錄中?
我原來8步如下:
./Configure -d -Dprefix=/custom/perl
我這樣做,我做make
,make test
和make install
後。
然後我決定我想在/ opt/perl中使用Perl,所以我做了make clean
並重復了這個過程,並使用相應的目錄執行了第8步。仍然安裝到/ custom。然後我完全刪除了自定義並重新安裝了./Configure
步驟中的相應目錄。仍然安裝到/ custom。
我錯過了什麼?我希望Perl在/ opt not/custom。
嘗試'使distclean' – Kevin
這將工作。 'make distclean'確實刪除了'config.sh'和'Policy.sh'。 – ikegami