添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
# 2 > I thought turtle was an default package of Python. I did "emerge tcl tk" tma ~ # python -V Python 2.4.4 $ locate turtle /var/cache/edb/dep/usr/portage/kde-base/kturtle-4.0.3 /var/cache/edb/dep/usr/portage/kde-base/kturtle-4.0.2 /var/cache/edb/dep/usr/portage/kde-base/kturtle-3.5.9 /var/cache/edb/dep/usr/portage/kde-base/kturtle-3.5.8 /home/cwc/ppython/backup/turtle.py~ # ???? /home/cwc/ppython/backup/turtle.pyc #??????????????? /home/cwc/ppython/turtle_2.py #my code /home/cwc/ppython/turtle_1.py #my code /home/cwc/Desktop/xturtle.zip #another form of turtle I have not tried /usr/lib/openoffice/program/python-core-2.3.4/lib/lib-tk/turtle.py /usr/portage/metadata/cache/kde-base/kturtle-4.0.3 /usr/portage/metadata/cache/kde-base/kturtle-4.0.2 /usr/portage/metadata/cache/kde-base/kturtle-3.5.9 /usr/portage/metadata/cache/kde-base/kturtle-3.5.8 /usr/portage/kde-base/kturtle /usr/portage/kde-base/kturtle/metadata.xml /usr/portage/kde-base/kturtle/kturtle-3.5.9.ebuild /usr/portage/kde-base/kturtle/kturtle-4.0.3.ebuild /usr/portage/kde-base/kturtle/kturtle-4.0.2.ebuild /usr/portage/kde-base/kturtle/kturtle-3.5.8.ebuild /usr/portage/kde-base/kturtle/Manifest /usr/portage/kde-base/kturtle/ChangeLog
_________________
Without diversity there can be no evolution:) [ Colour Code : set unset ] [ Legend : Left column  (U) - USE flags from make.conf              ] [        : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for dev-lang/python-2.4.4-r9 ]  + + berkdb       : Adds support for sys-libs/db (Berkeley DB for MySQL)  - - bootstrap    : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used during original system bootstrapping [make stage2]  - - build        : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used for creating build images and the first half of bootstrapping [make stage1]  - - doc          : Adds extra documentation (API, Javadoc, etc)  - - elibc_uclibc : <unknown>  - - examples     : Install examples, usually source code  + + gdbm         : Adds support for sys-libs/gdbm (GNU database libraries)  + + ipv6         : Adds support for IP version 6  + + ncurses      : Adds ncurses support (console display library)  - - nocxx        : Disable support for C++ (DON'T USE THIS UNLESS YOU KNOW WHAT YOU'RE DOING)  - - nothreads    : Disable threads (DON'T USE THIS UNLESS YOU KNOW WHAT YOU'RE DOING)  + + readline     : Enables support for libreadline, a GNU line-editing library that almost everyone wants  + + ssl          : Adds support for Secure Socket Layer connections  - - tk           : Adds support for Tk GUI toolkit  - - ucs2         : Enable byte size 2 unicode (DON'T USE THIS UNLESS YOU KNOW WHAT YOU'RE DOING) tma ~ # equery uses tk    [ Searching for packages matching tk... ] [ Colour Code : set unset ] [ Legend : Left column  (U) - USE flags from make.conf              ] [        : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for dev-lang/tk-8.4.18 ]  - - debug   : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml  - - threads : Adds threads support for various packages. Usually pthreads tma ~ # equery uses tcl [ Searching for packages matching tcl... ] [ Colour Code : set unset ] [ Legend : Left column  (U) - USE flags from make.conf              ] [        : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for dev-lang/tcl-8.4.18 ]  - - debug   : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml  - - threads : Adds threads support for various packages. Usually pthreads
_________________
Without diversity there can be no evolution:)
[ Colour Code : set unset ] [ Legend : Left column  (U) - USE flags from make.conf              ] [        : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for dev-lang/python-2.4.4-r9 ]  + + berkdb       : Adds support for sys-libs/db (Berkeley DB for MySQL)  - - bootstrap    : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used during original system bootstrapping [make stage2]  - - build        : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used for creating build images and the first half of bootstrapping [make stage1]  + + doc          : Adds extra documentation (API, Javadoc, etc)  - - elibc_uclibc : <unknown>  + + examples     : Install examples, usually source code  + + gdbm         : Adds support for sys-libs/gdbm (GNU database libraries)  + + ipv6         : Adds support for IP version 6  + + ncurses      : Adds ncurses support (console display library)  - - nocxx        : Disable support for C++ (DON'T USE THIS UNLESS YOU KNOW WHAT YOU'RE DOING)  - - nothreads    : Disable threads (DON'T USE THIS UNLESS YOU KNOW WHAT YOU'RE DOING)  + + readline     : Enables support for libreadline, a GNU line-editing library that almost everyone wants  + + ssl          : Adds support for Secure Socket Layer connections  + + tk           : Adds support for Tk GUI toolkit  - - ucs2         : Enable byte size 2 unicode (DON'T USE THIS UNLESS YOU KNOW WHAT YOU'RE DOING) Thanks! I tried to set tk in with dev-lang/python tcltk in add a line to /etc/portage/package.uses: this did not work! I found this on another thread. This did work: * USE="tk" in /etc/make.conf # Recompile python emerge --newuse python I'm ready for the turtle. I'd like to do some recursive designs to model recursion! Thanks, cwc
_________________
Without diversity there can be no evolution:)
qsmodo wrote:
https://wiki.gentoo.org/wiki/Tkinter suggests that you can either put dev-lang/python tk in package.use or emerge dev-lang/tk. The latter doesn't work.
If the Wiki page is wrong, please correct it there. Some people may read the Wiki and not see this thread, so posting the correction here is less effective than correcting it at the source. It looks like the last post in 2008 had the correct solution, and makes no mention of the incorrect one from the Wiki. Jump to: You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Designed by Kyle Manna © 2003; Style derived from original subSilver theme. | Hosting by Gossamer Threads Inc. © | Powered by phpBB 2.0.23-gentoo-p11 © 2001, 2002 phpBB Group
Privacy Policy