Version: 3.4.3 (using KDE KDE 3.4.2) Installed from: Gentoo Packages Compiler: gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8) OS: Linux (i686) release 2.6.13-gentoo-r4 When I`m trying to build kdebase-3.4.3 with new modular xorg7rc0 on my gentoo it gives me an error about missing (xmkmf)imake: checking for pkg-config... /usr/bin/pkg-config checking linux/raw.h usability... yes checking linux/raw.h presence... yes checking for linux/raw.h... yes checking sys/raw.h usability... yes checking sys/raw.h presence... yes checking for sys/raw.h... yes checking for GL... yes checking for long long... yes checking for libusb-config... /usr/bin/libusb-config checking for main in -lusb... yes checking for freetype-config... /usr/bin/freetype-config checking for fontconfig-config... (cached) not found checking for pkg-config... /usr/bin/pkg-config checking OS... Linux checking X11/fonts/fontenc.h usability... yes checking X11/fonts/fontenc.h presence... yes checking for X11/fonts/fontenc.h... yes checking whether i686-pc-linux-gnu-g++ supports -shared... yes checking for FontEncDirectory in -lfontenc... yes checking X11/Xft/Xft.h usability... yes checking X11/Xft/Xft.h presence... yes checking for X11/Xft/Xft.h... yes checking for getifaddrs... yes checking for getnameinfo... yes checking for struct sockaddr.sa_len... no checking for X11/extensions/Xrandr.h... yes checking for XRRSetScreenConfigAndRate in -lXrandr... yes checking for GL... (cached) yes checking for glXChooseVisual in -lGL... yes checking kcarddb.h usability... no checking kcarddb.h presence... no checking for kcarddb.h... no checking libraw1394/raw1394.h usability... yes checking libraw1394/raw1394.h presence... yes checking for libraw1394/raw1394.h... yes checking for sigset... yes checking for sigaction... yes checking for X11/extensions/scrnsaver.h... yes checking for XScreenSaverQueryInfo in -lXext... no checking whether i686-pc-linux-gnu-g++ supports -shared... (cached) yes checking for XScreenSaverQueryInfo in -lXss... yes checking for X11/extensions/xf86misc.h... yes checking for XF86MiscQueryVersion in -lXxf86misc... yes checking for XF86MiscSetGrabKeysState in -lXxf86misc... yes checking for GL... (cached) yes checking for glXChooseVisual in -lGL... (cached) yes checking "struct ucred"... yes checking nogroup... nogroup checking for getpeereid... no checking for xmkmf... /usr/bin/xmkmf checking X paths... failed configure: error: /usr/bin/xmkmf (imake) failed. Make sure you have all necessary X development packages installed. On some systems a missing /lib/cpp symlink is at fault. !!! ERROR: kde-base/kdebase-3.4.3 failed. !!! Function kde_src_compile, Line 156, Exitcode 1 !!! died running ./configure, kde_src_compile:configure !!! If you need support, post the topmost build error, NOT this status message.
Ossi: I think the only thing that requires xmkmf is kdm, so can you take a look?
yes, known one ... somebody wanted to provide the pkg-config based configure snippet. ;) fwiw, i'm wondering why xmkmf is installed when it doesn't work anyway ...
assuming it outputs "don't use me, I'm dead" :)
Created attachment 13056 [details] kdm-no-imake.patch The attached patch is a minimal approach to solve this issue. It lets the user specify the location of the X binaries and libraries through --with-x-libraries-dir and --with-x-binaries-dir switches and defaults to the values detected during the standard configure process (why redoing a check that was already done anyway? :).
*** Bug 122722 has been marked as a duplicate of this bug. ***
wontfix, as far as kde3 is concerned. fixed in kde4.