On Sun, Feb 14, 2016 at 3:59 PM, Bill Page <bill.p...@newsynthesis.org>
wrote:

> Gaby,
>
> I was been able to compile and run open-axiom just fine until I
> started to wonder about QT front end.  So I decided to install QT.  By
> default that meant QT5 on my distribution (OpenSuse Leap).
>

Thanks, Bill.  The QT front-end is what I would want as replacement for the
existing X11-based HyperDoc and Graphics component, because it is
cross-platform (unlike X11), well-supported with high-level abstraction
primitives for writing a good GUI.  It is also now standard in the *nix
world.

However, it is at this point a work-in-progress and I would very much like
to see it progress at a faster pace.

On the other hand we have the QT4 vs. QT5 split.  When I wrote the original
skeleton, QT-4.8.something was all rage.  My 2-3 years hiatus haven't
helped keeping pace.  I would like to use QT5 as an axiomatic requirement.
Is that too much of a burden?

My personal development environment these days is OS X El Capitan, I can
have access to OpenSUSE Tumbleweed but only sporadically.  I would have to
rely on you for OpenSUSE Leap -- I am not familiar with its characteristics.


> Re-compiling resulted in a compiler error due to:
>
> diff --git a/config/open-axiom.m4 b/config/open-axiom.m4
> index 4c4a722..54a90d4 100644
> --- a/config/open-axiom.m4
> +++ b/config/open-axiom.m4
> @@ -1036,7 +1036,7 @@ AC_PATH_XTRA
>  ## complication right now.  Will fix later.
>  ## But we can check for the existence of <X11/xpm.h>
>  ## Also check for Xt headers
> -X_PRE_LIBS="-lXpm -Xt $X_PRE_LIBS"
> +X_PRE_LIBS="-lXpm -lXt $X_PRE_LIBS"
>  AC_SUBST(X_PRE_LIBS)
>
> --
>

Thanks for catching this -- it didn't surface on the OpenSUSE Tumbleweed
platform I tested it on, for some reasons.  Committed to mainline.


>
> With this patch I was able to compile open-axiom but I did not get the
> QT front end.  Checking config.log, I noticed that it was expecting to
> find. qmake.


That is correct.  Testing for QT currently relies on finding qmake (and
moc).  If that utility isn't in the path, then the configuration script
just assumes that QT isn't there.  It can be a problem on some platforms
like yours, but also OS X with QT5 installed via MacPorts which will put it
in an odd place without the appropriate symlinks.  On OpenSUSE Tumbleweed
and a couple of linux platforms, it wasn't a problem.


> Unfortunately qmake is only available with QT4.  So I
> installed QT4 and tried again.
>
> This time the compile worked and I apparently got the QT front end
> built and installed but when I run 'open-axiom' terrible things
> happen.


Ouch! Does not sound good.


> My desktop becomes non-responsive and I see about three or
> four windows with the gui open.  If I cntl-alt-F1 and 'killall -9
> AXIOMsys', I can return to my desktop and continue.  But I am not
> longer able to start open-axiom sucessfully no matter which option I
> choose (e.g. --no-gui still fails in the same way).
>

Ouch, this is bizarre, and I don't think it is related to the QT
front-end...
If you build with QT, and you just start OpenAxiom with

   $ open-axiom

you will NOT get the QT front-end, because it is sill a work-in-progress,
so it is not enabled by  default.  If you start OpenAxiom with

   $ open-axiom --gui

then you get a QT window front-end for OpenAxiom.  It works on relatively
simple stuff, but it is not stable regarding all kinds of error handles and
system-level commands.


>
> Should I expect this to work?
>

Yes, to some degree.  Certainly, I expect it NOT to freeze your system.
Is it possible that the QT4 package itself is so old that it is causing
problems?
>From what you've described with other components such as Xt, it sounds to
me as if this is a "unique" system setup?

-- Gaby
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
open-axiom-devel mailing list
open-axiom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-axiom-devel

Reply via email to