Build does not find gegl

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Build does not find gegl

Developers mailing list
Hi all.

Trying to build as per instructions in
https://wiki.gimp.org/wiki/Hacking:Building here.
Having set all the envvars I get gegl dependency failure both via meson and
autotools.

My gegl is being installed into /home/ror6ax/gimp_prefix/lib64/gegl-0.4/
directory by ninja install command, which I've verified by listing before
and after running ninja install. I don't have gegl installed via package
manager. If I do install gegl-devel (fedora has version 24 in repos) the
error message changes from "Dependency "gegl-0.4" not found" to "gegl
version 24 found, 26 required". This leads me to believe that despite the
envvars in the wiki page being set, meson/autotools still use system-wide
library paths.

I am running this on Fedora 32.

Full error log is as follows:

Build started at 2020-08-18T00:24:35.467672
Main binary: /usr/bin/python3
Build Options: -Djavascript=always -Dlua=always -Dpython=always
-Dprefix=/home/ror6ax/gimp_prefix -Dbuildtype=release
Python system: Linux
The Meson build system
Version: 0.54.0
Source dir: /home/ror6ax/devel/gimp
Build dir: /home/ror6ax/devel/gimp/_build
Build type: native build
Using 'PKG_CONFIG_PATH' from environment with value:
'/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig'
Using 'PKG_CONFIG_PATH' from environment with value:
'/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig'
Project name: gimp
Project version: 2.99.1
None of 'CC' are defined in the environment, not changing global flags.
None of 'CFLAGS' are defined in the environment, not changing global flags.
None of 'LDFLAGS' are defined in the environment, not changing global flags.
None of 'CPPFLAGS' are defined in the environment, not changing global
flags.
None of 'CC_LD' are defined in the environment, not changing global flags.
Sanity testing C compiler: cc
Is cross compiler: False.
Sanity check compiler command line: cc
/home/ror6ax/devel/gimp/_build/meson-private/sanitycheckc.c -o
/home/ror6ax/devel/gimp/_build/meson-private/sanitycheckc.exe -pipe
-D_FILE_OFFSET_BITS=64
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command:
/home/ror6ax/devel/gimp/_build/meson-private/sanitycheckc.exe
C compiler for the build machine: cc (gcc 10.0.1 "cc (GCC) 10.0.1 20200328
(Red Hat 10.0.1-0.11)")
C linker for the build machine: cc ld.bfd 2.34-2
None of 'AR' are defined in the environment, not changing global flags.
None of 'CXX' are defined in the environment, not changing global flags.
None of 'CXXFLAGS' are defined in the environment, not changing global
flags.
None of 'LDFLAGS' are defined in the environment, not changing global flags.
None of 'CPPFLAGS' are defined in the environment, not changing global
flags.
None of 'CXX_LD' are defined in the environment, not changing global flags.
Sanity testing C++ compiler: c++
Is cross compiler: False.
Sanity check compiler command line: c++
/home/ror6ax/devel/gimp/_build/meson-private/sanitycheckcpp.cc -o
/home/ror6ax/devel/gimp/_build/meson-private/sanitycheckcpp.exe -pipe
-D_FILE_OFFSET_BITS=64
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command:
/home/ror6ax/devel/gimp/_build/meson-private/sanitycheckcpp.exe
C++ compiler for the build machine: c++ (gcc 10.0.1 "c++ (GCC) 10.0.1
20200328 (Red Hat 10.0.1-0.11)")
C++ linker for the build machine: c++ ld.bfd 2.34-2
None of 'CC' are defined in the environment, not changing global flags.
None of 'CFLAGS' are defined in the environment, not changing global flags.
None of 'LDFLAGS' are defined in the environment, not changing global flags.
None of 'CPPFLAGS' are defined in the environment, not changing global
flags.
None of 'CC_LD' are defined in the environment, not changing global flags.
Sanity testing C compiler: cc
Is cross compiler: False.
Sanity check compiler command line: cc
/home/ror6ax/devel/gimp/_build/meson-private/sanitycheckc.c -o
/home/ror6ax/devel/gimp/_build/meson-private/sanitycheckc.exe -pipe
-D_FILE_OFFSET_BITS=64
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command:
/home/ror6ax/devel/gimp/_build/meson-private/sanitycheckc.exe
C compiler for the host machine: cc (gcc 10.0.1 "cc (GCC) 10.0.1 20200328
(Red Hat 10.0.1-0.11)")
C linker for the host machine: cc ld.bfd 2.34-2
None of 'AR' are defined in the environment, not changing global flags.
None of 'CXX' are defined in the environment, not changing global flags.
None of 'CXXFLAGS' are defined in the environment, not changing global
flags.
None of 'LDFLAGS' are defined in the environment, not changing global flags.
None of 'CPPFLAGS' are defined in the environment, not changing global
flags.
None of 'CXX_LD' are defined in the environment, not changing global flags.
Sanity testing C++ compiler: c++
Is cross compiler: False.
Sanity check compiler command line: c++
/home/ror6ax/devel/gimp/_build/meson-private/sanitycheckcpp.cc -o
/home/ror6ax/devel/gimp/_build/meson-private/sanitycheckcpp.exe -pipe
-D_FILE_OFFSET_BITS=64
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command:
/home/ror6ax/devel/gimp/_build/meson-private/sanitycheckcpp.exe
C++ compiler for the host machine: c++ (gcc 10.0.1 "c++ (GCC) 10.0.1
20200328 (Red Hat 10.0.1-0.11)")
C++ linker for the host machine: c++ ld.bfd 2.34-2
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: x86_64
Host machine cpu: x86_64
Target machine cpu family: x86_64
Target machine cpu: x86_64
Running command: /usr/bin/python3 -c import sys,os; sys.exit(0 if
os.path.exists(".git") else 1)
--- stdout ---

--- stderr ---


Message: Host machine cpu family: x86_64
Message: Host os: linux
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmp6rvtradb
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmp6rvtradb/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmp6rvtradb/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -mfpmath=sse

Code:
 int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -mfpmath=sse: YES
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmpzslmmakr
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmpzslmmakr/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmpzslmmakr/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -mmmx

Code:
 int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -mmmx: YES
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmpv8kl6r_r
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmpv8kl6r_r/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmpv8kl6r_r/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -msse

Code:
 int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -msse: YES
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmpgvyw48df
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmpgvyw48df/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmpgvyw48df/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -msse2

Code:
 int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -msse2: YES
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmpld0xk3k2
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmpld0xk3k2/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmpld0xk3k2/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -msse4.1

Code:
 int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -msse4.1: YES
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmpjsyain0p
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmpjsyain0p/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmpjsyain0p/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -fdiagnostics-show-option

Code:
 int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -fdiagnostics-show-option: YES
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmpgm9eu671
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmpgm9eu671/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmpgm9eu671/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -fno-common

Code:
 int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -fno-common: YES
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmpmx6gkayp
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmpmx6gkayp/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmpmx6gkayp/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -Wformat

Code:
 int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wformat: YES
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmpiw7wxmhz
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmpiw7wxmhz/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmpiw7wxmhz/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -Wformat-security

Code:
 int i;

Compiler stdout:

Compiler stderr:
 cc1: warning: '-Wformat-security' ignored without '-Wformat'
[-Wformat-security]

Compiler for C supports arguments -Wformat-security: YES
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmpkcb3xi2u
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmpkcb3xi2u/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmpkcb3xi2u/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -Winit-self

Code:
 int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Winit-self: YES
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmpt90cab52
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmpt90cab52/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmpt90cab52/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -Wlogical-op

Code:
 int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wlogical-op: YES
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmpjw2lnn3r
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmpjw2lnn3r/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmpjw2lnn3r/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -Wmissing-declarations

Code:
 int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wmissing-declarations: YES
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmpc4xjoa2l
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmpc4xjoa2l/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmpc4xjoa2l/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -Wmissing-format-attribute

Code:
 int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wmissing-format-attribute: YES
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmpo6745eyn
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmpo6745eyn/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmpo6745eyn/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -Wpointer-arith

Code:
 int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wpointer-arith: YES
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmpjs94vg3j
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmpjs94vg3j/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmpjs94vg3j/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -Wreturn-type

Code:
 int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wreturn-type: YES
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmpdih0z4rj
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmpdih0z4rj/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmpdih0z4rj/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -Wtype-limits

Code:
 int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wtype-limits: YES
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmp6ve5uesb
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmp6ve5uesb/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmp6ve5uesb/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -Wabsolute-value

Code:
 int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wabsolute-value: YES
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmpezfkzjd8
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmpezfkzjd8/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmpezfkzjd8/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -Wdeclaration-after-statement

Code:
 int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wdeclaration-after-statement: YES
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmpebwrd38i
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmpebwrd38i/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmpebwrd38i/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -Wenum-conversion

Code:
 int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wenum-conversion: YES
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmp5barc1pq
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmp5barc1pq/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmp5barc1pq/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -Wliteral-conversion

Code:
 int i;

Compiler stdout:

Compiler stderr:
 cc: error: unrecognized command-line option '-Wliteral-conversion'; did
you mean '-Warith-conversion'?

Compiler for C supports arguments -Wliteral-conversion: NO
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmphmjod0v_
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmphmjod0v_/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmphmjod0v_/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -Wno-strict-prototypes -Wstrict-prototypes

Code:
 int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wno-strict-prototypes
-Wstrict-prototypes: YES
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmp13hxx0eu
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmp13hxx0eu/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmp13hxx0eu/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -Wold-style-definition

Code:
 int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wold-style-definition: YES
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmp836b_lb4
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmp836b_lb4/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmp836b_lb4/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -Wparentheses-equality

Code:
 int i;

Compiler stdout:

Compiler stderr:
 cc: error: unrecognized command-line option '-Wparentheses-equality'

Compiler for C supports arguments -Wparentheses-equality: NO
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmp3o0l0js8
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmp3o0l0js8/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmp3o0l0js8/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -W#pragma-messages

Code:
 int i;

Compiler stdout:

Compiler stderr:
 cc: error: unrecognized command-line option '-W#pragma-messages'

Compiler for C supports arguments -W#pragma-messages: NO
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmpr5kbq_ak
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmpr5kbq_ak/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmpr5kbq_ak/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -Wsometimes-uninitialized

Code:
 int i;

Compiler stdout:

Compiler stderr:
 cc: error: unrecognized command-line option '-Wsometimes-uninitialized';
did you mean '-Wmaybe-uninitialized'?

Compiler for C supports arguments -Wsometimes-uninitialized: NO
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmp_90jgtn6
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmp_90jgtn6/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmp_90jgtn6/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -Wtautological-unsigned-enum-zero-compare

Code:
 int i;

Compiler stdout:

Compiler stderr:
 cc: error: unrecognized command-line option
'-Wtautological-unsigned-enum-zero-compare'

Compiler for C supports arguments
-Wtautological-unsigned-enum-zero-compare: NO
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmp8tgihpit
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmp8tgihpit/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmp8tgihpit/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -Wunneeded-internal-declaration

Code:
 int i;

Compiler stdout:

Compiler stderr:
 cc: error: unrecognized command-line option
'-Wunneeded-internal-declaration'

Compiler for C supports arguments -Wunneeded-internal-declaration: NO
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmpd68hh329
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmpd68hh329/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmpd68hh329/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -Wunused-function

Code:
 int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wunused-function: YES
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmp1_g6u_0p
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmp1_g6u_0p/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmp1_g6u_0p/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -Wunused-value

Code:
 int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Wunused-value: YES
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmpw8ldfh1u
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmpw8ldfh1u/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmpw8ldfh1u/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -Werror=implicit-function-declaration

Code:
 int i;

Compiler stdout:

Compiler stderr:

Compiler for C supports arguments -Werror=implicit-function-declaration:
YES
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmpesdvoxib
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmpesdvoxib/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmpesdvoxib/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0

Code:

    #include<langinfo.h>
    int main() {
      char c = *((unsigned char *)
 nl_langinfo(_NL_MEASUREMENT_MEASUREMENT));
    }

Compiler stdout:

Compiler stderr:

Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmp5m2frz8c
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmp5m2frz8c/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmp5m2frz8c/output.exe -pipe
-D_FILE_OFFSET_BITS=64 -O0 -Wl,--start-group -lm -Wl,--end-group
-Wl,--allow-shlib-undefined

Code:
 int main(void) { return 0; }
Compiler stdout:

Compiler stderr:

Library m found: YES
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmprlig6590
Command line:  cc
/home/ror6ax/devel/gimp/_build/meson-private/tmprlig6590/testfile.c -o
/home/ror6ax/devel/gimp/_build/meson-private/tmprlig6590/output.exe -pipe
-D_FILE_OFFSET_BITS=64 -O0 -Wl,--start-group -ldl -Wl,--end-group
-Wl,--allow-shlib-undefined

Code:
 int main(void) { return 0; }
Compiler stdout:

Compiler stderr:

Library dl found: YES
Pkg-config binary for MachineChoice.HOST is not cached.
None of 'PKG_CONFIG' are defined in the environment, not changing global
flags.
Pkg-config binary missing from cross or native file, or env var undefined.
Trying a default Pkg-config fallback at pkg-config
Trying pkg-config binary pkg-config for machine MachineChoice.HOST at
['/usr/bin/pkg-config']
Found pkg-config: /usr/bin/pkg-config (1.6.3)
Determining dependency 'atk' with pkg-config executable
'/usr/bin/pkg-config'
PKG_CONFIG_PATH:
/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig
Called `/usr/bin/pkg-config --modversion atk` -> 0
2.36.0
PKG_CONFIG_PATH:
/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig
Called `/usr/bin/pkg-config --cflags atk` -> 0
-I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
PKG_CONFIG_PATH:
/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig
Called `/usr/bin/pkg-config atk --libs` -> 0
-L/usr/lib64 -latk-1.0 -lgobject-2.0 -lglib-2.0
PKG_CONFIG_PATH:
/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig
Called `/usr/bin/pkg-config atk --libs` -> 0
-latk-1.0 -lgobject-2.0 -lglib-2.0
Using 'PKG_CONFIG_PATH' from environment with value:
'/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig'
Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmpdd6_ek2v
Command line:  c++
/home/ror6ax/devel/gimp/_build/meson-private/tmpdd6_ek2v/testfile.cpp -o
/home/ror6ax/devel/gimp/_build/meson-private/tmpdd6_ek2v/output.exe -pipe
-D_FILE_OFFSET_BITS=64 -O0 -fpermissive

Code:
 #include<stdio.h>

        int main(void) {
            printf("%ld\n", (long)(sizeof(void *)));
            return 0;
        };
Compiler stdout:

Compiler stderr:

Program stdout:

8

Program stderr:


Running compile:
Working directory:  /home/ror6ax/devel/gimp/_build/meson-private/tmpl4gkai_t
Command line:  c++
/home/ror6ax/devel/gimp/_build/meson-private/tmpl4gkai_t/testfile.cpp -o
/home/ror6ax/devel/gimp/_build/meson-private/tmpl4gkai_t/output.obj -pipe
-c -D_FILE_OFFSET_BITS=64 -O0 -fpermissive --print-search-dirs

Code:

Compiler stdout:
 install: /usr/lib/gcc/x86_64-redhat-linux/10/
programs:
=/usr/libexec/gcc/x86_64-redhat-linux/10/:/usr/libexec/gcc/x86_64-redhat-linux/10/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/10/:/usr/lib/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/10/../../../../x86_64-redhat-linux/bin/x86_64-redhat-linux/10/:/usr/lib/gcc/x86_64-redhat-linux/10/../../../../x86_64-redhat-linux/bin/
libraries:
=/usr/lib/gcc/x86_64-redhat-linux/10/:/usr/lib/gcc/x86_64-redhat-linux/10/../../../../x86_64-redhat-linux/lib/x86_64-redhat-linux/10/:/usr/lib/gcc/x86_64-redhat-linux/10/../../../../x86_64-redhat-linux/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/10/../../../x86_64-redhat-linux/10/:/usr/lib/gcc/x86_64-redhat-linux/10/../../../../lib64/:/lib/x86_64-redhat-linux/10/:/lib/../lib64/:/usr/lib/x86_64-redhat-linux/10/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/10/../../../../x86_64-redhat-linux/lib/:/usr/lib/gcc/x86_64-redhat-linux/10/../../../:/lib/:/usr/lib/

Compiler stderr:

Run-time dependency atk found: YES 2.36.0
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'babl' with pkg-config executable
'/usr/bin/pkg-config'
PKG_CONFIG_PATH:
/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig
Called `/usr/bin/pkg-config --modversion babl` -> 0
0.1.78
PKG_CONFIG_PATH:
/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig
Called `/usr/bin/pkg-config --cflags babl` -> 0
-I/usr/include/babl-0.1
PKG_CONFIG_PATH:
/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig
Called `/usr/bin/pkg-config babl --libs` -> 0
-L/usr/lib64 -lbabl-0.1
PKG_CONFIG_PATH:
/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig
Called `/usr/bin/pkg-config babl --libs` -> 0
-lbabl-0.1
Using 'PKG_CONFIG_PATH' from environment with value:
'/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig'
Run-time dependency babl found: YES 0.1.78
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'cairo' with pkg-config executable
'/usr/bin/pkg-config'
PKG_CONFIG_PATH:
/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig
Called `/usr/bin/pkg-config --modversion cairo` -> 0
1.16.0
PKG_CONFIG_PATH:
/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig
Called `/usr/bin/pkg-config --cflags cairo` -> 0
-I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16
PKG_CONFIG_PATH:
/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig
Called `/usr/bin/pkg-config cairo --libs` -> 0
-L/usr/lib64 -lcairo
PKG_CONFIG_PATH:
/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig
Called `/usr/bin/pkg-config cairo --libs` -> 0
-lcairo
Using 'PKG_CONFIG_PATH' from environment with value:
'/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig'
Run-time dependency cairo found: YES 1.16.0
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'fontconfig' with pkg-config executable
'/usr/bin/pkg-config'
PKG_CONFIG_PATH:
/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig
Called `/usr/bin/pkg-config --modversion fontconfig` -> 0
2.13.92
PKG_CONFIG_PATH:
/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig
Called `/usr/bin/pkg-config --cflags fontconfig` -> 0
-I/usr/include/freetype2 -I/usr/include/libpng16
PKG_CONFIG_PATH:
/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig
Called `/usr/bin/pkg-config fontconfig --libs` -> 0
-L/usr/lib64 -lfontconfig -lfreetype
PKG_CONFIG_PATH:
/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig
Called `/usr/bin/pkg-config fontconfig --libs` -> 0
-lfontconfig -lfreetype
Using 'PKG_CONFIG_PATH' from environment with value:
'/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig'
Run-time dependency fontconfig found: YES 2.13.92
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'freetype2' with pkg-config executable
'/usr/bin/pkg-config'
PKG_CONFIG_PATH:
/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig
Called `/usr/bin/pkg-config --modversion freetype2` -> 0
23.1.17
PKG_CONFIG_PATH:
/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig
Called `/usr/bin/pkg-config --cflags freetype2` -> 0
-I/usr/include/freetype2 -I/usr/include/libpng16
PKG_CONFIG_PATH:
/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig
Called `/usr/bin/pkg-config freetype2 --libs` -> 0
-L/usr/lib64 -lfreetype
PKG_CONFIG_PATH:
/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig
Called `/usr/bin/pkg-config freetype2 --libs` -> 0
-lfreetype
Using 'PKG_CONFIG_PATH' from environment with value:
'/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig'
Run-time dependency freetype2 found: YES 23.1.17
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'gdk-pixbuf-2.0' with pkg-config executable
'/usr/bin/pkg-config'
PKG_CONFIG_PATH:
/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig
Called `/usr/bin/pkg-config --modversion gdk-pixbuf-2.0` -> 0
2.40.0
PKG_CONFIG_PATH:
/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig
Called `/usr/bin/pkg-config --cflags gdk-pixbuf-2.0` -> 0
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -pthread -I/usr/include/libmount
-I/usr/include/blkid
PKG_CONFIG_PATH:
/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig
Called `/usr/bin/pkg-config gdk-pixbuf-2.0 --libs` -> 0
-L/usr/lib64 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
PKG_CONFIG_PATH:
/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig
Called `/usr/bin/pkg-config gdk-pixbuf-2.0 --libs` -> 0
-lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0
Using 'PKG_CONFIG_PATH' from environment with value:
'/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig'
Run-time dependency gdk-pixbuf-2.0 found: YES 2.40.0
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'gegl-0.4' with pkg-config executable
'/usr/bin/pkg-config'
PKG_CONFIG_PATH:
/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig
Called `/usr/bin/pkg-config --modversion gegl-0.4` -> 1

CMake binary for MachineChoice.HOST is not cached
None of 'CMAKE' are defined in the environment, not changing global flags.
CMake binary missing from cross or native file, or env var undefined.
Trying a default CMake fallback at cmake
Trying CMake binary cmake for machine MachineChoice.HOST at
['/usr/bin/cmake']
Found CMake: /usr/bin/cmake (3.17.2)
Extracting basic cmake information
Try CMake generator: auto
None of 'FC' are defined in the environment, not changing global flags.
None of 'FFLAGS' are defined in the environment, not changing global flags.
None of 'LDFLAGS' are defined in the environment, not changing global flags.
None of 'FC_LD' are defined in the environment, not changing global flags.
None of 'F_LD' are defined in the environment, not changing global flags.
Called `/usr/bin/cmake --trace-expand --trace-format=json-v1
--no-warn-unused-cli --trace-redirect=cmake_trace.txt .` in
/home/ror6ax/devel/gimp/_build/meson-private/cmake_gegl-0.4 -> 0
  -- Module search paths:    ['/', '/opt', '/usr', '/usr/local']
  -- CMake root:             /usr/share/cmake
  -- CMake architectures:    []
  -- CMake lib search paths: ['lib', 'lib32', 'lib64', 'libx32', 'share']
None of 'CMAKE_PREFIX_PATH' are defined in the environment, not changing
global flags.
Preliminary CMake check failed. Aborting.
Run-time dependency gegl-0.4 found: NO (tried pkgconfig and cmake)

meson.build:356:0: ERROR: Dependency "gegl-0.4" not found, tried pkgconfig
and cmake



--
<https://about.me/gregory.reshetniak?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=edit_panel&utm_content=thumb>
Gregory Reshetniak
about.me/gregory.reshetniak
<https://about.me/gregory.reshetniak?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=edit_panel&utm_content=thumb>
_______________________________________________
gimp-developer-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
Reply | Threaded
Open this post in threaded view
|

Re: Build does not find gegl

Kevin Cozens-2
On 2020-08-18 3:45 a.m., Gregory Reshetniak via gimp-developer-list wrote:
> Trying to build as per instructions in
> https://wiki.gimp.org/wiki/Hacking:Building here.
> Having set all the envvars I get gegl dependency failure both via meson and
> autotools.
[snip]
> Using 'PKG_CONFIG_PATH' from environment with value:
> '/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig'
> Using 'PKG_CONFIG_PATH' from environment with value:
> '/home/ror6ax/gimp_prefix/share/pkgconfig:/home/ror6ax/gimp_prefix/lib/pkgconfig'
> Project name: gimp

I think the wiki page needs updating if you are trying to build GIMP 2.99+.
You also need to include the path $PREFIX/lib/x86_64-linux-gnu/pkgconfig.

--
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 <disclaimer/favourite>     |             --Chris Hardwick
_______________________________________________
gimp-developer-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list