trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: December 2011

Re: [trinity-devel] KOffice 3.5.13 FTBFS

From: Darrell Anderson <humanreadable@...>
Date: Wed, 7 Dec 2011 18:55:17 -0800 (PST)
> Hello, I've already built and packaged Koffice for RHEL and
> Fedora. It is available on the TDE GIT.
> 
> http://git.trinitydesktop.org/cgit/tde-packaging/tree/redhat/applications/koffice
> 
> About GraphicsMagick, it looks like only version 1.1.x
> (1.1.15 in my case) will allow Koffice to build. Neither
> version 1.2.x nor 1.3.x will work.
> That's why I've done a patch to prevent Koffice to link
> against GM if installed version is >= 1.2  .
> 
> About ImageMagick, Fedora version is 6.7.0.10 and I had no
> problem compiling with it (with or without GM).
> 
> Good luck for the Slackware package :)
> Francois Andriot

Some progress. :) I merges some *magick related patches from Fedora.

I finally found a way to build GraphicsMagick 1.1.15 in Slackware 13.1. I had to create a gcc43 patch and a patch to explicitly include libpng12/png.h rather than libpng14/png.h. Slackware 13.1 includes both but defaults to libpng14.

With or without GraphicsMagick 1.1.15, the build fails as before with all of the /usr/lib/libMagickCore.so: undefined reference errors.

Adding -l/usr/lib/libMagickWand.so to the LDFLAGS does not help.

When I remove ImageMagick and have GraphicsMagick 1.1.15 installed then KOffice builds. Yet only chalk and krossrunner build.

An hour and 20 minutes for the build and the build is incorrect. :(

Any other ideas?

Darrell