timdoug's tidbits
2010-03-02
The Authoritative List of Packages Needed to Comile the WikiReader Firmware
This is for a 32-bit Ubuntu Karmic schroot (as outlined in doc/Using-schroot.text) on a 64-bit Debian stable installation.
flex
bison
ocaml
python
python-gd
gforth
guile-1.8
gawk
php5-cli
php5-sqlite
sqlite3
xfonts-utils
cjk-latex
dvipng
qt4-qmake
libqt4-dev
sudo
wget
[/wikireader]
permanent link
2009-10-18
How to set up the QT4 WikiReader simulator in Debian unstable
- Certain build scripts require Python 2.6, so find some way to install it
(Debian experimental, by source, etc.)
- apt-get install
libqt4-dev qt4-qmake netpbm gforth
build-essential php5-cli sqlite3
- git clone git://github.com/wikireader/wikireader.git
- cd wikireader/samo-lib/include
- Copy config.h-default to config.h and uncomment
the SIMULATOR #define.
- make qt4-simulator
- Breakage will occur. Be merciless with hackage!
I had to change a few lines of C and asm when functions weren't defined, etc.
- mkdir image work
- make DESTDIR=image WORKDIR=work XML_FILES=xml-file-samples/japanese_architects.xml index parse render combine (per doc/QuickStart)
- make DESTDIR=image install
- cp host-tools/qt4-simulator/bin/wikisim image/
- cd image
- ./wikisim
It will segfault soon enough, but you'll hopefully be able to get in
a bit of reading on Japanese architects. Good luck!
[/wikireader]
permanent link