trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

Re: [trinity-devel] kchmviewer - configure failure: conditional "include_x11" was never defined.

From: Darrell Anderson <humanreadable@...>
Date: Thu, 29 Mar 2012 14:15:37 -0700 (PDT)
>   I ran into a configure failure regarding the
> conditional "include_x11":
> 
> chmlib to link : system
> checking if lib should be compiled... yes
> checking if po should be compiled... yes
> checking if src should be compiled... yes
> configure: error: conditional "include_x11" was never
> defined.
> Usually this means the macro was only invoked
> conditionally.
> 
>   Is this a failure of the build script to include a
> necessary file or is this a failure of the configure code? I
> haven't run into a "conditional never defined" error with
> TDE before. What say the experts?
> 
>   More importantly, how to fix it? All includes are in
> /usr/include/X11 - a pretty standard location.

Add the --with-kde configure option.

I believe kchmviewer is written to build with or without kde and can be built only against Qt3. Our version is (T)Qt3 no longer resembles what the original programming expects with Qt3. Therefore kchmviewer must be explicitly built against the t/kde libraries.

Darrell