View Single Post
Old 02-10-2010, 08:46 AM   #3
thelude
Junior Member
thelude began at the beginning.
 
Posts: 2
Karma: 38
Join Date: Feb 2010
Device: Bebook mini (Hanlin V5)
Smile

Hi!
As i could not find any working LBook coolreader dictionary on the Net, I downloaded the largest Stardict dictionary 'The Collaborative International Dictionary of English' (some 180.000 english words) and had some intense fun converting it to the dictd format LBook needs .
For this I've downloaded a default Ubuntu, the makedict build files and quite a number of non-installed dependencies failing makedict to cmake, make and make install.
1) I downloaded colated dictionary and gunzipped it
2) I installed a number of dependencies, like
sudo apt-get install cmake
sudo apt-get install build-essential
sudo apt-get install gettext
sudo apt-get install libglib2.0-dev
sudo aptitude install --with-recommends zlib1g zlib1g-dev
sudo apt-get install expat-2.0.1
sudo apt-get install lib64expat1-dev
sudo apt-get install dictzip
Hope I did not forget to write down another one. You'll just have to see.
I doubt I really needed gettext, but what the hack. I am nu Ubuntu or Linux expert, I just tried so maybe the install thing is a bit overweight)
(this was done in a shell in Ubuntu, cut and paste each line).
3) I then extracted the dict.dz file using
dictzip -d dictd_www.dict.org_gcide.dict.dz
(nasty bugger, fooled me by the dz extention (also for dzip extention).
4) Then I followed installation instructions in the INSTALL file of makedict.
So go to the extracted build files for makedict. Then type
cmake (and wait for confirmation without errors)
make (and wait for confirmation without errors)
make install (and wait for confirmation without errors)
And tada, your own compiled binary and actually working makedict.
5) then finally go to extraction directory of this extracted .dict file. If you did not copy the compiled makedict to a searchable path just copy the excecutable to the location of the dict file. And now just do
./makedict dictd_www.dict.org_gcide.ifo -i stardict -o dictd
Ponder ponder, after a few long minutes the new .dict and .index files have been created in a new subfolder with the name of the dictionary itself.
That's a way to do it.
---------------------------------
The other way is to click on this link:
bebookmini.lsak.com/20100209_dictd_www.dict.org_gcide+makedict_convers ion_to_dictd_thelude.zip
Download it, extract it and place the .dict and .index file in a subfolder (you might need to create) on your SD card, named 'dict'.
Then it should all work.
Have fun!
Drop me a message here if you succeed and actually have fun with a working dictionary. Another plus for the Lbook (or my bebook Mini/hanlin v5)
TheLude
Ludo Sak
thelude is offline   Reply With Quote