problem with POY 5.1.1 on linux

97 views
Skip to first unread message

jan

unread,
Nov 16, 2014, 8:37:05 AM11/16/14
to po...@googlegroups.com
Hi all,

When I try to use poy 5.1.1 on linux, the screen kind of flickers and I see the cursor quickly jump between and within the different windows. As a result, it's impossible to enter commands. I have this problem with the precompiled linux package (ncurses executable, Mint 14 under Virtualbox and Ubuntu 14.04 under VMWare) and when compiling from source code (native 32 bit Mint 17). I don't have this problem with the precompiled windows package. Has anyone seen this before?

Compilation after a fresh 32-bit native install of Linux Mint 17 (qiana) was straightforward (in the src subdir):

sudo apt-get install libz-dev
sudo apt-get install ocaml-interp
sudo apt-get install camlp4-extra
./configure
make
sudo make install

gcc was 4.8.2, ocaml  4.01.0

Thanks in advance
Best

Jan de Laet
www.anagallis.be

pas...@gmail.com

unread,
Nov 17, 2014, 7:51:59 AM11/17/14
to po...@googlegroups.com
Hi,

I have the same problem on Debian 64 bit - screen flickers very quickly and the work is not possible. What's more, when I try to use the GUI (binaries) I get the following error: 
"An exception of class HTMLViewerException was not handled. The application must shut down. Exception Message: HTMLViewer requires libwebkit/libwebkitgtk or libgtkhtml".

I have installed all of these packages: libwebkitgtk-1.0-0, libwebkitgtk-3.0-0, libwebkit2gtk, libgtkhtml-4.0-0, libgtkhtml3.14-19.

Does anyone know what the problem might be? I will be very grateful for your help.

All the best,
Greg

Nick Lucaroni

unread,
Nov 17, 2014, 12:21:11 PM11/17/14
to POY Google Group

Thanks for reporting this. I saw the same thing, but i chalked it up to running the application within tmux or screen. I'll investigate the issue. I have the same distribution and version as you, so I'll reply when I have a solution. The unfortunate thing is that section of code hasn't been modified in some time, so it's most likely a "feature" in ncurses --we may not be doing something idiomatic anymore.

In the meantime you can modify the configure step to exclude ncurses..

./configure --enable-interface=readline or ./configure --enable-interface=flat

You'll have to install readline to use it but it's very helpful (and you may have it). readline will just give you the ability to access the history of commands and use the arrow keys sensibly. If you don't have ncurses installed we fall back to readline, then (if you dont' have that) to a flat interface. If you specify one, we don't do any fallback as a requirement by the user wasn't matched.

Let me know if you discover anything about this!

cheers,
  nick



--
You received this message because you are subscribed to the Google Groups "POY - Phylogenetic Analysis Software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to poy4+uns...@googlegroups.com.
To post to this group, send email to po...@googlegroups.com.
Visit this group at http://groups.google.com/group/poy4.
For more options, visit https://groups.google.com/d/optout.

Jan De Laet

unread,
Nov 17, 2014, 2:37:01 PM11/17/14
to Nick Lucaroni, po...@googlegroups.com
Thanks Nick! I actually like the readline interface better than the ncurses interface (I know, I should have read the FM years ago...). I agree it may well be the ncurses library, not POY proper. If I figure something out about it, I'll let you know. But the incentive's gone now :-).
 
Best
 
  -- Jan
 
Jan De Laet
 
P.s. For completeness, Mint17 does not come with readline. So here's what to do (src subdir once more):
 
make clean # clean up the previous compilation with ncurses
 
sudo apt-get install libreadline-dev
./configure --enable-interface=readline
make
sudo make install

========================================
Op 17 november 2014 schreef Nick om 18:20
----------------------------------------------------------------------
Reply all
Reply to author
Forward
0 new messages