Version: 3.2.1 (using KDE KDE 3.2.1) Installed from: Compiled From Sources Compiler: gcc 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk) OS: Linux Hi all, While running cd meta/everything make install konstruct 3.2.1 it stops with the error message at the bottom of this text. The problem is konstruct didn't yet build Imagemagick. By going to the imagemagick directory, running make manually the libraries are built. Going back to meta/everything and running make install doesn't work, because it still can't find the libs. Copying the Imagemagick libs manually to /usr/lib and /usr/lib/.libs (LD_LIBRARY_PATH is ignored, btw!) allows the make install to proceed. Mihai Basa /bin/sh ../../../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -I/home/mihai/kde3.2.1/include -I/usr/X11R6/include -L/home/mihai/kde3.2.1/lib -L/usr/X11R6/lib -O2 -pipe -I/home/mihai/kde3.2.1/include -I/usr/X11R6/include -L/home/mihai/kde3.2.1/lib -L/usr/X11R6/lib -O2 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -L/home/mihai/kde3.2.1/lib -L/usr/X11R6/lib -L/home/mihai/kde3.2.1/lib -L/usr/X11R6/lib -o libkwordlatexexport.la -rpath /home/mihai/kde3.2.1/lib/kde3 -L/usr/X11R6/lib -L/home/mihai/kde3.2.1/lib -module -avoid-version -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined libkwordlatexexport_la.all_cc.lo ../../../../lib/kofficeui/libkofficeui.la ../../../../lib/kofficecore/libkofficecore.la ../../../../lib/store/libkstore.la ../../../../lib/kformula/libkformula.la -lMagick -llcms -ltiff -lfreetype -ljpeg -lpng -lXext -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm libtool: link: warning: `/usr/X11R6/lib/libGL.la' seems to be moved libtool: link: warning: `/usr/X11R6/lib/libGL.la' seems to be moved libtool: link: warning: `/usr/X11R6/lib/libGL.la' seems to be moved libtool: link: warning: `/usr/X11R6/lib/libGL.la' seems to be moved libtool: link: warning: `/usr/X11R6/lib/libGL.la' seems to be moved libtool: link: warning: `/usr/X11R6/lib/libGL.la' seems to be moved libtool: link: warning: `/usr/X11R6/lib/libGL.la' seems to be moved libtool: link: warning: `/usr/X11R6/lib/libGL.la' seems to be moved libtool: link: warning: `/usr/X11R6/lib/libGL.la' seems to be moved libtool: link: warning: `/usr/X11R6/lib/libGL.la' seems to be moved libtool: link: warning: `/usr/X11R6/lib/libGL.la' seems to be moved /usr//bin/ld: cannot find -lMagick collect2: ld returned 1 exit status make[7]: *** [libkwordlatexexport.la] Error 1 make[7]: Leaving directory `/home/mihai/src/konstruct/apps/koffice/work/koffice-1.3/filters/kword/latex/export' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory `/home/mihai/src/konstruct/apps/koffice/work/koffice-1.3/filters/kword/latex' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/home/mihai/src/konstruct/apps/koffice/work/koffice-1.3/filters/kword' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/mihai/src/konstruct/apps/koffice/work/koffice-1.3/filters' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/mihai/src/konstruct/apps/koffice/work/koffice-1.3' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/mihai/src/konstruct/apps/koffice/work/koffice-1.3' make[1]: *** [build-work/koffice-1.3/Makefile] Error 2 make[1]: Leaving directory `/home/mihai/src/konstruct/apps/koffice' make: *** [dep-../../apps/koffice] Error 2
Added dependency. Likely you didn't rerun KOffice's configure after imagemagick installation (try cd apps/koffice;make garchive clean install). But it shouldn't have failed there at all, so broken configure check for ImageMagick?
Isn't konstruct about release tarballs? Isn't krita (and the imagemagick check) excluded from release tarballs anyway? This is confusing me (unless we forgot to remove krita from a release). > LD_LIBRARY_PATH is ignored, btw! Of course it is. That's for runtime only, not for link time. > warning: `/usr/X11R6/lib/libGL.la' seems to be moved Distribution bug > Copying the Imagemagick libs manually to /usr/lib and /usr/lib/.libs allows the make install to proceed. Another distribution bug. Your /usr/lib/libMagick.la file says installed=no instead of installed=yes.
> Isn't konstruct about release tarballs? Yes. > Isn't krita (and the imagemagick check) excluded from release tarballs anyway? This is not about krita but KWord's LaTeX export filter (see above) which uses it too.
>> LD_LIBRARY_PATH is ignored, btw! >Of course it is. That's for runtime only, not for link time. I see. My bad :). Apologies! >> warning: `/usr/X11R6/lib/libGL.la' seems to be moved >Distribution bug That started appearing everywhere once I put a link to libGL.la in a more visible place. Konstruct was missing it before. Seems harmless, and I believe it's unrelated. >> Copying the Imagemagick libs manually to /usr/lib and /usr/lib/.libs allows >>the make install to proceed. >Another distribution bug. Your /usr/lib/libMagick.la file says installed=no >instead of installed=yes I already had a Mandrakish Imagemagick. It didn't have any /usr/lib/libMagick.la . I believe konstruct is supposed to stay in it's own workdirectory (it builds its own Imagemagick). Copying the manually built libs to /usr/libs was a hack on my part, because it wasn't detecting that they had been built, probably for the reason Stephan mentioned in #1. The question is why hadn't they been built yet? I have been able to build KDE 3.2 with Konstruct before. Actually it was still installed, in ~/kde3.2 . I also had my KDE 3.1.3 that came with Mandrake 9.2. I suppose if no-one else had this problem it might be specific to my system setup...
Konstruct didn't build its own ImageMagick because KOffice was not declared to depend on it before. The real question is why configure didn't detect that ImageMagick was missing or if it detected it why it didn't exclude filters/kword/latex/export from compilation.
Actually the use of imagemagic in the latex export filter seems optional. The filter shouldn't be disabled when imagemagic isn't there - it should simply not try to link to it. Is this bug still there? I can't see how $(LIBMAGICK_LIBS) would contain -lMagick if imagemagic wasn't found by configure.
(I'm the original reporter of this bug.) It seems no-one else has confirmed this bug, so it might have either gone away or be a very rare system-specific thing. I haven't rebuilt KDE since the 3.2.1 version. I'll try to a rebuild with the latest version of konstruct soon and see if it still happens. Or if I don't have time for that I'll just mark the bug resolved in a few weeks, if no-one has any objections. Thank you!
I'm closing this bug, as it seems to be still unconfirmed.