Bug 145513 - cmake error on Solaris - attempts to configure workspace/kcontrol/xinerama but xinerama does not exits on Solaris
Summary: cmake error on Solaris - attempts to configure workspace/kcontrol/xinerama bu...
Status: RESOLVED FIXED
Alias: None
Product: kcontrol
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: Daniel Molkentin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-16 17:06 UTC by Steve Evans
Modified: 2009-01-19 11:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Check for the existence of xinerama (3.07 KB, patch)
2007-05-16 17:07 UTC, Steve Evans
Details
Don't build the Xinerama kcontrol panel on systems without Xinerama (551 bytes, patch)
2007-07-13 07:21 UTC, Jon Severinsson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Evans 2007-05-16 17:06:44 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.4.6 
OS:                Solaris

I get this error from cmake on solaris

CMake Error: This project requires some variables to be set,
and cmake can not find them.
Please set the following variables:
X11_Xinerama_INCLUDE_PATH (ADVANCED)
X11_Xinerama_LIB (ADVANCED)

It happens because kdebase/workspace/kcontrol/xinerama/CMakeLists.txt does not check for the existence of Xinerama, which doesn't exist on Solaris. I added a check which fixed the problem, see the supplied patch.
Comment 1 Steve Evans 2007-05-16 17:07:34 UTC
Created attachment 20594 [details]
Check for the existence of xinerama
Comment 2 Jon Severinsson 2007-07-13 07:21:01 UTC
Created attachment 21128 [details]
Don't build the Xinerama kcontrol panel on systems without Xinerama

This bug is not Solaris specific, my Linux system don't have Xinerama, and then
kdebase won't compile.

This small patch will fix the issue, as you don't need a kcontrol panel to
control Xinerama if you don't have Xinerama...
Comment 3 FiNeX 2008-11-12 13:04:50 UTC
Has this bug been fixed on more recent KDE version like 3.5.10 or 4.x ?
Comment 4 FiNeX 2008-12-20 13:23:09 UTC
Someone with Solaris/Opensolaris should check this bug. Thanks!
Comment 5 groot 2009-01-03 01:07:18 UTC
Checked that Jon's patch was applied in trunkq.