2008/05/26

Details for comiplation of ebmodule-2.0 under ubuntu

RIMG0368
(Ricoh GRD Semnoz, Annecy, France)

滑雪滑到一半遇上大雪,多少會讓人覺得很掃興。
買的是一日券,少溜愈多虧愈多。
看著屋外一字排開的滑雪用具和空蕩蕩的桌椅,
還是快進到餐廳裡取暖吧。

****

I need to write it down here to prevent that some day my no-so-working brains forget how I did it. Actually it's not so complicated. Here's the steps:

1. download eb-3.1.tar.gz and compile it. You will find dynamic libraries under eb/.libs and zlib/.libs.
2. download ebmodule-2.0. Modify setup.py and ebmodule.c
2.1 change library path and include path to where you put eb libraries and eb headers.
2.2 modify ebmodule.c. The "static char" is not well written. So gcc will complain about it. You have to modify all the "static char".
2.3 compile! Voila. If everything goes fine, you can test your eblib.py or test.py.

I uploaded a modified version of ebmodule-2.0 (compiled python lib included) to my googlepage. You can find everything you need in the file to start programming with ebmodule. Have fun!


REF:
EB Library

DOWNLOAD:
compiled ebmodule-2.0 module and modified source codes

沒有留言:

張貼留言

中國 App 商業模式 -- 王泌

很有系統地介紹了中國近幾年比較大的幾十個 app,包含他們主要的商業模式,投資者,和特色在哪裡。對於想要了解中國 App (網路服務) 市場的人來說,會是個很好的入門書。雖然已經是兩三年前的資料了,這兩三年又有了很大的變化,但依然是個很好的起點。