Bug 114466 - can`t build with modular xorg
Summary: can`t build with modular xorg
Status: RESOLVED FIXED
Alias: None
Product: kdm
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdm bugs tracker
URL:
Keywords:
: 122722 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-15 23:05 UTC by Roman Makurin
Modified: 2008-05-19 17:30 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
kdm-no-imake.patch (2.07 KB, patch)
2005-10-19 11:48 UTC, Gregorio Guidi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Makurin 2005-10-15 23:05:13 UTC
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.
Comment 1 Thiago Macieira 2005-10-16 05:57:57 UTC
Ossi: I think the only thing that requires xmkmf is kdm, so can you take a look?
Comment 2 Oswald Buddenhagen 2005-10-16 08:45:36 UTC
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 ...
Comment 3 Stephan Kulow 2005-10-16 09:34:31 UTC
assuming it outputs "don't use me, I'm dead" :)
Comment 4 Gregorio Guidi 2005-10-19 11:48:13 UTC
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? :).
Comment 5 Oswald Buddenhagen 2006-10-13 19:38:28 UTC
*** Bug 122722 has been marked as a duplicate of this bug. ***
Comment 6 Oswald Buddenhagen 2007-04-11 11:58:56 UTC
wontfix, as far as kde3 is concerned.
fixed in kde4.