alessandrofrancesconi / gimp-plugin-bimp

BIMP. Batch Image Manipulation Plugin for GIMP.
http://www.alessandrofrancesconi.it/projects/bimp
Other
897 stars 93 forks source link

make && make install fails [Linux] #388

Open dinucci opened 11 months ago

dinucci commented 11 months ago

Can't compile from github sources on Manjaro Linux

I get the following error when executing make && make install, the same error happens when trying to install from the AUR repositories

~/dev/gimp-plugin-bimp-master> make && make install                           
sh: line 1: pkg-config: command not found
No output from 'pkg-config --cflags gimpui-2.0'
sh: line 1: pkg-config: command not found
No output from 'pkg-config --libs gimpui-2.0'
which gimptool-2.0 && \
gcc -o ./bin/bimp -O2  -Wall -Wno-unused-variable -Wno-pointer-sign -DGIMP_DISABLE_DEPRECATED src/*.c src/manipulation-gui/*.c src/images/*.c  -lm
/usr/bin/gimptool-2.0
src/bimp.c:25:10: fatal error: libgimp/gimp.h: No such file or directory
   25 | #include <libgimp/gimp.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
src/bimp-gui.c:5:10: fatal error: gtk/gtk.h: No such file or directory
    5 | #include <gtk/gtk.h>
      |          ^~~~~~~~~~~
compilation terminated.
src/bimp-manipulations.c:6:10: fatal error: gtk/gtk.h: No such file or directory
    6 | #include <gtk/gtk.h>
      |          ^~~~~~~~~~~
compilation terminated.
src/bimp-manipulations-gui.c:5:10: fatal error: gtk/gtk.h: No such file or directory
    5 | #include <gtk/gtk.h>
      |          ^~~~~~~~~~~
compilation terminated.
src/bimp-operate.c:6:10: fatal error: gtk/gtk.h: No such file or directory
    6 | #include <gtk/gtk.h>
      |          ^~~~~~~~~~~
compilation terminated.
src/bimp-serialize.c:6:10: fatal error: glib.h: No such file or directory
    6 | #include <glib.h>
      |          ^~~~~~~~
compilation terminated.
src/bimp-utils.c:7:10: fatal error: gtk/gtk.h: No such file or directory
    7 | #include <gtk/gtk.h>
      |          ^~~~~~~~~~~
compilation terminated.
src/manipulation-gui/gui-changeformat.c:1:10: fatal error: gtk/gtk.h: No such file or directory
    1 | #include <gtk/gtk.h>
      |          ^~~~~~~~~~~
compilation terminated.
src/manipulation-gui/gui-color.c:1:10: fatal error: gtk/gtk.h: No such file or directory
    1 | #include <gtk/gtk.h>
      |          ^~~~~~~~~~~
compilation terminated.
src/manipulation-gui/gui-crop.c:1:10: fatal error: gtk/gtk.h: No such file or directory
    1 | #include <gtk/gtk.h>
      |          ^~~~~~~~~~~
compilation terminated.
src/manipulation-gui/gui-fliprotate.c:1:10: fatal error: gtk/gtk.h: No such file or directory
    1 | #include <gtk/gtk.h>
      |          ^~~~~~~~~~~
compilation terminated.
src/manipulation-gui/gui-rename.c:3:10: fatal error: gtk/gtk.h: No such file or directory
    3 | #include <gtk/gtk.h>
      |          ^~~~~~~~~~~
compilation terminated.
src/manipulation-gui/gui-resize.c:1:10: fatal error: gtk/gtk.h: No such file or directory
    1 | #include <gtk/gtk.h>
      |          ^~~~~~~~~~~
compilation terminated.
src/manipulation-gui/gui-sharpblur.c:1:10: fatal error: gtk/gtk.h: No such file or directory
    1 | #include <gtk/gtk.h>
      |          ^~~~~~~~~~~
compilation terminated.
src/manipulation-gui/gui-userdef.c:1:10: fatal error: gtk/gtk.h: No such file or directory
    1 | #include <gtk/gtk.h>
      |          ^~~~~~~~~~~
compilation terminated.
src/manipulation-gui/gui-watermark.c:3:10: fatal error: gtk/gtk.h: No such file or directory
    3 | #include <gtk/gtk.h>
      |          ^~~~~~~~~~~
compilation terminated.
src/images/bimp-icons.c:1:10: fatal error: gio/gio.h: No such file or directory
    1 | #include <gio/gio.h>
      |          ^~~~~~~~~~~
compilation terminated.
make: *** [Makefile:9: make] Error 1
dinucci commented 11 months ago

just for heads up, it works in Garuda Linux but not in Manjaro. both arch based

skeezmoe commented 5 months ago

This also fails to build on Endeavour OS. Doing sudo pacman -S gimptool libgimp2.0-dev fails since these are not in the AUR or standard repo.