From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Comment: RFC 2476 MSA function at mx14.yandex.ru logged sender identity as: shader Message-ID: <43BB8221.3020402@yandex.ru> Date: Wed, 04 Jan 2006 11:06:57 +0300 From: "Alexey V. Novikov" User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: ru-ru, ru MIME-Version: 1.0 To: ALT Linux Community Subject: Re: [Comm] =?KOI8-R?Q?=E9_=D3=CE=CF=D7=C1_PyPanel?= References: <43BB8144.5060800@yandex.ru> In-Reply-To: <43BB8144.5060800@yandex.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux Community List-Id: ALT Linux Community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2006 08:07:51 -0000 Archived-At: List-Archive: List-Post: 04.01.2006 11:03, Alexey V. Novikov пишет: > 03.01.2006 3:16, Владимир Гусев пишет: > >> Здравствуйте! С Наступившим Новым Годом вас всех! >> >> Обнаружил в backports ожидаемый мной модуль module-python-xlib, нужный >> для сборки/инсталляции PyPanel. >> Установил этот модуль и попытался установить эту панель.. Вот что из >> этого вышло: >> >> [root@vova PyPanel-2.4]# python setup.py install >> running install >> running build >> running build_ext >> building 'ppmodule' extension >> creating build >> creating build/temp.linux-i686-2.3 >> i586-alt-linux-gcc -pthread -fno-strict-aliasing -DNDEBUG -pipe -Wall >> -O2 -march=i586 -mcpu=i686 -fPIC -DPIC -D_GNU_SOURCE -fPIC >> -DHAVE_XFT=1 -DIMLIB2_FIX=1 -I/usr/X11R6/include >> -I/usr/include/freetype2 -I/usr/include/python2.3 -c ppmodule.c -o >> build/temp.linux-i686-2.3/ppmodule.o -Wall >> In file included from /usr/X11R6/include/X11/Xft/Xft.h:41, >> from ppmodule.c:37: >> /usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' >> hasn't been included yet!" >> /usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always >> use macros to include FreeType header files." >> /usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:" >> /usr/include/freetype2/freetype/freetype.h:23:2: #error " #include >> " >> /usr/include/freetype2/freetype/freetype.h:24:2: #error " #include >> FT_FREETYPE_H" >> error: command 'i586-alt-linux-gcc' failed with exit status 1 >> >> Примечание: Дистрибутив Alt Linux Master 2.4, gcc 2.96/3.3, freetype 2 >> - 2.1.10 из backports, python (кроме вышеупомянутого модуля) - родной.. >> В чем может быть проблема? > > проблема во freetype из backports, а решение - добавить то что оно просит: > #include > перед > #include Забыл сказать, что это надо сделать в ppmodule.c где-то около 37-й строки -- WBR, Alexey V. Novikov ---------------------- JID: alex-novikov at jabber dot ru