From: "Alexey V. Novikov" <shader@yandex.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] И снова PyPanel
Date: Wed, 04 Jan 2006 11:06:57 +0300
Message-ID: <43BB8221.3020402@yandex.ru> (raw)
In-Reply-To: <43BB8144.5060800@yandex.ru>
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
>> <ft2build.h>"
>> /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 <ft2build.h>
> перед
> #include <Xft/Xft.h>
Забыл сказать, что это надо сделать в ppmodule.c где-то около 37-й строки
--
WBR, Alexey V. Novikov
----------------------
JID: alex-novikov at jabber dot ru
next prev parent reply other threads:[~2006-01-04 8:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-03 0:16 Владимир Гусев
2006-01-03 9:43 ` Eugene Prokopiev
2006-01-04 8:03 ` Alexey V. Novikov
2006-01-04 8:06 ` Alexey V. Novikov [this message]
2006-01-04 12:29 ` Владимир Гусев
2006-01-04 12:59 ` Eugene Prokopiev
2006-01-04 13:01 ` Владимир Гусев
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43BB8221.3020402@yandex.ru \
--to=shader@yandex.ru \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git