Gimp install failed
Hello, I tried to install gimp and the compilation failed. In short: - is there a problem in the port or somewhere else ? - what's the easiest way to solve the problem ? Here is what I get after a compilation: ---------- caped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/^\s*typedef\s+enum\s* ({ <-- HERE )?\s* (?:/\*< (([^*]|\*(?!/))*) >\s*\*/)? / at ../tools/gimp-mkenums line 270. GEN gimpcompatenums.c CC gimpcompatenums.lo GEN gimpbaseenums.c CC gimpbaseenums.lo CCLD libgimpbase-2.0.la /bin/sed: can't read /usr/lib/libgobject-2.0.la: No such file or directory libtool: error: '/usr/lib/libgobject-2.0.la' is not a valid libtool archive make[2]: *** [Makefile:1069: libgimpbase-2.0.la] Error 1 make[2]: Leaving directory '/usr/ports/opt/gimp/work/src/gimp-2.10.8/libgimpbase' make[1]: *** [Makefile:858: all-recursive] Error 1 make[1]: Leaving directory '/usr/ports/opt/gimp/work/src/gimp-2.10.8' make: *** [Makefile:759: all] Error 2 =======> ERROR: Building '/usr/ports/opt/gimp/gimp#2.10.8-1.pkg.tar.gz' failed. --------------------- I know from a similar problem I have to grep the libgobject-2.0.la and to rebuild those ports, so something like grep -r -o libgobject-2\.0\.la in /usr/lib. But I get a lot of matches. Heres is an extract: ------------------ gstreamer-1.0/libgsttypefindfunctions.la:libgobject-2.0.la gstreamer-1.0/libgstadder.la:libgobject-2.0.la gstreamer-1.0/libgstpbtypes.la:libgobject-2.0.la ImageMagick-7.0.7/modules-Q16HDRI/coders/pango.la:libgobject-2.0.la libappindicator3.la:libgobject-2.0.la libatkmm-1.6.la:libgobject-2.0.la libatkmm-1.6.la:libgobject-2.0.la libdbusmenu-glib.la:libgobject-2.0.la libdbusmenu-gtk3.la:libgobject-2.0.la libgdkmm-2.4.la:libgobject-2.0.la libgdkmm-2.4.la:libgobject-2.0.la libgegl-0.4.la:libgobject-2.0.la libgegl-npd-0.4.la:libgobject-2.0.la libgegl-sc-0.4.la:libgobject-2.0.la libgexiv2.la:libgobject-2.0.la libgiomm-2.4.la:libgobject-2.0.la libgiomm-2.4.la:libgobject-2.0.la libglade-2.0.la:libgobject-2.0.la libglade-2.0.la:libgobject-2.0.la libglibmm-2.4.la:libgobject-2.0.la libglibmm_generate_extra_defs-2.4.la:libgobject-2.0.la libgmime-3.0.la:libgobject-2.0.la libgstallocators-1.0.la:libgobject-2.0.la libgstapp-1.0.la:libgobject-2.0.la libgstaudio-1.0.la:libgobject-2.0.la libgstbase-1.0.la:libgobject-2.0.la libgstcheck-1.0.la:libgobject-2.0.la ---------------- If I need to rebuild all these ports separately, it will take a lot of time. For sure I don't have to rebuild all of them. So what's the best way to solve the problem ? Thank you!
On Wed, Jul 17, 2019 at 04:41:03PM +0200, Cédric wrote:
---------- caped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/^\s*typedef\s+enum\s* ({ <-- HERE )?\s* (?:/\*< (([^*]|\*(?!/))*) >\s*\*/)? / at ../tools/gimp-mkenums line 270. GEN gimpcompatenums.c CC gimpcompatenums.lo GEN gimpbaseenums.c CC gimpbaseenums.lo CCLD libgimpbase-2.0.la /bin/sed: can't read /usr/lib/libgobject-2.0.la: No such file or directory libtool: error: '/usr/lib/libgobject-2.0.la' is not a valid libtool archive make[2]: *** [Makefile:1069: libgimpbase-2.0.la] Error 1 make[2]: Leaving directory '/usr/ports/opt/gimp/work/src/gimp-2.10.8/libgimpbase' make[1]: *** [Makefile:858: all-recursive] Error 1 make[1]: Leaving directory '/usr/ports/opt/gimp/work/src/gimp-2.10.8' make: *** [Makefile:759: all] Error 2 =======> ERROR: Building '/usr/ports/opt/gimp/gimp#2.10.8-1.pkg.tar.gz' failed. ---------------------
Ok, I didn't had a look at the other mails on the mailing list and the best way to solve it is the following: prt-cache update -fr \ `for f in $(grep -lr "libgobject-2.0.la" /usr/lib/ 2> /dev/null | sed 's|.*/||'); \ do prt-get fsearch $f | grep '^Found in' | sed -e 's|.*/||' -e 's|:$||'; \ done | sort -u | xargs prt-cache isinst | grep -e 'is installed' | awk '{ print $2 }'` But for the moment I still can't install gimp. The compilation of exiv2 doesn't work, the same as for libmypaint. I have to try it diffently and I'll post again with a different subject.
Hi Cédric, On Fri, 19 Jul 2019 13:06:40 +0200 Cédric <rainbow@indie.host> wrote:
The compilation of exiv2 doesn't work, the same as for libmypaint.
since I bumped exiv2 recently [1], please let me know where it's going wrong for you. If you mean gexiv2, there is a fix on flyspray waiting to be merged [2]. Best regards Tim [1] https://crux.nu/gitweb/?p=ports/contrib.git;a=commit;h=8a587985ec7c7aafa2120... [2] https://crux.nu/bugs/index.php?do=details&task_id=1753 -- Tim Biermann
Hi Tim and Fredrik, thank you for your hints. I recompiled everything but it wasn't enough.
since I bumped exiv2 recently [1], please let me know where it's going wrong for you. If you mean gexiv2, there is a fix on flyspray waiting to be merged [2].
I updated to the new version of gexiv2, it's probably necessary. And I also had a compilation error in gegl. I have reported a request for the last version of gegl (0.4.16). With the updated version, I can also compile gegl and then gimp. So I was finally able to install it. For the moment I have written my own ports. Thank you for your help! Best regards, Cédric
On 7/19/19 1:06 PM, Cédric wrote:
/bin/sed: can't read /usr/lib/libgobject-2.0.la: No such file or directory libtool: error: '/usr/lib/libgobject-2.0.la' is not a valid libtool archive
Please see the previous thread https://lists.crux.nu/pipermail/crux/2019-July/006318.html Its the same principle, just replace libglib-2.0.la with libgobject-2.0.la
participants (3)
-
Cédric
-
Fredrik
-
Tim