RSS/Atom feed Twitter
Site is read-only, email is disabled

Please help me with dependency details to build GIMP 2.10 on CentOS 7

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

Deft Developer
2018-05-17 06:28:43 UTC (almost 6 years ago)

Please help me with dependency details to build GIMP 2.10 on CentOS 7

My org has CentOS 7, and I REALLY want to build GIMP 2.10. CentOS is conservative, and does not ship with many of 2.10's dependencies. My problem is that after I "have" 2.10's dependencies, I don't know how to configure autoconf and configure to find them. I have read https://wiki.gimp.org/wiki/Hacking:Building, https://wiki.gimp.org/wiki/Hacking:Developer_FAQ#Compiling_GIMP ,https://www.gimp.org/source/#gimp-requirements

and lots of other pages that I have googled. But they are missing the details on setting env variables and command-line options. I have all the tarballs listed in the pages above, and I have built most of the packages. But some packages ( gegl, fontconfig ) won't build because they can't find THEIR dependencies, though they, too, have been built, or installed via yum.

Here is what I have bash source before I run "autogen.sh --prefix=$INSTALL_PREFIX" or "configure --prefix=$INSTALL_PREFIX" for each dependency:

source /usr/bin/scl_source enable devtoolset-7

export GIMP_BLD_HOME=$HOME/projects/3rdparty/gimp_world/gimp

export SRC_DIR=$GIMP_BLD_HOME/src

export INSTALL_PREFIX=$HOME/opt/gimp-10

export LD_LIBRARY_PATH=$INSTALL_PREFIX/lib:/usr/local/lib:$LD_LIBRARY_PATH

export PKG_CONFIG_PATH=$INSTALL_PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH

export PATH=$INSTALL_PREFIX/bin:$PATH

export CFLAGS="-march=native -O3"

All the above dirs exist.

With gexiv2, I run "./configure" - - - "sudo make install" without error, but GIMP 2.10 autogen still fails with:

Error: missing dependency gexiv2 >= 0.10.6 .

~/opt/gimp-10/libs has new libgexiv* files there,.

I cannot gegl to build, it fails to find glib-dev 2.54 installed by yum , nor can I build fontconfig, because it fails to find freetype > 21, though I have built and "installed" fretype version 26.

Sorry, I'm not at all a C++ guy! Please be explicit, and I thank you very, very much!

Partha Bagchi
2018-05-17 10:21:01 UTC (almost 6 years ago)

Please help me with dependency details to build GIMP 2.10 on CentOS 7

On Thu, May 17, 2018 at 3:15 AM Deft Developer wrote:

...
Here is what I have bash source before I run "autogen.sh --prefix=$INSTALL_PREFIX" or "configure --prefix=$INSTALL_PREFIX" for each dependency:

source /usr/bin/scl_source enable devtoolset-7

export GIMP_BLD_HOME=$HOME/projects/3rdparty/gimp_world/gimp

export SRC_DIR=$GIMP_BLD_HOME/src

export INSTALL_PREFIX=$HOME/opt/gimp-10

export LD_LIBRARY_PATH=$INSTALL_PREFIX/lib:/usr/local/lib:$LD_LIBRARY_PATH

export PKG_CONFIG_PATH=$INSTALL_PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH

export PATH=$INSTALL_PREFIX/bin:$PATH

export CFLAGS="-march=native -O3"

All the above dirs exist.

With gexiv2, I run "./configure" - - - "sudo make install" without error, but GIMP 2.10 autogen still fails with:

Error: missing dependency gexiv2 >= 0.10.6 .

what does pkg-config --modversion gexiv2 say?

Deft Developer
2018-05-17 16:19:09 UTC (almost 6 years ago)

Please help me with dependency details to build GIMP 2.10 on CentOS 7

Here is the output from pkg-config, and locate

pkg-config --modversion gexiv2

Package gexiv2 was not found in the pkg-config search path.

Perhaps you should add the directory containing `gexiv2.pc'

to the PKG_CONFIG_PATH environment variable

No package 'gexiv2' found

locate gexiv2.pc

/usr/exports/projects/3rdparty/gimp_world/archives/gexiv2-0.10.6/gexiv2.pc.in

/usr/exports/projects/3rdparty/gimp_world/deps/gexiv2/gexiv2.pc

/usr/exports/projects/3rdparty/gimp_world/deps/gexiv2/gexiv2.pc.in

/usr/exports/projects/3rdparty/gimp_world/tree/gexiv2-0.10.6/gexiv2.pc

/usr/exports/projects/3rdparty/gimp_world/tree/gexiv2-0.10.6/gexiv2.pc.in

/usr/local/lib/pkgconfig/gexiv2.pc

From: Partha Bagchi [mailto:partha1b@gmail.com] Sent: Thursday, May 17, 2018 3:21 AM To: dev@hymes.name
Cc: gimp-developer
Subject: Re: [Gimp-developer] Please help me with dependency details to build GIMP 2.10 on CentOS 7

On Thu, May 17, 2018 at 3:15 AM Deft Developer > wrote:

... Here is what I have bash source before I run "autogen.sh --prefix=$INSTALL_PREFIX" or "configure --prefix=$INSTALL_PREFIX" for each dependency:

source /usr/bin/scl_source enable devtoolset-7

export GIMP_BLD_HOME=$HOME/projects/3rdparty/gimp_world/gimp

export SRC_DIR=$GIMP_BLD_HOME/src

export INSTALL_PREFIX=$HOME/opt/gimp-10

export LD_LIBRARY_PATH=$INSTALL_PREFIX/lib:/usr/local/lib:$LD_LIBRARY_PATH

export PKG_CONFIG_PATH=$INSTALL_PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH

export PATH=$INSTALL_PREFIX/bin:$PATH

export CFLAGS="-march=native -O3"

All the above dirs exist.

With gexiv2, I run "./configure" - - - "sudo make install" without error, but GIMP 2.10 autogen still fails with:

Error: missing dependency gexiv2 >= 0.10.6 .

what does pkg-config --modversion gexiv2 say?

Kevin Cozens
2018-05-17 16:39:57 UTC (almost 6 years ago)

Please help me with dependency details to build GIMP 2.10 on CentOS 7

On 2018-05-17 12:19 PM, Deft Developer wrote:

locate gexiv2.pc

[snip]

/usr/local/lib/pkgconfig/gexiv2.pc

From: Partha Bagchi [mailto:partha1b@gmail.com] Sent: Thursday, May 17, 2018 3:21 AM To: dev@hymes.name
Cc: gimp-developer
Subject: Re: [Gimp-developer] Please help me with dependency details to build GIMP 2.10 on CentOS 7

[snip]

export PKG_CONFIG_PATH=$INSTALL_PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH

You don't have /usr/local/lib/pkgconfig in the PKG_CONFIG_PATH env variable.

Cheers!

Kevin.

http://www.ve3syb.ca/               | "Nerds make the shiny things that
https://www.patreon.com/KevinCozens | distract the mouth-breathers, and
                                     | that's why we're powerful"
Owner of Elecraft K2 #2172          |
#include      |             --Chris Hardwick
Partha Bagchi
2018-05-17 17:51:08 UTC (almost 6 years ago)

Please help me with dependency details to build GIMP 2.10 on CentOS 7

On Thu, May 17, 2018 at 12:19 PM, Deft Developer wrote:

Here is the output from pkg-config, and locate

pkg-config --modversion gexiv2

Package gexiv2 was not found in the pkg-config search path.

Perhaps you should add the directory containing `gexiv2.pc'

to the PKG_CONFIG_PATH environment variable

No package 'gexiv2' found

locate gexiv2.pc

/usr/exports/projects/3rdparty/gimp_world/archives/gexiv2-0.10.6/ gexiv2.pc.in

/usr/exports/projects/3rdparty/gimp_world/deps/gexiv2/gexiv2.pc

/usr/exports/projects/3rdparty/gimp_world/deps/gexiv2/gexiv2.pc.in

/usr/exports/projects/3rdparty/gimp_world/tree/gexiv2-0.10.6/gexiv2.pc

/usr/exports/projects/3rdparty/gimp_world/tree/gexiv2-0.10.6/gexiv2.pc.in

/usr/local/lib/pkgconfig/gexiv2.pc

I guess you can figure out the rest from here? :)

Deft Developer
2018-05-18 00:11:58 UTC (almost 6 years ago)

Please help me with dependency details to build GIMP 2.10 on CentOS 7

YES! Thank you!

I got all the dependencies to configure with

export PKG_CONFIG_PATH=$INSTALL_PREFIX/lib/pkgconfig:$INSTALL_PREFIX/share/pkgconfig:/usr/local/lib/pkgconfig:/us\

r/lib64/pkgconfig:/usr/local/share/pkgconfig:$PKG_CONFIG_PATH

There were some other odd issues, like freetype having DOS line endings, but autogen.sh in gimp-10 says it has all dependencies, and I'm ready to try make!

Deft

From: Partha Bagchi [mailto:partha1b@gmail.com] Sent: Thursday, May 17, 2018 10:51 AM To: Deft Developer
Cc: gimp-developer
Subject: Re: [Gimp-developer] Please help me with dependency details to build GIMP 2.10 on CentOS 7

On Thu, May 17, 2018 at 12:19 PM, Deft Developer > wrote:

Here is the output from pkg-config, and locate

pkg-config --modversion gexiv2

Package gexiv2 was not found in the pkg-config search path.

Perhaps you should add the directory containing `gexiv2.pc'

to the PKG_CONFIG_PATH environment variable

No package 'gexiv2' found

locate gexiv2.pc

/usr/exports/projects/3rdparty/gimp_world/archives/gexiv2-0.10.6/gexiv2.pc.in

/usr/exports/projects/3rdparty/gimp_world/deps/gexiv2/gexiv2.pc

/usr/exports/projects/3rdparty/gimp_world/deps/gexiv2/gexiv2.pc.in

/usr/exports/projects/3rdparty/gimp_world/tree/gexiv2-0.10.6/gexiv2.pc

/usr/exports/projects/3rdparty/gimp_world/tree/gexiv2-0.10.6/gexiv2.pc.in

/usr/local/lib/pkgconfig/gexiv2.pc

I guess you can figure out the rest from here? :)

Partha Bagchi
2018-05-18 02:06:57 UTC (almost 6 years ago)

Please help me with dependency details to build GIMP 2.10 on CentOS 7

On Thu, May 17, 2018 at 8:12 PM Deft Developer wrote:

YES! Thank you!

You are welcome. Feel free to reach out anytime.