爲了在Chicken計劃中使用iup
,我需要提供一些依賴關係。其中之一是IM(imtoolkit),我在https://webserver2.tecgraf.puc-rio.br/cd/en/building.html上找到它,它將我鏈接到sourceforge。從那裏我可以下載源代碼來編譯自己,但沒有說明我可以找到如何做到這一點,並且沒有典型的結構,因爲沒有可運行的configure
。所以我決定使用預編譯版本。如何使用imtoolkit(預編譯/源)雞計劃?
當我運行sudo chicken-install iup
我得到的錯誤:
iup.c:17:16: fatal error: im.h: No such file or directory
compilation terminated.
所以我知道我需要IM的地方。它不在存儲庫中。在另一個question中,我使用chicken-install
瞭解了指定庫的路徑。這使得我嘗試使用CSC_OPTIONS=-I/home/xiaolong/development/ChickenScheme/IM/precompiled/include chicken-install -p ~/.chicken-scheme/eggs/ iup
的命令。但是,它仍然會導致相同的錯誤。
如何使用預編譯庫?
注意:如果我能找到有關如何操作的任何說明,我自己編譯它仍然不完全在圖片之外。
信息
- OS:是Xubuntu 16.04 64位
雞計劃版本從軟件倉庫安裝:
CHICKEN (c) 2008-2014, The Chicken Team (c) 2000-2007, Felix L. Winkelmann Version 4.9.0.1 (stability/4.9.0) (rev 8b3189b) linux-unix-gnu-x86-64 [ 64bit manyargs dload ptables ] bootstrapped 2014-06-07