just want work in LEO with Chinese! but always error under Ubuntu
::-- ZoomQuiet [DateTime(2007-04-27T09:23:14Z)] TableOfContents
1. Try Py2.5 for LEO
in Ubuntu 6.06.1 LTS at Dell LATITUDE D620
- just want usage LEO with good Cinese editing
- in my mind Tcl/Tk 8.5 fixed Chinese Problem so try..
1.1. install Tcl/Tk
base [http://amsn.sourceforge.net/wiki/tiki-index.php?page=Installation+Instructions#tcl/tk aMSN Installation Instructions]
usage lftp download cvs snapshots from ftp://ftp.tcl.tk/pub/tcl/nightly-cvs/
- and compiling them:
install tcl:
tcl/unix$ ./configure --enable-shared --enable-gcc $ make clean && make $ sudo make install $ sudo cp libtcl8.5.so /usr/lib/ ... tcl/unix$ sudo make install Installing libtcl8.5.so to /usr/local/lib/ Installing tclsh as /usr/local/bin/tclsh8.5 Installing tclConfig.sh to /usr/local/lib/ Installing libtclstub8.5.a to /usr/local/lib/ Installing message catalogs Creating msgs Making directory /usr/local/lib/tcl8.5/opt0.4 Making directory /usr/local/lib/tcl8.5/http1.0 Making directory /usr/local/lib/tcl8.5/encoding Installing header files Installing library files to /usr/local/lib/tcl8.5 Installing library http1.0 directory Installing package http 2.5.3 as a Tcl Module Installing library opt0.4 directory Installing package msgcat 1.4.2 as a Tcl Module Installing package tcltest 2.3a1 as a Tcl Module Installing package platform 1.0.2 as a Tcl Module Installing package platform::shell 1.1.3 as a Tcl Module Installing library encoding directory Installing and cross-linking top-level (.1) docs Installing and cross-linking C API (.3) docs Installing and cross-linking command (.n) docs
install tk:
/tk/unix$ ./configure --enable-xft $ make clean && make $ sudo make install $ sudo cp libtk8.5.so /usr/lib/ ... tk/unix$ sudo make install Warning: tkStubInit.c may be out of date. Developers may want to run "make genstubs" to regenerate. This warning can be safely ignored, do not report as a bug! Warning: ttkStubInit.c may be out of date. Developers may want to run "make genstubs" to regenerate. This warning can be safely ignored, do not report as a bug! Making directory /usr/local/lib/tk8.5 Creating package index /usr/local/lib/tk8.5/pkgIndex.tcl Installing libtk8.5.so to /usr/local/lib/ Installing wish as /usr/local/bin/wish8.5 Installing tkConfig.sh to /usr/local/lib/ Installing libtkstub8.5.a to /usr/local/lib/ Making directory /usr/local/lib/tk8.5/images Making directory /usr/local/lib/tk8.5/msgs Making directory /usr/local/lib/tk8.5/ttk Installing header files Installing library files to /usr/local/lib/tk8.5 Installing library ttk directory Installing library images directory Installing translation directory Making directory /usr/local/lib/tk8.5/demos Making directory /usr/local/lib/tk8.5/demos/images Installing demos to /usr/local/lib/tk8.5/demos/ Installing demo images Installing and cross-linking top-level (.1) docs Installing and cross-linking C API (.3) docs
- and compiling them:
All OK
1.2. install Python2.5
base [http://blog.csdn.net/fyzhao/archive/2006/12/27/1464614.aspx Install Python2.5 (including tkinter)]
1.3. try IDLE
1.4. try LEO
1.4.1. always die