Python论坛  - 讨论区

标题:[python-chinese] 安装图像处理库PIL,总是找不到TCL/TK,有没有同样经验的朋友?

2007年12月17日 星期一 18:50

kun xu coonxu在gmail.com
星期一 十二月 17 18:50:46 HKT 2007

ÎÒ»úÆ÷Àï×Ô´øÁË£¬tclºÍtk£¬ÓÃrpm -q²éѯ£¬¶¼ÄÜ¿´µ½½á¹û
$rpm -q tcl
tcl-8.3.5-92.2

$ rpm -q tk
tk-8.3.5-92.2

µ«¾ÍÊDz»±»PILÕâ¸ö¿âËùÈÏ¡£ÓÐÅöµ½¹ýͬÑùÎÊÌâµÄÅóÓÑûÓУ¿¸ÃÈ¥ÏÂÔØÊ²Ã´°ü²ÅÄÜ¸ã¶¨ÄØ£¿

Ö´ÐУº
python setup.py build_ext -i
½á¹ûÏÔʾ£º

running build_ext
--------------------------------------------------------------------
PIL 1.1.6 BUILD SUMMARY
--------------------------------------------------------------------
version       1.1.6
platform      linux2 2.5 (r25:51908, Dec 17 2007, 11:20:22)
              [GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-42)]
--------------------------------------------------------------------
*** TKINTER support not available
--- JPEG support ok
--- ZLIB (PNG/ZIP) support ok
*** FREETYPE2 support not available

*** Warning: zlib 1.1.4 may contain a security vulnerability.
*** Consider upgrading to zlib 1.2.3 or newer.
*** See: http://www.kb.cert.org/vuls/id/238678
         http://www.kb.cert.org/vuls/id/680620
         http://www.gzip.org/zlib/advisory-2002-03-11.txt

--------------------------------------------------------------------
To add a missing option, make sure you have the required
library, and set the corresponding ROOT variable in the
setup.py script.

To check the build, run the selftest.py script.
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071217/339ae1c0/attachment.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年12月17日 星期一 19:21

snake deleteobject在gmail.com
星期一 十二月 17 19:21:17 HKT 2007

ÎÒÏ룬ÄãµÄtcl&tk;°ü¿ÉÄܲ»ÊÇfor devµÄ°É
°²×°¿ª·¢°ü²ÅÐÐ

2007-12-17 



snake 



·¢¼þÈË£º kun xu 
·¢ËÍʱ¼ä£º 2007-12-17  18:51:55 
ÊÕ¼þÈË£º python-chinese在lists.python.cn 
³­ËÍ£º 
Ö÷Ì⣺ [python-chinese] °²×°Í¼Ïñ´¦Àí¿âPIL£¬×ÜÊÇÕÒ²»µ½TCL/TK£¬ÓÐûÓÐͬÑù¾­ÑéµÄÅóÓÑ£¿ 
 
ÎÒ»úÆ÷Àï×Ô´øÁË£¬tclºÍtk£¬ÓÃrpm -q²éѯ£¬¶¼ÄÜ¿´µ½½á¹û
$rpm -q tcl
tcl-8.3.5-92.2

$ rpm -q tk
tk-8.3.5-92.2

µ«¾ÍÊDz»±»PILÕâ¸ö¿âËùÈÏ¡£ÓÐÅöµ½¹ýͬÑùÎÊÌâµÄÅóÓÑûÓУ¿¸ÃÈ¥ÏÂÔØÊ²Ã´°ü²ÅÄÜ¸ã¶¨ÄØ£¿

Ö´ÐУº
python setup.py build_ext -i 
½á¹ûÏÔʾ£º

running build_ext 
--------------------------------------------------------------------
PIL 1.1.6 BUILD SUMMARY
--------------------------------------------------------------------
version       1.1.6
platform      linux2 2.5 (r25:51908, Dec 17 2007, 11:20:22)
              [GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-42)]
--------------------------------------------------------------------
*** TKINTER support not available
--- JPEG support ok 
--- ZLIB (PNG/ZIP) support ok
*** FREETYPE2 support not available

*** Warning: zlib 1.1.4 may contain a security vulnerability.
*** Consider upgrading to zlib 1.2.3 or newer.
*** See: http://www.kb.cert.org/vuls/id/238678
         http://www.kb.cert.org/vuls/id/680620
         http://www.gzip.org/zlib/advisory-2002-03-11.txt 

--------------------------------------------------------------------
To add a missing option, make sure you have the required
library, and set the corresponding ROOT variable in the
setup.py script.

To check the build, run the selftest.py script.
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071217/d28959da/attachment.htm 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年12月17日 星期一 21:16

kun xu coonxu在gmail.com
星期一 十二月 17 21:16:56 HKT 2007

µÄÈ·ÊÇûװdevelµÄ°üµ¼Öµģ¬Ð»Ð»snakeͬѧ¡£
²»¹ý¸Õ²ÅÓÖ·¢ÏÖÒ»¸öÎÊÌ⣬ÎÒÔÚÎÒ»úÆ÷ÉÏ×°ÁËpython2.5£¬Ô­À´»úÆ÷°²×°Ê±×Ô´øµÄpython2.2.3»¹ÔÚ£¬±È½ÏÓÐȤµÄÎÊÌâÓÖ³öÏÖÁË¡£
ÎÒÓÃpython2.2µÄÃüÁî¿ÉÒÔ±àÒë
python 2.2 setup.py build_ext -i

ÓÃpython(ϵͳÒѾ­½«python2.5Ö¸ÏòÁËpython)£¬±àÒë¾Í»á³ö´í¡£Ë­ÄܰïÎÒÖ¸³öÎÊÌâÔÚÄÄÀ
¶øÊÂʵÉÏtkinterÕâ¸ö°ü£¬ÎÒÒѾ­ÓÃrpm´òÉÏÁË£¨ÀÏʵ˵£¬ÎªÁË×°Õ⼸¸ö°ü£¬ÓÖ×°Á˽üÊ®¸örpmµÄ°ü£¬ºÃÐÁ¿à£©

[kunp在test Imaging-1.1.6]$ python setup.py build_ext -i
running build_ext
--------------------------------------------------------------------
PIL 1.1.6 BUILD SUMMARY
--------------------------------------------------------------------
version       1.1.6
platform      linux2 2.5 (r25:51908, Dec 17 2007, 11:20:22)
              [GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-42)]
--------------------------------------------------------------------
*** TKINTER support not available
--- JPEG support ok
--- ZLIB (PNG/ZIP) support ok
--- FREETYPE2 support ok

*** Warning: zlib 1.1.4 may contain a security vulnerability.
*** Consider upgrading to zlib 1.2.3 or newer.
*** See: http://www.kb.cert.org/vuls/id/238678
         http://www.kb.cert.org/vuls/id/680620
         http://www.gzip.org/zlib/advisory-2002-03-11.txt

--------------------------------------------------------------------
To add a missing option, make sure you have the required
library, and set the corresponding ROOT variable in the
setup.py script.

To check the build, run the selftest.py script.


ÔÚ07-12-17£¬snake <deleteobject在gmail.com> дµÀ£º
>
>  ÎÒÏ룬ÄãµÄtcl&tk;°ü¿ÉÄܲ»ÊÇfor devµÄ°É
> °²×°¿ª·¢°ü²ÅÐÐ
>
> 2007-12-17
> ------------------------------
>  snake
> ------------------------------
>  *·¢¼þÈË£º* kun xu
> *·¢ËÍʱ¼ä£º* 2007-12-17  18:51:55
> *ÊÕ¼þÈË£º* python-chinese在lists.python.cn
> *³­ËÍ£º*
> *Ö÷Ì⣺* [python-chinese] °²×°Í¼Ïñ´¦Àí¿âPIL£¬×ÜÊÇÕÒ²»µ½TCL/TK£¬ÓÐûÓÐͬÑù¾­ÑéµÄÅóÓÑ£¿
>  ÎÒ»úÆ÷Àï×Ô´øÁË£¬tclºÍtk£¬ÓÃrpm -q²éѯ£¬¶¼ÄÜ¿´µ½½á¹û
> $rpm -q tcl
> tcl-8.3.5-92.2
>
> $ rpm -q tk
> tk-8.3.5-92.2
>
> µ«¾ÍÊDz»±»PILÕâ¸ö¿âËùÈÏ¡£ÓÐÅöµ½¹ýͬÑùÎÊÌâµÄÅóÓÑûÓУ¿¸ÃÈ¥ÏÂÔØÊ²Ã´°ü²ÅÄÜ¸ã¶¨ÄØ£¿
>
> Ö´ÐУº
> python setup.py build_ext -i
> ½á¹ûÏÔʾ£º
>
> running build_ext
> --------------------------------------------------------------------
> PIL 1.1.6 BUILD SUMMARY
> --------------------------------------------------------------------
> version       1.1.6
> platform      linux2 2.5 (r25:51908, Dec 17 2007, 11:20:22)
>               [GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-42)]
> --------------------------------------------------------------------
> *** TKINTER support not available
> --- JPEG support ok
> --- ZLIB (PNG/ZIP) support ok
> *** FREETYPE2 support not available
>
> *** Warning: zlib 1.1.4 may contain a security vulnerability.
> *** Consider upgrading to zlib 1.2.3 or newer.
> *** See: http://www.kb.cert.org/vuls/id/238678
>          http://www.kb.cert.org/vuls/id/680620
>          http://www.gzip.org/zlib/advisory-2002-03-11.txt
>
> --------------------------------------------------------------------
> To add a missing option, make sure you have the required
> library, and set the corresponding ROOT variable in the
> setup.py script.
>
> To check the build, run the selftest.py script.
>
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071217/591da1f5/attachment.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年12月17日 星期一 21:25

kun xu coonxu在gmail.com
星期一 十二月 17 21:25:41 HKT 2007

ÖØÐ¿´ÁËһϣ¬Ô­À´python2.5ÒªÇótclºÍtk±ØÐëÊÇ8.4ÒÔÉϰ汾£¬¶øÕâ´Î°²×°µÄ°æ±¾Ö»ÓÐ8.3.5¶øÒÑ£¬Ô­À´Èç´Ë¡£

ÔÚ07-12-17£¬kun xu <coonxu在gmail.com> дµÀ£º
>
> µÄÈ·ÊÇûװdevelµÄ°üµ¼Öµģ¬Ð»Ð»snakeͬѧ¡£
> ²»¹ý¸Õ²ÅÓÖ·¢ÏÖÒ»¸öÎÊÌ⣬ÎÒÔÚÎÒ»úÆ÷ÉÏ×°ÁËpython2.5£¬Ô­À´»úÆ÷°²×°Ê±×Ô´øµÄpython2.2.3»¹ÔÚ£¬±È½ÏÓÐȤµÄÎÊÌâÓÖ³öÏÖÁË¡£
> ÎÒÓÃpython2.2µÄÃüÁî¿ÉÒÔ±àÒë
> python 2.2 setup.py build_ext -i
>
> ÓÃpython(ϵͳÒѾ­½«python2.5Ö¸ÏòÁËpython)£¬±àÒë¾Í»á³ö´í¡£Ë­ÄܰïÎÒÖ¸³öÎÊÌâÔÚÄÄÀ
> ¶øÊÂʵÉÏtkinterÕâ¸ö°ü£¬ÎÒÒѾ­ÓÃrpm´òÉÏÁË£¨ÀÏʵ˵£¬ÎªÁË×°Õ⼸¸ö°ü£¬ÓÖ×°Á˽üÊ®¸örpmµÄ°ü£¬ºÃÐÁ¿à£©
>
> [kunp在test Imaging-1.1.6]$ python setup.py build_ext -i
> running build_ext
> --------------------------------------------------------------------
> PIL 1.1.6 BUILD SUMMARY
> --------------------------------------------------------------------
> version       1.1.6
> platform      linux2 2.5 (r25:51908, Dec 17 2007, 11:20:22)
>               [GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-42)]
> --------------------------------------------------------------------
> *** TKINTER support not available
> --- JPEG support ok
> --- ZLIB (PNG/ZIP) support ok
> --- FREETYPE2 support ok
>
> *** Warning: zlib 1.1.4 may contain a security vulnerability.
> *** Consider upgrading to zlib 1.2.3 or newer.
> *** See: http://www.kb.cert.org/vuls/id/238678
>          http://www.kb.cert.org/vuls/id/680620
>          http://www.gzip.org/zlib/advisory-2002-03-11.txt
>
> --------------------------------------------------------------------
> To add a missing option, make sure you have the required
> library, and set the corresponding ROOT variable in the
> setup.py script.
>
> To check the build, run the selftest.py script.
>
>
> ÔÚ07-12-17£¬snake <deleteobject在gmail.com> дµÀ£º
> >
> >  ÎÒÏ룬ÄãµÄtcl&tk;°ü¿ÉÄܲ»ÊÇfor devµÄ°É
> > °²×°¿ª·¢°ü²ÅÐÐ
> >
> > 2007-12-17
> > ------------------------------
> >  snake
> > ------------------------------
> >  *·¢¼þÈË£º* kun xu
> > *·¢ËÍʱ¼ä£º* 2007-12-17  18:51:55
> > *ÊÕ¼þÈË£º* python-chinese在lists.python.cn
> > *³­ËÍ£º*
> > *Ö÷Ì⣺* [python-chinese] °²×°Í¼Ïñ´¦Àí¿âPIL£¬×ÜÊÇÕÒ²»µ½TCL/TK£¬ÓÐûÓÐͬÑù¾­ÑéµÄÅóÓÑ£¿
> >  ÎÒ»úÆ÷Àï×Ô´øÁË£¬tclºÍtk£¬ÓÃrpm -q²éѯ£¬¶¼ÄÜ¿´µ½½á¹û
> > $rpm -q tcl
> > tcl-8.3.5-92.2
> >
> > $ rpm -q tk
> > tk-8.3.5-92.2
> >
> > µ«¾ÍÊDz»±»PILÕâ¸ö¿âËùÈÏ¡£ÓÐÅöµ½¹ýͬÑùÎÊÌâµÄÅóÓÑûÓУ¿¸ÃÈ¥ÏÂÔØÊ²Ã´°ü²ÅÄÜ¸ã¶¨ÄØ£¿
> >
> > Ö´ÐУº
> > python setup.py build_ext -i
> > ½á¹ûÏÔʾ£º
> >
> > running build_ext
> > --------------------------------------------------------------------
> > PIL 1.1.6 BUILD SUMMARY
> > --------------------------------------------------------------------
> > version       1.1.6
> > platform      linux2 2.5 (r25:51908, Dec 17 2007, 11:20:22)
> >               [GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-42)]
> > --------------------------------------------------------------------
> > *** TKINTER support not available
> > --- JPEG support ok
> > --- ZLIB (PNG/ZIP) support ok
> > *** FREETYPE2 support not available
> >
> > *** Warning: zlib 1.1.4 may contain a security vulnerability.
> > *** Consider upgrading to zlib 1.2.3 or newer.
> > *** See: http://www.kb.cert.org/vuls/id/238678
> >          http://www.kb.cert.org/vuls/id/680620
> >          http://www.gzip.org/zlib/advisory-2002-03-11.txt
> >
> > --------------------------------------------------------------------
> > To add a missing option, make sure you have the required
> > library, and set the corresponding ROOT variable in the
> > setup.py script.
> >
> > To check the build, run the selftest.py script.
> >
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese在lists.python.cn
> > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > Unsubscribe: send unsubscribe to
> > python-chinese-request在lists.python.cn
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> >
>
>
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071217/aec10efc/attachment-0001.htm 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号