[Gambas-user] Warning popup: “No terminal emulator found”
dahaiou at gmail.com
dahaiou at gmail.com
Thu Feb 11 17:53:24 CET 2021
Hello, and thanks Bruce and Benoit.
Benoit, yes, “Use terminal emulator” was checked.
Bruce: OK, I uninstalled and reinstalled WSL Ubuntu 20.04, ran the update and upgrades
and then installed qt5 and gambas3**.
However, I now ran into the same qt5 error message as before.
After a bit of digging I found that other people have had the same difficulties running
qt5 under WSL1, and a suggested solution here:
https://stackoverflow.com/questions/63627955/cant-load-shared-library-libqt5core-so-5
I ran the command they gave there:
sudo strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
... and lo and behold gambas3 fired up correctly – “vanilla stable” installation this time.
(the one I got working a couple of days ago was from the daily ppa, didn’t need that this time)
Not sure what that “strip” command actually does, but apparently it is necessary for Qt5 to work in WSL1.
(Unfortunately I cannot run WSL2 because it requires hypervisor settings to be enabled in Windows
which I refuse to do, as VirtualBox and VMWare would no longer work.)
Oh, and the issue with “No terminal emulator found” is gone as well.
So, issues solved for the time being I guess.
Ah, one last question: What are you guys using to answer the posts here, that inserts those “>” signs
at the beginning of quoted lines? I don't feel terribly motivated to put them in manually.
(I am sending this as mail from Outlook at the moment - I did change to plain text, hopefully that
gets rid of the double linefeeds.)
Cheers, Henrik
From: User <user-bounces at lists.gambas-basic.org> On Behalf Of Bruce Steers
Sent: Thursday, 11 February 2021 16:30
To: Gambas Mailing List <user at lists.gambas-basic.org>
Subject: Re: [Gambas-user] Warning popup: “No terminal emulator found”
Please let us know what version of Gambas you are using and what system so we can better help.
I think maybe you should re-install your wsl it seems broken in more ways than one.
with the problems you had with qt5 libs and now this i think maybe your linux has many problems.
I do not have any of these issues on my Ubuntu 20.04.
But i do not use windows so my ubuntu is not an emulated one.
Is your system up to date?
sudo apt-get update
sudo apt-get full-upgrade
Or maybe you still did not clean out your old gambas properly.
sudo apt-get remove gambas3*
sudo rm -rf /usr/libs/gambas3
sudo rm -rf /usr/share/gambas3
sudo rm -rf /usr/bin/gb*
sudo apt-get install gambas3*
maybe the compilation install may do a better job?
BruceS
On Thu, 11 Feb 2021 at 15:08, <mailto:dahaiou at gmail.com> wrote:
Hello,
Thanks for the help a few days ago to get gambas working.
First thing I did was create a console application, taking the stock “Hello World” template,
and adding a couple of bells – whistles to follow soon hopefully. See “CODE” below.
The program works as expected, when compiled and outside the IDE, but whenever
I launch it from within the IDE I get a popup message “No terminal emulator found”.
After simply cancelling the popup it still runs correctly in the IDE, but the popup appears
again, on every execution. It’s a minor nuisance but I’m sure it’s not meant to work that way.
I am guessing it is some kind of easily fixable configuration issue,
but not sure how to go about it.
How can I fix it?
best, Henrik
here’s the code so far:
=========== CODE ===================
Public Sub Main()
Dim name As String
name = "Buster"
Print "Whaz your name then, eh? ";
Flush
Line Input name
Print "Hello " & name & ". See you made it here too..."
Print "Bye."
End
=========== CODE ===================
----[ http://gambaswiki.org/wiki/doc/netiquette ]----
More information about the User
mailing list