我一直在尝试编译为 Gegl 版本。第一个是 0.2.0:
当我尝试用 make 编译它时,我收到
make[4]: 进入目录 `/media/34GB/Arquivos-de-Programas-Linux/gegl-0.2.0/docs/gallery' --[更新示例组合]-- ./clones.xml
(lt-gegl:7949):GEGL-gegl-node.c-警告**:无法设置操作类型gegl:text,而是使用直通操作
(lt-gegl:7949):GEGL-gegl-extension-handler.c-警告**:没有扩展名“.jpg”的加载程序,回退到“gegl:magick-load”
(lt-gegl:7949):GEGL-gegl-node.c-警告**:无法设置操作类型gegl:png-load,而是使用直通操作
(lt-gegl:7949):GEGL-gegl-cc-警告:gegl_node:GeglChantnop_c没有名为:'path'/bin/bash:第1行:7949分段错误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/
使[5]: *[克隆.png] 错误 139 ./OpenRaster-00.xml(lt-gegl:7978):GEGL-gegl-node.c-警告**:无法设置操作类型gegl:text,而是使用直通操作
(lt-gegl:7978):GEGL-gegl-extension-handler.c-警告**:没有扩展名“.jpg”的加载程序,回退到“gegl:magick-load”
(lt-gegl:7978):GEGL-gegl-node.c-警告**:无法设置操作类型gegl:png-load,而是使用直通操作
(lt-gegl:7978):GEGL-gegl-cc-警告:gegl_node:GeglChantnop_c没有名为:'path'/bin/bash:第1行:7978分段错误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] 错误 139 ./OpenRaster-01.xml(lt-gegl:8006): GEGL-gegl-node.c-警告 **: 无法设置操作类型 gegl:text,请改用直通操作
(lt-gegl:8006):GEGL-gegl-extension-handler.c-警告**:没有扩展名“.png”的加载程序,回退到“gegl:magick-load”
(lt-gegl:8006):GEGL-gegl-node.c-警告**:无法设置操作类型gegl:png-load,而是使用直通操作
(lt-gegl:8006): GEGL-gegl-cc-警告:gegl_node:GeglChantnop_c没有名为:'path'/bin/bash:第1行:8006分段错误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] 错误 139 ./OpenRaster-04.xml(lt-gegl:8034): GEGL-gegl-node.c-警告 **: 无法设置操作类型 gegl:text,请改用直通操作
(lt-gegl:8034):GEGL-gegl-extension-handler.c-警告**:没有扩展名“.jpg”的加载程序,回退到“gegl:magick-load”
(lt-gegl:8034):GEGL-gegl-node.c-警告**:无法设置操作类型gegl:png-load,而是使用直通操作
(lt-gegl:8034): GEGL-gegl-cc-警告:gegl_node:GeglChantnop_c没有名为:'path'/bin/bash:第1行:8034分段错误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] 错误 139 make[4]:[images.stamp] 错误 2 make[4]:离开目录/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]:*[全递归] 错误 1 make[2]:离开目录/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:*** [全部] 错误 2
如果我尝试旧的 Gegl-0.1.0 我收到
make[2]: 进入目录babl_total_usecs'collect2: ld 返回 1 退出状态 make[2]:
/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
* [gegl] 错误 1 make[2]: 离开目录
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: *[全部] 错误2
如果我尝试最新的 Gegl-0.3.28,它会在配置执行期间抱怨缺少 Babl 0.1.42。好的,我下载了,配置了。当我发出 make 命令时,我收到:
ake[4]: 进入目录
/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]:* [全递归] 错误 1 make[3]: 离开目录/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]: *[全递归] 错误 1 make[1]:离开目录 `/media/34GB/Arquivos-de-Programas-Linux/babl-0.1.42' make:*** [全部] 错误 2
所以我无法编译这三个版本中的任何一个。两种是直接原因,一种是间接原因。 babl 似乎是关于不同头文件中声明的事物的定义冲突。但我怎么解决呢?
gegl 0.2问题似乎与png和xml有关。我考虑过在配置时禁用 libpng 支持,但我将来(可能)会需要它。
gegl 0.1.0 似乎无法在 babl 的库中找到某些内容,但我如何解决它?
我希望得到解决这些问题的建议。