[Gimp] Plugin freetype
Inviato: venerdì 25 luglio 2008, 18:11
Premetto che ho fatto un'intensa ricerca su google e sul forum (questo e quello di ubuntu.com) senza trovare niente. Ho la necessità di compilare il plugin freetype per gimp (http://www.gimphelp.org/freetype.html - ftp://ftp.gimp.org/pub/gimp/plug-ins/v2.0/freetype/).. Dopo aver scaricato ho dato il ./configure, ma mi dava un errore. Dopo alcune ricerche ho scoperto che bisognava installare il pacchetto libgimp2.0-dev. L'ho fatto, e stavolta il configure non mi ha riportato errori. Quindi ho dato il make, ma arriva ad un certo punto riportando alcuni errori (che se ho ben capito dipendono o dal compilatore o dal source che non va bene). Questo è l'intero output del make, che impiega meno di 20 secondi:
C'è ovviamente un errore nella compilazione, ma provo a dare comunque il make check come indicato nell'install, ma:
Quindi a questo punto non credo proprio mi convenga dare make install... Cosa sbaglio? Come posso rimediare?
Codice: Seleziona tutto
andrea@desktop:~/Scrivania/gimp-freetype-0.6$ make
make all-recursive
make[1]: Entering directory `/home/andrea/Scrivania/gimp-freetype-0.6'
Making all in src
make[2]: Entering directory `/home/andrea/Scrivania/gimp-freetype-0.6/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/gimp-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/freetype2 -DVERSION=\"@FREETYPE_VERSION@\" -DLOCALEDIR=\""/usr/local/share/locale"\" -DDATADIR=\""/usr/local/share/gimp-freetype"\" -g -O2 -Wall -MT about.o -MD -MP -MF ".deps/about.Tpo" \
-c -o about.o `test -f 'about.c' || echo './'`about.c; \
then mv -f ".deps/about.Tpo" ".deps/about.Po"; \
else rm -f ".deps/about.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/gimp-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/freetype2 -DVERSION=\"@FREETYPE_VERSION@\" -DLOCALEDIR=\""/usr/local/share/locale"\" -DDATADIR=\""/usr/local/share/gimp-freetype"\" -g -O2 -Wall -MT fontsel.o -MD -MP -MF ".deps/fontsel.Tpo" \
-c -o fontsel.o `test -f 'fontsel.c' || echo './'`fontsel.c; \
then mv -f ".deps/fontsel.Tpo" ".deps/fontsel.Po"; \
else rm -f ".deps/fontsel.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/gimp-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/freetype2 -DVERSION=\"@FREETYPE_VERSION@\" -DLOCALEDIR=\""/usr/local/share/locale"\" -DDATADIR=\""/usr/local/share/gimp-freetype"\" -g -O2 -Wall -MT fonttable.o -MD -MP -MF ".deps/fonttable.Tpo" \
-c -o fonttable.o `test -f 'fonttable.c' || echo './'`fonttable.c; \
then mv -f ".deps/fonttable.Tpo" ".deps/fonttable.Po"; \
else rm -f ".deps/fonttable.Tpo"; exit 1; \
fi
fonttable.c: In function ‘fonttable_dialog_create’:
fonttable.c:521: warning: pointer targets in assignment differ in signedness
fonttable.c:522: warning: pointer targets in passing argument 1 of ‘gtk_label_new’ differ in signedness
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/gimp-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/freetype2 -DVERSION=\"@FREETYPE_VERSION@\" -DLOCALEDIR=\""/usr/local/share/locale"\" -DDATADIR=\""/usr/local/share/gimp-freetype"\" -g -O2 -Wall -MT interface.o -MD -MP -MF ".deps/interface.Tpo" \
-c -o interface.o `test -f 'interface.c' || echo './'`interface.c; \
then mv -f ".deps/interface.Tpo" ".deps/interface.Po"; \
else rm -f ".deps/interface.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/gimp-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/freetype2 -DVERSION=\"@FREETYPE_VERSION@\" -DLOCALEDIR=\""/usr/local/share/locale"\" -DDATADIR=\""/usr/local/share/gimp-freetype"\" -g -O2 -Wall -MT main.o -MD -MP -MF ".deps/main.Tpo" \
-c -o main.o `test -f 'main.c' || echo './'`main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
else rm -f ".deps/main.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/gimp-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/freetype2 -DVERSION=\"@FREETYPE_VERSION@\" -DLOCALEDIR=\""/usr/local/share/locale"\" -DDATADIR=\""/usr/local/share/gimp-freetype"\" -g -O2 -Wall -MT matrix.o -MD -MP -MF ".deps/matrix.Tpo" \
-c -o matrix.o `test -f 'matrix.c' || echo './'`matrix.c; \
then mv -f ".deps/matrix.Tpo" ".deps/matrix.Po"; \
else rm -f ".deps/matrix.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/gimp-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/freetype2 -DVERSION=\"@FREETYPE_VERSION@\" -DLOCALEDIR=\""/usr/local/share/locale"\" -DDATADIR=\""/usr/local/share/gimp-freetype"\" -g -O2 -Wall -MT outline.o -MD -MP -MF ".deps/outline.Tpo" \
-c -o outline.o `test -f 'outline.c' || echo './'`outline.c; \
then mv -f ".deps/outline.Tpo" ".deps/outline.Po"; \
else rm -f ".deps/outline.Tpo"; exit 1; \
fi
outline.c: In function ‘walk_outline’:
outline.c:344: warning: initialization from incompatible pointer type
outline.c:345: warning: initialization from incompatible pointer type
outline.c:346: warning: initialization from incompatible pointer type
outline.c:348: warning: initialization from incompatible pointer type
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/gimp-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/freetype2 -DVERSION=\"@FREETYPE_VERSION@\" -DLOCALEDIR=\""/usr/local/share/locale"\" -DDATADIR=\""/usr/local/share/gimp-freetype"\" -g -O2 -Wall -MT render.o -MD -MP -MF ".deps/render.Tpo" \
-c -o render.o `test -f 'render.c' || echo './'`render.c; \
then mv -f ".deps/render.Tpo" ".deps/render.Po"; \
else rm -f ".deps/render.Tpo"; exit 1; \
fi
gcc -g -O2 -Wall -o freetype about.o fontsel.o fonttable.o interface.o main.o matrix.o outline.o render.o -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lfreetype -lz
make[2]: Leaving directory `/home/andrea/Scrivania/gimp-freetype-0.6/src'
Making all in po
make[2]: Entering directory `/home/andrea/Scrivania/gimp-freetype-0.6/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/andrea/Scrivania/gimp-freetype-0.6/po'
Making all in help
make[2]: Entering directory `/home/andrea/Scrivania/gimp-freetype-0.6/help'
Making all in en
make[3]: Entering directory `/home/andrea/Scrivania/gimp-freetype-0.6/help/en'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/andrea/Scrivania/gimp-freetype-0.6/help/en'
Making all in images
make[3]: Entering directory `/home/andrea/Scrivania/gimp-freetype-0.6/help/images'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/andrea/Scrivania/gimp-freetype-0.6/help/images'
make[3]: Entering directory `/home/andrea/Scrivania/gimp-freetype-0.6/help'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/andrea/Scrivania/gimp-freetype-0.6/help'
make[2]: Leaving directory `/home/andrea/Scrivania/gimp-freetype-0.6/help'
make[2]: Entering directory `/home/andrea/Scrivania/gimp-freetype-0.6'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/andrea/Scrivania/gimp-freetype-0.6'
make[1]: Leaving directory `/home/andrea/Scrivania/gimp-freetype-0.6'
andrea@desktop:~/Scrivania/gimp-freetype-0.6$
Codice: Seleziona tutto
andrea@desktop:~/Scrivania/gimp-freetype-0.6$ make check
Making check in src
make[1]: Entering directory `/home/andrea/Scrivania/gimp-freetype-0.6/src'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/andrea/Scrivania/gimp-freetype-0.6/src'
Making check in po
make[1]: Entering directory `/home/andrea/Scrivania/gimp-freetype-0.6/po'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/andrea/Scrivania/gimp-freetype-0.6/po'
Making check in help
make[1]: Entering directory `/home/andrea/Scrivania/gimp-freetype-0.6/help'
Making check in en
make[2]: Entering directory `/home/andrea/Scrivania/gimp-freetype-0.6/help/en'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/home/andrea/Scrivania/gimp-freetype-0.6/help/en'
Making check in images
make[2]: Entering directory `/home/andrea/Scrivania/gimp-freetype-0.6/help/images'
make[2]: Nothing to be done for `check'.
... e questa ultima riga si ripete per le directory rimanenti