Re: [Gimp-developer] Gimp "make install" fails with undefined references to fresh-built gegl
- From: "Deft Developer" <dev hymes name>
- To: "'Charles Hymes'" <charles hymes name>, <gimp-developer-list gnome org>
- Subject: Re: [Gimp-developer] Gimp "make install" fails with undefined references to fresh-built gegl
- Date: Wed, 8 Jul 2020 14:39:08 -0700
I got all of the dependencies (except WebKit) and GIMP 2.10.20 to build on
CentOS.
To make a very long story short, each dependency, and GIMP, is best built
with no traces of previous builds or out-of-date dependencies. "make clean"
and re-configuring are inadequate. It's easiest just to re-clone each
repository, or delete each extracted source directory.
Each dependency needs to be installed into whatever build-prefix is
configured, and then the next dependency may be built. Sometimes, Iterating
over multiple versions of a dependency is required. In that case,
delete/uninstall the older version after you have built what needed it, and
then build the newer version.
I simply gave up for webkit. Webkit is gigantic, and has a wilderness of
dependencies. It easier just to use an external browser to access GIMP help.
-----Original Message-----
From: gimp-developer-list [mailto:gimp-developer-list-bounces gnome org] On
Behalf Of Charles Hymes
Sent: Tuesday, June 16, 2020 3:53 PM
To: gimp-developer-list gnome org
Subject: [Gimp-developer] Gimp "make install" fails with undefined
references to fresh-built gegl
I built gimp 2.10.18 on CentOS 7 last year on another host, but on a new
host with gimp 2.10.20, I'm stuck with undefined reference errors for GEGL.
I'm not a c++ developer, so this is all a foreign language to me :(
CentOS 7 libraries are all very old, so I built them, including latest GEGL
(0.4_24) and configured it with -prefix=/opt/gimp2.10
I deleted all gegl files before rebuilding, and now when I look in the lib64
dir I see the new libs:
ls -1 /opt/gimp-2.10/lib64/libgegl-*
/opt/gimp-2.10/lib64/libgegl-0.4.so
/opt/gimp-2.10/lib64/libgegl-0.4.so.0
/opt/gimp-2.10/lib64/libgegl-0.4.so.0.424.1
/opt/gimp-2.10/lib64/libgegl-npd-0.4.so
/opt/gimp-2.10/lib64/libgegl-sc-0.4.so
ls -1 /opt/gimp-2.10/lib64/pkgconfig/gegl-*
/opt/gimp-2.10/lib64/pkgconfig/gegl-0.4.pc
/opt/gimp-2.10/lib64/pkgconfig/gegl-sc-0.4.pc
I set LD_LIBRARY_PATH and PKG_CONFIG_PATH to include my fresh libraries:
LD_LIBRARY_PATH=/opt/gimp-2.10/lib64:/opt/gimp-2.10/lib:/usr/local/lib64:/us
r/local/lib:/usr/lib
PKG_CONFIG_PATH=/opt/gimp-2.10/lib64/pkgconfig:/opt/gimp-2.10/share/pkgconfi
g:/opt/gimp-2.10/lib/pkgconfig/pkgconfig:/usr/local/share/pkgconfig:/usr/loc
al/lib/pkgconfig
But when I try to build gimp, ld fails. The errors start with:
make[3]: Entering directory
'/usr/exports/projects/3rd_party/gimp-world/gimp/app'
CCLD gimp-2.10
display/libappdisplay.a(gimpdisplay.o): In function
`gimp_display_update_bounding_box':
gimpdisplay.c:(.text+0x130c): undefined reference to
`gegl_rectangle_subtract'
...
gimp-gegl-utils.c:(.text+0xc7e): undefined reference to
`gegl_rectangle_subtract'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1010: gimp-2.10] Error 1
...
Is this a gegl mis-configuration or a gimp one?
How should I fix?
Thanks!
Deft
_______________________________________________
gimp-developer-list mailing list
List address: gimp-developer-list gnome org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives: https://mail.gnome.org/archives/gimp-developer-list
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]