LINUX.ORG.RU

Проблема с установкой PyPanel (Debian 5.0)


0

0

Пишет

localhost:/home/crimi/Desktop/PyPanel-2.4# python setup.py build running build running build_ext building 'ppmodule' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_XFT=1 -DIMLIB2_FIX=1 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/python2.5 -c ppmodule.c -o build/temp.linux-x86_64-2.5/ppmodule.o -Wall ppmodule.c:37:25: error: X11/Xft/Xft.h: Нет такого файла или каталога ppmodule.c:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token ppmodule.c:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token ppmodule.c: In function ‘_ppfont’: ppmodule.c:71: error: ‘XftColor’ undeclared (first use in this function) ppmodule.c:71: error: (Each undeclared identifier is reported only once ppmodule.c:71: error: for each function it appears in.) ppmodule.c:71: error: expected ‘;’ before ‘xftcol’ ppmodule.c:72: error: ‘XGlyphInfo’ undeclared (first use in this function) ppmodule.c:72: error: expected ‘;’ before ‘ginfo’ ppmodule.c:73: error: ‘XRenderColor’ undeclared (first use in this function) ppmodule.c:73: error: expected ‘;’ before ‘rcol’ ppmodule.c:91: warning: implicit declaration of function ‘XftTextExtentsUtf8’ ppmodule.c:91: error: ‘xf’ undeclared (first use in this function) ppmodule.c:91: error: ‘ginfo’ undeclared (first use in this function) ppmodule.c:101: error: ‘rcol’ undeclared (first use in this function) ppmodule.c:105: warning: implicit declaration of function ‘XftColorAllocValue’ ppmodule.c:105: error: ‘xftcol’ undeclared (first use in this function) ppmodule.c:106: warning: implicit declaration of function ‘XftDrawStringUtf8’ ppmodule.c:106: error: ‘draw’ undeclared (first use in this function) ppmodule.c:107: warning: implicit declaration of function ‘XftColorFree’ ppmodule.c: In function ‘_ppfontsize’: ppmodule.c:126: error: ‘XGlyphInfo’ undeclared (first use in this function) ppmodule.c:126: error: expected ‘;’ before ‘ginfo’ ppmodule.c:136: error: ‘xf’ undeclared (first use in this function) ppmodule.c:136: error: ‘ginfo’ undeclared (first use in this function) ppmodule.c: In function ‘_ppicon’: ppmodule.c:166: warning: pointer targets in passing argument 6 of ‘XGetGeometry’ differ in signedness ppmodule.c:166: warning: pointer targets in passing argument 7 of ‘XGetGeometry’ differ in signedness ppmodule.c:166: warning: pointer targets in passing argument 8 of ‘XGetGeometry’ differ in signedness ppmodule.c:166: warning: pointer targets in passing argument 9 of ‘XGetGeometry’ differ in signedness ppmodule.c: In function ‘_ppinit’: ppmodule.c:277: error: ‘xf’ undeclared (first use in this function) ppmodule.c:277: warning: implicit declaration of function ‘XftFontOpenXlfd’ ppmodule.c:279: warning: implicit declaration of function ‘XftFontOpenName’ ppmodule.c:283: error: ‘draw’ undeclared (first use in this function) ppmodule.c:283: warning: implicit declaration of function ‘XftDrawCreate’ error: command 'gcc' failed with exit status 1

Re: Проблема с установкой PyPanel (Debian 5.0)

всё разобрался надо было поставить

python-dev python-xlib libx11-dev libxft2 xlibs-dev libxft-dev

Slavenya ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.