Eu tenho tentado compilar para as versões do Gegl. O primeiro deles é o 0.2.0:
Quando tento compilá-lo com make, recebo
make[4]: Entering directory '/media/34GB/Arquivos-de-Programas-Linux/gegl-0.2.0/docs/gallery' --[Updating sample compositions]-- ./clones.xml
(lt-gegl:7949): GEGL-gegl-node.c-WARNING **: Failed to set operation type gegl:text, using a passthrough op instead
(lt-gegl:7949): GEGL-gegl-extension-handler.c-WARNING **: No loader for extension ".jpg", falling back to "gegl:magick-load"
(lt-gegl:7949): GEGL-gegl-node.c-WARNING **: Failed to set operation type gegl:png-load, using a passthrough op instead
(lt-gegl:7949): GEGL-gegl-c.c-WARNING : gegl_node:GeglChantnop_c has no property named: 'path' /bin/bash: line 1: 7949 Segmentation fault GEGL_DEBUG_TIME=yes GEGL_SWAP=RAM GEGL_PATH=../../operations ../../bin/gegl clones.xml -o
echo clones.png | sed s?./??
>echo clones.png | sed s?./?? | sed -e s/png/txt/
make[5]: * [clones.png] Error 139 ./OpenRaster-00.xml(lt-gegl:7978): GEGL-gegl-node.c-WARNING **: Failed to set operation type gegl:text, using a passthrough op instead
(lt-gegl:7978): GEGL-gegl-extension-handler.c-WARNING **: No loader for extension ".jpg", falling back to "gegl:magick-load"
(lt-gegl:7978): GEGL-gegl-node.c-WARNING **: Failed to set operation type gegl:png-load, using a passthrough op instead
(lt-gegl:7978): GEGL-gegl-c.c-WARNING : gegl_node:GeglChantnop_c has no property named: 'path' /bin/bash: line 1: 7978 Segmentation fault GEGL_DEBUG_TIME=yes GEGL_SWAP=RAM GEGL_PATH=../../operations ../../bin/gegl OpenRaster-00.xml -o
echo OpenRaster-00.png | sed s?./??
>echo OpenRaster-00.png | sed s?./?? | sed -e s/png/txt/
make[5]: * [OpenRaster-00.png] Error 139 ./OpenRaster-01.xml(lt-gegl:8006): GEGL-gegl-node.c-WARNING **: Failed to set operation type gegl:text, using a passthrough op instead
(lt-gegl:8006): GEGL-gegl-extension-handler.c-WARNING **: No loader for extension ".png", falling back to "gegl:magick-load"
(lt-gegl:8006): GEGL-gegl-node.c-WARNING **: Failed to set operation type gegl:png-load, using a passthrough op instead
(lt-gegl:8006): GEGL-gegl-c.c-WARNING : gegl_node:GeglChantnop_c has no property named: 'path' /bin/bash: line 1: 8006 Segmentation fault GEGL_DEBUG_TIME=yes GEGL_SWAP=RAM GEGL_PATH=../../operations ../../bin/gegl OpenRaster-01.xml -o
echo OpenRaster-01.png | sed s?./??
>echo OpenRaster-01.png | sed s?./?? | sed -e s/png/txt/
make[5]: * [OpenRaster-01.png] Error 139 ./OpenRaster-04.xml(lt-gegl:8034): GEGL-gegl-node.c-WARNING **: Failed to set operation type gegl:text, using a passthrough op instead
(lt-gegl:8034): GEGL-gegl-extension-handler.c-WARNING **: No loader for extension ".jpg", falling back to "gegl:magick-load"
(lt-gegl:8034): GEGL-gegl-node.c-WARNING **: Failed to set operation type gegl:png-load, using a passthrough op instead
(lt-gegl:8034): GEGL-gegl-c.c-WARNING : gegl_node:GeglChantnop_c has no property named: 'path' /bin/bash: line 1: 8034 Segmentation fault GEGL_DEBUG_TIME=yes GEGL_SWAP=RAM GEGL_PATH=../../operations ../../bin/gegl OpenRaster-04.xml -o
echo OpenRaster-04.png | sed s?./??
>echo OpenRaster-04.png | sed s?./?? | sed -e s/png/txt/
make[5]: [OpenRaster-04.png] Error 139 make[4]: [images.stamp] Error 2 make[4]: Leaving directory/media/34GB/Arquivos-de-Programas-Linux/gegl-0.2.0/docs/gallery' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory
/media/34GB/Arquivos-de-Programas-Linux/gegl-0.2.0/docs/gallery' make[2]: * [all-recursive] Error 1 make[2]: Leaving directory/media/34GB/Arquivos-de-Programas-Linux/gegl-0.2.0/docs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/media/34GB/Arquivos-de-Programas-Linux/gegl-0.2.0' make: *** [all] Error 2
Se eu experimentar o Gegl-0.1.0 mais antigo eu recebo
make[2]: Entering directory
/media/34GB/Arquivos-de-Programas-Linux/gegl-0.1.0/bin' /bin/bash ../libtool --mode=link gcc -pthread -I/media/34GB/Arquivos-de-Programas-Linux/Glib-2.28/include/glib-2.0 -I/media/34GB/Arquivos-de-Programas-Linux/Glib-2.28/lib/glib-2.0/include -I/media/34GB/Arquivos-de-Programas-Linux/Babl-0.1.10/include/babl-0.1 -g -O2 -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -mmmx -msse ../gegl/libgegl-0.0.la -pthread -Wl,--export-dynamic -L/media/34GB/Arquivos-de-Programas-Linux/Glib-2.28/lib -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -L/media/34GB/Arquivos-de-Programas-Linux/Babl-0.1.10/lib -lbabl-0.1 -lm -o gegl gegl.o gegl-options.o gegl-path-smooth.o
babl_total_usecs' collect2: ld returned 1 exit status make[2]: * [gegl] Error 1 make[2]: Leaving directory
libtool: link: gcc -pthread -I/media/34GB/Arquivos-de-Programas-Linux/Glib-2.28/include/glib-2.0 -I/media/34GB/Arquivos-de-Programas-Linux/Glib-2.28/lib/glib-2.0/include -I/media/34GB/Arquivos-de-Programas-Linux/Babl-0.1.10/include/babl-0.1 -g -O2 -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -mmmx -msse -pthread -Wl,--export-dynamic -o .libs/gegl gegl.o gegl-options.o gegl-path-smooth.o ../gegl/.libs/libgegl-0.0.so -L/media/34GB/Arquivos-de-Programas-Linux/Glib-2.28/lib -L/media/34GB/Arquivos-de-Programas-Linux/Zlib-1.2.8//lib -L/media/34GB/Arquivos-de-Programas-Linux/Babl-0.1.10/lib /media/34GB/Arquivos-de-Programas-Linux/Glib-2.28/lib/libgio-2.0.so -lresolv -lz /media/34GB/Arquivos-de-Programas-Linux/Glib-2.28/lib/libgobject-2.0.so /media/34GB/Arquivos-de-Programas-Linux/Glib-2.28/lib/libgmodule-2.0.so /media/34GB/Arquivos-de-Programas-Linux/Glib-2.28/lib/libgthread-2.0.so -lpthread /media/34GB/Arquivos-de-Programas-Linux/Glib-2.28/lib/libglib-2.0.so -lrt /media/34GB/Arquivos-de-Programas-Linux/Babl-0.1.10/lib/libbabl-0.1.so -ldl -lm -pthread -Wl,-rpath -Wl,/media/34GB/Arquivos-de-Programas-Linux/Gegl-0.1.0/lib -Wl,-rpath -Wl,/media/34GB/Arquivos-de-Programas-Linux/Glib-2.28/lib -Wl,-rpath -Wl,/media/34GB/Arquivos-de-Programas-Linux/Babl-0.1.10/lib ../gegl/.libs/libgegl-0.0.so: undefined reference to/media/34GB/Arquivos-de-Programas-Linux/gegl-0.1.0/bin' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/media/34GB/Arquivos-de-Programas-Linux/gegl-0.1.0' make: * [all] Error 2
Se eu tentar o último Gegl-0.3.28, ele reclama durante a execução do configure, da falta de presença do Babl 0.1.42. Ok, eu baixei, configurei. Quando eu emito um comando make recebi:
ake[4]: Entering directory
/media/34GB/Arquivos-de-Programas-Linux/babl-0.1.42/babl' CC libbabl_0.1_la-babl.lo CC libbabl_0.1_la-babl-cache.lo CC libbabl_0.1_la-babl-component.lo CC libbabl_0.1_la-babl-conversion.lo CC libbabl_0.1_la-babl-core.lo CC libbabl_0.1_la-babl-db.lo CC libbabl_0.1_la-babl-extension.lo CC libbabl_0.1_la-babl-fish-path.lo CC libbabl_0.1_la-babl-fish-reference.lo CC libbabl_0.1_la-babl-fish-simple.lo CC libbabl_0.1_la-babl-fish.lo CC libbabl_0.1_la-babl-format.lo CC libbabl_0.1_la-babl-hash-table.lo CC libbabl_0.1_la-babl-icc.lo babl-icc.c:1029: error: redefinition of typedef ‘UTF32’ babl-icc.c:613: note: previous declaration of ‘UTF32’ was here babl-icc.c:1030: error: redefinition of typedef ‘UTF16’ babl-icc.c:614: note: previous declaration of ‘UTF16’ was here babl-icc.c:1031: error: redefinition of typedef ‘UTF8’ babl-icc.c:615: note: previous declaration of ‘UTF8’ was here make[4]: *** [libbabl_0.1_la-babl-icc.lo] Error 1 make[4]: Leaving directory
/media/34GB/Arquivos-de-Programas-Linux/babl-0.1.42/babl' make[3]: * [all-recursive] Error 1 make[3]: Leaving directory/media/34GB/Arquivos-de-Programas-Linux/babl-0.1.42/babl' make[2]: *** [all] Error 2 make[2]: Leaving directory
/media/34GB/Arquivos-de-Programas-Linux/babl-0.1.42/babl' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory '/media/34GB/Arquivos-de-Programas-Linux/babl-0.1.42' make: *** [all] Error 2
Portanto, não posso compilar nenhuma das três versões. Dois por motivos diretos, um indiretamente. O babl parece ser algo sobre definições conflitantes de coisas declaradas em diferentes arquivos de cabeçalho. Mas como eu resolvo isso?
O problema gegl 0.2 parece estar relacionado a png e xml. Pensei em desabilitar o suporte a libpng no configure, mas precisarei dele no futuro (provavelmente).
O gegl 0.1.0 parece não conseguir encontrar algo na biblioteca de um babl, mas como eu o resolvo?
Eu gostaria de receber sugestões para resolver qualquer um desses problemas.