Tiny Core Linux

Tiny Core Extensions => TCE Talk => Extension requests => Topic started by: vinnie on November 14, 2011, 06:30:25 AM

Title: Anki
Post by: vinnie on November 14, 2011, 06:30:25 AM
i tried to start this python program but i fail.
After download the source (http://anki.googlecode.com/files/anki-1.2.9.tgz) and install dep (only sqlalchemy (http://prdownloads.sourceforge.net/sqlalchemy/SQLAlchemy-0.7.3.tar.gz?download) is missing in the repository) start ./anki require run of ./tools/build_ui.sh.
build_ui,sh works (readme don't say tha need to install perl) bunt anki and setup.py do not.
Title: Re: Anki
Post by: vinnie on November 17, 2011, 10:12:50 AM
No one can help me? I would try to learn some things with the help of this software
Title: Re: Anki
Post by: vinnie on January 11, 2012, 04:29:24 AM
trying again

Dep for build_ui.sh python.tcz pyqt.tcz perl5.tcz
http://pastebin.com/NqMHXC26 (http://pastebin.com/NqMHXC26)

Dep for anki (in addiction of build_ui.py dep) python-simplejson.tcz sqlalchemy (compiled by me) and pysqlite2.tcz (unnecessary but for surenes...)
http://pastebin.com/8efUx6tp (http://pastebin.com/8efUx6tp)
?!?!

Try to install:
http://pastebin.com/iCimtM7q (http://pastebin.com/iCimtM7q)

ok, i install python_setuptools-2.7.tcz (python-distribute.tcz is an alternative but have the same result)
http://pastebin.com/fpRnysuZ (http://pastebin.com/fpRnysuZ)

...And finally
http://pastebin.com/7Ngns3Dx (http://pastebin.com/7Ngns3Dx)
Darn!

Also I ask in the official forum, of course if anyone has any idea before
Title: Re: Anki
Post by: Juanito on January 11, 2012, 04:45:25 AM
Are you trying to compile anki or ankiqt?

From your logs, things start to fail with "No local packages or download links found for anki>=1.2.9"
Title: Re: Anki
Post by: AmatCoder on January 11, 2012, 11:01:52 AM
Juanito is right... You need compile anki before to compile ankiqt.

Sequence would be:
Code: [Select]
cd anki-1.2.9
./tools/build_ui.sh             <-You need bash.tcz
cd libanki
sudo python setup.py install     <-Here you compile anki
cd ..
sudo python setup.py install     <-Here you compile ankiqt

Note that you need qt-4.x-extended.tcz and qt-4.x-webkit.tcz in addition to your dependencies to run application.

  Regards.
Title: Re: Anki
Post by: vinnie on January 13, 2012, 05:20:39 AM
Many thanks to you! now work!

Quote
Code: [Select]
cd libanki
sudo python setup.py install     <-Here you compile anki
I had completely missed this part!

I do not know if the reason is I have documented wrong, but anyway I just have to do the package, which I will shortly.