I just hits this issue while installing fvwm: >>> Completed installing fvwm-2.5.31 into /var/tmp/portage/x11-wm/fvwm-2.5.31/image/ * QA Notice: command not found: * * checking for GDK IMLIB - version >= 1.8.0... /usr/bin/imlib-config: line 52: --cflags: command not found * /usr/bin/imlib-config: line 60: --libs: command not found ecompressdir: bzip2 -9 /usr/share/man >>> Installing (1 of 1) x11-wm/fvwm-2.5.31 It seems there are backticks instead of apostrophes in the shell script: 51 --cflags-gdk) 52 echo ` --cflags` $includes 53 ;; 54 --libs) 55 libdirs=-L${exec_prefix}/lib 56 echo $libdirs -lImlib -Wl,-O1 $gx_libs -lXext -lSM -lICE -lXext -lX11 57 ;; 58 --libs-gdk) 59 libdirs=-L${exec_prefix}/lib 60 echo $libdirs -lgdk_imlib$gdk_gx_libs ` --libs` $gdk_libs 61 ;; 62 *) 63 echo "${usage}" 1>&2 64 exit 1
For imlib gdk, you need to compile media-libs/imlib with USE deprecated, that will pull in gtk+-1.2 so I assume fvwm is missing USE dep of media-libs/imlib[deprecated] or rather, because *nothing* should depend on the deprecated flag anymore because it's about to be removed entirely the check for it should be patched out of fvwm's configure script. so a fvwm bug, not a imlib bug
so fvwm maintainers: please remove any checks for GDK IMLIB from your package. thanks
(In reply to comment #2) > so fvwm maintainers: please remove any checks for GDK IMLIB from your package. > thanks > Who will fix the /usr/bin/imlib-config file? I changed the backticks on lines 52 and 60 and everything seemd fine. Or does the commenmt #2 means the fiel will be dropped? No, can't be, it belongs to imlib and not to fvwm, so I am puzzled. I have on my system (if it helps to you): # emerge --unmerge --pretend gtk+ * This action can remove important packages! In order to be safer, use * `emerge -pv --depclean <atom>` to check for reverse dependencies before * removing packages. >>> These are the packages that would be unmerged: x11-libs/gtk+ selected: 1.2.10-r12 2.20.1-r1 protected: none omitted: none ^C # emerge -pv gtk+ fvwm imlib These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] x11-wm/fvwm-2.5.31 USE="netpbm nls perl png readline svg tk truetype xinerama -bidi -debug -doc -gtk2-perl -lock -rplay -stroke -vanilla" 0 kB [ebuild R ] media-libs/imlib-1.9.15-r2 USE="-deprecated -doc*" 668 kB [ebuild R ] x11-libs/gtk+-2.20.1-r1 USE="cups jpeg jpeg2k tiff vim-syntax xinerama (-aqua) -debug -doc (-introspection) -test" 0 kB
(In reply to comment #1) > For imlib gdk, you need to compile media-libs/imlib with USE deprecated, that > will pull in gtk+-1.2 > > so I assume fvwm is missing USE dep of media-libs/imlib[deprecated] or rather, Nah, you don't think so. At least that's what the Changelog says ;) 24 Nov 2009; Samuli Suominen <ssuominen@gentoo.org> -fvwm-2.5.18-r1.ebuild, fvwm-2.5.27-r1.ebuild, fvwm-2.5.28.ebuild: Remove USE gtk and imlib (media-libs/imlib[deprecated]). It was removed for a reason, and I remember working on this some time ago. I contributed some fixes via Jeremy Olexa as a proxy maintainer, though I can hardly remember the details. In any case, I don't think we should be adding gtk+-1.x based functionality in Gentoo again, after having battled for so long to remove xmms and the likes from the tree. The ebuild even implicitly removes some file that need the gtk-perl module (gtk 1.x based), and that's fully intentional. > because *nothing* should depend on the deprecated flag anymore because it's > about to be removed entirely the check for it should be patched out of fvwm's > configure script. > > so a fvwm bug, not a imlib bug Probably, but this builds for me. I can't certainly reproduce this error using the USE flags the original posted supplied above. I can see the configure script fails to find imlib gdk, but that's quite usual in configure scripts, isn't it? checking for imlib-config... no checking for GDK IMLIB - version >= 1.8.0... no
imlib-config is entirely gone now as of 1.7.5.
(In reply to Sam James from comment #5) > imlib-config is entirely gone now as of 1.7.5. Oh, sorry, that's imlib2.