[Starkit] [Fwd: tclkit on Nokia 770 with Internet Tablet 2006
Edition]
Steve Landers
steve at digitalsmarties.com
Mon Aug 28 08:57:06 CEST 2006
Reinhard Fobbe writes ...
> Nokia 770 device is not binary
> compatible with the 2005 version.
> Please also see the comments at
> http://www.maemo.org/maemowiki/ApplicationCatalog2006.
>
> Therefore I built tclkit for OS2006. It seemed to run fine, but a
> "package require Tk" triggered this
> error message: error writing "file4": no space left on device
>
> The Nokia has only 512 free blocks under /tmp and that is not
> enough to
> unpack the
> libtk8.5.so which has more then 1MByte.
>
> I changed the tclkit in the following way to work around this problem:
> - removed the itcl and tk package completely from tclkit and store it
> under /usr/tcl/lib
> - added /usr/tcl/lib to auto_path to access external package s
>
> That seems to work fine.
>
> Please tell me if this the right approach or not. On one side it
> violates the rule "just copy to install",
> but on the othe side it avoids frequent writes on the memory card
> (every
> tk start writes 1 MB on the flash card).
I took a different approach - I changed Tcl to write into /var/tmp
which has more free space, but even that is an interim measure.
Ultimately I'd like to build a non-starkit Tclkit (so to speak) for
the N770. Specifically, a build of Tcl/Tk with all of the components
of Tclkit but stored as multiple files in the file system. This would
be more appropriate for the N770 - not just for the RAM write issue
you mention but also because it will allow libraries to be truly
shared amongst instances of Tclkit.
I've been documenting progress at https://www.digitalsmarties.com/
forum/tcl770. You can also find there Meredydd Luff's patches for
better Hildon integration.
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.equi4.com/pipermail/starkit/attachments/20060828/1303d584/attachment.htm
More information about the Starkit
mailing list