Re: [Gimp-developer] help compiling babl

Marco Ciampa via gimp-developer-list <[email protected]>
Newsgroups gmane.comp.video.gimp.devel
Message-ID <20190828110956.GA20216@marco-N24-25JU>
On Fri, Aug 23, 2019 at 02:17:10AM +0200, Marco Ciampa via gimp-developer-list wrote:
> Retry: now (that apparently devs switched to meson also in GEGL, now it does not compile
> also gegl.... grrr)
> 
> ninja 
> [9/529] Generating Gegl-0.4.gir with a custom command.
> FAILED: gegl/Gegl-0.4.gir 
> /usr/bin/g-ir-scanner --no-libtool --namespace=Gegl --nsversion=0.4 --warn-all --output gegl/Gegl-0.4.gir --c-include=gegl.h -I/home/marco/git/gitlab/gnome/gegl/gegl -I/home/marco/git/gitlab/gnome/gegl/build/gegl -I./. -I../. -I./gegl/. -I../gegl/. -I./gegl/buffer -I../gegl/buffer -I./gegl/graph -I../gegl/graph -I./gegl/module -I../gegl/module -I./gegl/opencl -I../gegl/opencl -I./gegl/operation -I../gegl/operation -I./gegl/process -I../gegl/process -I./gegl/property-types -I../gegl/property-types --filelist=/home/marco/git/gitlab/gnome/gegl/build/gegl/2cd4258@@gegl-0.4@sha/Gegl_0.4_gir_filelist --include=GLib-2.0 --include=GObject-2.0 --include=Babl-0.1 --symbol-prefix=gegl --identifier-prefix=Gegl --cflags-begin -DHAVE_CONFIG_H -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wo
 ld-style-definition -Wpointer-arith -Wno-deprecated-declarations -mfpmath=sse -mmmx -msse -msse2 -msse4.1 -I./. -I../. -I./gegl/. -I../gegl/. -I./gegl/buffer -I../gegl/buffer -I./gegl/graph 
 -I
>  ../gegl/graph -I./gegl/module -I../gegl/module -I./gegl/opencl -I../gegl/opencl -I./gegl/operation -I../gegl/operation -I./gegl/process -I../gegl/process -I./gegl/property-types -I../gegl/property-types -I/usr/local/include/babl-0.1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gio-unix-2.0/ --cflags-end --library gegl-0.4 -L/home/marco/git/gitlab/gnome/gegl/build/gegl -L/usr/local/lib/x86_64-linux-gnu -L/usr/local/lib/x86_64-linux-gnu --extra-library=babl-0.1 --extra-library=glib-2.0 --extra-library=gio-2.0 --extra-library=gobject-2.0 --extra-library=m --extra-library=gmodule-2.0
> Couldn't find include 'GLib-2.0.gir' (search path: '['/home/marco/.local/share/flatpak/exports/share/gir-1.0', '/var/lib/flatpak/exports/share/gir-1.0', '/usr/share/gnome-flashback-metacity/gir-1.0', '/home/marco/.local/share/flatpak/exports/share/gir-1.0', '/var/lib/flatpak/exports/share/gir-1.0', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/var/lib/snapd/desktop/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0']')
> [14/529] Generating module_common_gpl3.c with a meson_exe.py custom command.
> ninja: build stopped: subcommand failed.

Found! Apparetly it was missing a package, whose lack, meson was not able
to detect ... resolved with:

sudo apt install libgirepository1.0-dev

perhaps gegl devs should add a test or something?

Anyway now I have a problem with the GIMP compilation...

  CCLD     script-fu
//usr/local/lib/libgegl-0.4.so.0: undefined reference to `babl_format_get_n_components@V0_1_0'
//usr/local/lib/libgegl-0.4.so.0: undefined reference to `babl_model_with_space@V0_1_0'
../../libgimpwidgets/.libs/libgimpwidgets-2.0.so: undefined reference to `babl_fish@V0_1_0'
../../libgimpcolor/.libs/libgimpcolor-2.0.so: undefined reference to `babl_icc_make_space@V0_1_0'
../../libgimp/.libs/libgimp-2.0.so: undefined reference to `babl_palette_set_palette@V0_1_0'
../../libgimpwidgets/.libs/libgimpwidgets-2.0.so: undefined reference to `babl_process@V0_1_0'
//usr/local/lib/libgegl-0.4.so.0: undefined reference to `babl_get_model_flags@V0_1_0'
../../libgimpcolor/.libs/libgimpcolor-2.0.so: undefined reference to `babl_format_get_type@V0_1_0'
../../libgimpcolor/.libs/libgimpcolor-2.0.so: undefined reference to `babl_format_has_alpha@V0_1_0'
../../libgimp/.libs/libgimp-2.0.so: undefined reference to `babl_new_palette@V0_1_0'
../../libgimpcolor/.libs/libgimpcolor-2.0.so: undefined reference to `babl_format_with_space@V0_1_0'
../../libgimpwidgets/.libs/libgimpwidgets-2.0.so: undefined reference to `babl_exit@V0_1_0'
../../libgimpwidgets/.libs/libgimpwidgets-2.0.so: undefined reference to `babl_init@V0_1_0'
../../libgimpcolor/.libs/libgimpcolor-2.0.so: undefined reference to `babl_format_is_palette@V0_1_0'
//usr/local/lib/libgegl-0.4.so.0: undefined reference to `babl_format_exists@V0_1_0'
../../libgimpcolor/.libs/libgimpcolor-2.0.so: undefined reference to `babl_format_get_bytes_per_pixel@V0_1_0'
../../libgimp/.libs/libgimp-2.0.so: undefined reference to `babl_get_name@V0_1_0'
//usr/local/lib/libgegl-0.4.so.0: undefined reference to `babl_format_get_encoding@V0_1_0'
//usr/local/lib/libgegl-0.4.so.0: undefined reference to `babl_format_get_space@V0_1_0'
../../libgimpcolor/.libs/libgimpcolor-2.0.so: undefined reference to `babl_format_get_model@V0_1_0'
//usr/local/lib/libgegl-0.4.so.0: undefined reference to `babl_ticks@V0_1_0'
../../libgimpcolor/.libs/libgimpcolor-2.0.so: undefined reference to `babl_model@V0_1_0'
../../libgimpcolor/.libs/libgimpcolor-2.0.so: undefined reference to `babl_type@V0_1_0'
../../libgimpwidgets/.libs/libgimpwidgets-2.0.so: undefined reference to `babl_format@V0_1_0'
//usr/local/lib/libgegl-0.4.so.0: undefined reference to `babl_process_rows@V0_1_0'

any help is warmly appreciated!

TIA

-- 


Marco Ciampa

I know a joke about UDP, but you might not get it.

------------------------

 GNU/Linux User #78271
 FSFE fellow #364

------------------------

_______________________________________________
gimp-developer-list mailing list
List address:    [email protected]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.