LINUX.ORG.RU

gimp 2.0 не собирается... :(


0

0

привет всем!

качнул gimp-2.0, и:

if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../app -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -DG_LOG_DOMAIN=\"Gimp-Text\" -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -g -O2 -Wall -MT gimpfontlist.o -MD -MP -MF ".deps/gimpfontlist.Tpo" \ -c -o gimpfontlist.o `test -f 'gimpfontlist.c' || echo './'`gimpfontlist.c; \ then mv -f ".deps/gimpfontlist.Tpo" ".deps/gimpfontlist.Po"; \ else rm -f ".deps/gimpfontlist.Tpo"; exit 1; \ fi gimpfontlist.c: In function `gimp_font_list_font_desc_from_pattern': gimpfontlist.c:282: `FC_WIDTH' undeclared (first use in this function) gimpfontlist.c:282: (Each undeclared identifier is reported only once gimpfontlist.c:282: for each function it appears in.) gimpfontlist.c:286: `FC_WIDTH_NORMAL' undeclared (first use in this function) gimpfontlist.c:289: `FC_WIDTH_ULTRACONDENSED' undeclared (first use in this function) gimpfontlist.c:292: `FC_WIDTH_EXTRACONDENSED' undeclared (first use in this function) gimpfontlist.c:295: `FC_WIDTH_CONDENSED' undeclared (first use in this function) gimpfontlist.c:298: `FC_WIDTH_SEMICONDENSED' undeclared (first use in this function) gimpfontlist.c:301: `FC_WIDTH_SEMIEXPANDED' undeclared (first use in this function) gimpfontlist.c:304: `FC_WIDTH_EXPANDED' undeclared (first use in this function) gimpfontlist.c:307: `FC_WIDTH_EXTRAEXPANDED' undeclared (first use in this function) gimpfontlist.c:310: `FC_WIDTH_ULTRAEXPANDED' undeclared (first use in this function) gimpfontlist.c: In function `gimp_font_list_load_names': gimpfontlist.c:339: `FC_WIDTH' undeclared (first use in this function) make[3]: *** [gimpfontlist.o] Error 1 make[3]: Leaving directory `/home/zrv/src/gimp-2.0.0/app/text' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/zrv/src/gimp-2.0.0/app' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/zrv/src/gimp-2.0.0' make: *** [all] Error 2 sh-2.05b$

чтобы такое могло быть?

на всякий:

sh-2.05b$ fontconfig-config --version 1.0.1 sh-2.05b$

заранее благодарень :).

пардон, с форматированием ошибка:




Making all in text
make[3]: Entering directory `/home/zrv/src/gimp-2.0.0/app/text'
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../app -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -DG_LOG_DOMAIN=\"Gimp-Text\" -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -g -O2 -Wall -MT gimpfontlist.o -MD -MP -MF ".deps/gimpfontlist.Tpo" \
-c -o gimpfontlist.o `test -f 'gimpfontlist.c' || echo './'`gimpfontlist.c; \
then mv -f ".deps/gimpfontlist.Tpo" ".deps/gimpfontlist.Po"; \
else rm -f ".deps/gimpfontlist.Tpo"; exit 1; \
fi
gimpfontlist.c: In function `gimp_font_list_font_desc_from_pattern':
gimpfontlist.c:282: `FC_WIDTH' undeclared (first use in this function)
gimpfontlist.c:282: (Each undeclared identifier is reported only once
gimpfontlist.c:282: for each function it appears in.)
gimpfontlist.c:286: `FC_WIDTH_NORMAL' undeclared (first use in this function)
gimpfontlist.c:289: `FC_WIDTH_ULTRACONDENSED' undeclared (first use in this function)
gimpfontlist.c:292: `FC_WIDTH_EXTRACONDENSED' undeclared (first use in this function)
gimpfontlist.c:295: `FC_WIDTH_CONDENSED' undeclared (first use in this function)
gimpfontlist.c:298: `FC_WIDTH_SEMICONDENSED' undeclared (first use in this function)
gimpfontlist.c:301: `FC_WIDTH_SEMIEXPANDED' undeclared (first use in this function)
gimpfontlist.c:304: `FC_WIDTH_EXPANDED' undeclared (first use in this function)
gimpfontlist.c:307: `FC_WIDTH_EXTRAEXPANDED' undeclared (first use in this function)
gimpfontlist.c:310: `FC_WIDTH_ULTRAEXPANDED' undeclared (first use in this function)
gimpfontlist.c: In function `gimp_font_list_load_names':
gimpfontlist.c:339: `FC_WIDTH' undeclared (first use in this function)
make[3]: *** [gimpfontlist.o] Error 1
make[3]: Leaving directory `/home/zrv/src/gimp-2.0.0/app/text'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/zrv/src/gimp-2.0.0/app'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zrv/src/gimp-2.0.0'
make: *** [all] Error 2
sh-2.05b$
sh-2.05b$ fontconfig-config --version
1.0.1
sh-2.05b$



глянул gimpfontlist.c:


/* Use fontconfig directly for speed. We can use the pango stuff when/if
* fontconfig/pango get more efficient.
*/
#define USE_FONTCONFIG_DIRECTLY

#ifdef USE_FONTCONFIG_DIRECTLY
/* PangoFT2 is assumed, so we should have this in our cflags */
#include <fontconfig/fontconfig.h>
#endif




а в fontconfig.h соотв-но:


#define FC_WIDTH "width" /* Int */
...<skipped>
#define FC_WIDTH_ULTRACONDENSED 50
#define FC_WIDTH_EXTRACONDENSED 63
#define FC_WIDTH_CONDENSED 75
#define FC_WIDTH_SEMICONDENSED 87
#define FC_WIDTH_NORMAL 100
#define FC_WIDTH_SEMIEXPANDED 113
#define FC_WIDTH_EXPANDED 125
#define FC_WIDTH_EXTRAEXPANDED 150
#define FC_WIDTH_ULTRAEXPANDED 200





чего gimp'у надо ещё?

volonter
() автор топика
Ответ на: комментарий от volonter

скорее всего старый фонтконфиг. посмотри на странице гимпа рекомендации по версиям требуемых пакетов а потом сравни со своими

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