Handling Missing X Libs Better

Allen Winter winter at kde.org
Tue Feb 27 19:20:36 CET 2007


Howdy,

Here's a problem with the buildsystem that I hope a cmake guru can fix.
A least twice I've had to help people on $kde4-devel with the following scenario:

- user runs cmake && make
- compile fails due to missing ICE include files
- user installs their distros libICE-devel packages
- user runs cmake && make
- linking fails (can't find libICE)

apparently the fact that libICE can't be found is cached.
so the user needs to remove their cmake cache so the
search for libICE is re-run and then added to the linker libs list.

Should there be an error exit from cmake if libICE can't be found
in the first place? 

-Allen


-- 
KDEPIM Developer
I accept PayPal payments to awinterz at earthlink.net


More information about the Kde-buildsystem mailing list