Message: previous - next
Month: June 2012

Re: [trinity-devel] kchmviewer -configure: error: conditional "include_x11" was never defined ??

From: Darrell Anderson <humanreadable@...>
Date: Mon, 25 Jun 2012 19:18:34 -0700 (PDT)
>   I have run into another failure that I don't
> understand. This time it is an error looking for x11 with kchmviewer. I haven't seen this
> error before:
> checking for X... libraries , headers
> checking for gethostbyname... yes
> checking for connect... yes
> checking for remove... yes
> checking for shmat... yes
> checking for IceConnectionNumber in -lICE... yes
> checking for chm_open in -lchm... yes
> Please remember to use GNU make, often installed as gmake.
> Install prefix : /opt/trinity
> KDE support    : disabled.
> Qt includes    :
> Qt libraries   :
> 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
> checking that generated files are newer than configure...
> done
> configure: error: conditional "include_x11" was never
> defined.
> Usually this means the macro was only invoked
> conditionally.
> ==> ERROR: A failure occurred in build().
> Where do I even begin finding out what caused the:
> configure: error: conditional "include_x11" was never
> defined.

I don't have an immediate answer.

Slackware Current was updated today and includes a massive amount of changes, including gcc 4.7.1 and X. I'm resyncing now.

I suspect with these updates I'll run into some of the errors you are seeing. Grepping the kchmviewer sources shows only two references to include_x11:

  AM_CONDITIONAL(include_x11, test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no")

  AM_CONDITIONAL(include_x11, test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no") is a copy from the master admin directory.