2010-11-05 77 views
0

我嘗試安裝Open Solaris上FPC這樣做:如何在open open solaris中安裝freepascal + lazarus?

svn checkout http://svn.freepascal.org/svn/fpc/branches/fixes_2_4 fpcfixes2_4 

cd fpcfixes2_4 
gmake clean all install INSTALL_PREFIX=~ 

如下所述:http://wiki.lazarus.freepascal.org/Getting_Lazarus#Building_and_installing_Free_Pascal_in_UNIXe

但是我得到這個錯誤:

gmake: -iVSPTPSOTO: Command not found 
gmake: -iSP: Command not found 
gmake: -iTP: Command not found 
gmake: -iSO: Command not found 
gmake: -iTO: Command not found 
/usr/xpg4/bin/rm -f build-stamp.* 
/usr/xpg4/bin/rm -f base.build-stamp.* 
gmake compiler_cycle RELEASE=1 
gmake[1]: -iVSPTPSOTO: Command not found 
gmake[1]: Entering directory `/home/jill/basura/fpcfixes2_4' 
gmake[1]: -iSP: Command not found 
gmake[1]: -iTP: Command not found 
gmake[1]: -iSO: Command not found 
gmake[1]: -iTO: Command not found 
+0

如果您不介意從Linux或Windows進行交叉編譯,那麼CodeTyphon可能是Solaris開發的簡單中間解決方案。 http://www.pilotlogic.com/sitejoom/index.php?option=com_content&view=article&id=96&Itemid=148 – avra 2010-11-08 09:00:08

回答

1

的Free Pascal編譯器是寫在免費帕斯卡爾。這意味着您需要現有的Free Pascal Compiler二進制文件來編譯新版本。

儘管svn trunk(我不確定x86_64)是否支持Solaris/SPARC和Solaris/i386,但我們目前不提供任何二進制文件,因爲我們沒有真正的維護人員來處理這些平臺。另外,我認爲fixes分支只支持Solaris/SPARC。

由於沒有可用於Solaris的二進制引導程序編譯器,因此您必須在另一個平臺上交叉編譯初始版本。有關更多信息,請參閱http://www.stack.nl/~marcov/buildfaq.pdf

+0

+1 for buildfaq – 2010-11-09 20:28:14