2008/05/26

compilation of ebmodule succeeded!!


(Ricoh GRD Morbihan Tour 2008, Annecy du 21 au 24 mai)

一連好幾天,在Courrier和學校中間的大廣場有法國西北部旅遊推廣活動。除了很普通的旅遊簡介、講解和美食品嚐外;還有三十場的免費concert可以聽。這種好事法國人自然不會錯過。週六下午在臨時搭起的表演台前,坐滿也站滿了觀眾。有沒有發現?表演台看起來很像是台灣廟會搭的台子。

****

Last time, I said that ebmodule is not compatible with current eb library, so I turned to modify the sample code of eb library and use a separate execution file for both linux and windows. Though it works smoothly for me, putting an extra program in the package is not what I really want it to be. Several days ago, I thought: since ebmodule couldn't work with current eb library, why not try using the old eb library with which it says it compiles.

I downloaded eb library 0.3.1 from internet and compiled it. And then, I spent some time figuring out where to put eb headers / library in order to compile ebmodule module; and I modified ebmodule.c too because there're some errors about the static char arrays. Finally, the native python ebmodule module is GENERATED!! Well, what a success!! The README says it compiles with Python 1.5.2; however with Python 2.5, it can be compiled too.

After some simple tests of the ebmodule, I am quite happy with it. From now on, I think I can provide more support for EPWING files (to start with, maybe I can put in "strict match", "prefix match", and "postfix"; and ... word list too).



沒有留言:

張貼留言

乩童警探 一二集

接連看了兩集。第一集還算新鮮,到了第二集就看得比較慢了。一來,劇情雖然常會提到乩童,但真的跟乩童又沒有什麼關係。第二集後半大概就猜出是怎麼一回事了,但還是很享受在作者解釋的過程。只是前面舖陳有點久,而且人物有點多,再加上我是斷斷續續的看,看到後來都快忘了誰是誰,或是誰曾經出過什麼...