gnunn1 / tilix

A tiling terminal emulator for Linux using GTK+ 3
https://gnunn1.github.io/tilix-web
Mozilla Public License 2.0
5.38k stars 293 forks source link

PCRE2 not supported in Ubuntu 17.10 #916

Closed alex285 closed 7 years ago

alex285 commented 7 years ago

when in run Tilix glib.GException.GException@../../.dub/packages/gtk-d-3.5.1/gtk-d/src/glib/GException.d(40): PCRE2 not supported

Ubuntu 17.10 libvte-2.91-0 => 0.48.2

tliron commented 7 years ago

Confirmed fixed in PPA for Ubuntu 17.04.

BTW, I'm also using the GNOME Staging PPA but had this issue, so I guess the fix is only in 17.10+GNOME-staging. :)

AnwarShah commented 7 years ago

Anyone with gnome3 staging ppa enabled is getting it in 17.04. I needed to downgrade the package to the main repo version that is 0.44.2*

alex285 commented 7 years ago

still broken on 17.10 and and Staging PPA

jbicha commented 7 years ago

@alex285 The Ubuntu 17.10 tilix package should work. If it doesn't, file a bug with Ubuntu.

alex285 commented 7 years ago

@jbicha if we compile from source isn't working. last time i tried 2 days ago

jbicha commented 7 years ago

@alex285 Please use the Ubuntu patch if you want to build this on Ubuntu! :smile:

AnwarShah commented 7 years ago

@jbicha Which ubuntu patch should I use if I want to use tilix in 17.04 and keep gnome-terminal 3.24 installed (from staging ppa)

alex285 commented 7 years ago

@jbicha yes what patches? if you mean to use the PPA by @hotice, my question is how we can build and run it from sources in Ubuntu with Ubuntu VTE

@hotice or we can just use the VTE from that PPA?

edit: that PPA doesn't have a VTE! my bad! sorry! edit¹: found the pcre2-version-update.patch

brisssou commented 6 years ago

Hello, I'm facing this issue with ubuntu 17.10 and tilix 1.7.1 1.6.4 is working fine.

jbicha commented 6 years ago

@brissou Where did you get tilix 1.7.1 ? Did you compile from source?

brisssou commented 6 years ago

I just downloaded the release from github.

jbicha commented 6 years ago

@brissou Then you need to grab the pcre2-version-update.patch from Ubuntu's tilix packaging.

brisssou commented 6 years ago

so I need to build tilix from the sources?

jbicha commented 6 years ago

Yes, or just stick with the version of tilix in Ubuntu or maybe someone will make a Snap or a Flatpak or a PPA you could use.

brisssou commented 6 years ago

ok cool. Thanks for the clarification.

gsemet commented 6 years ago

Hello. I see this issue for Guake on 17.10. What a shame, I hope they reenabled PCRE2 on 18.04

arigit commented 6 years ago

@jbicha recently returned to ubuntu with 18.04.1 and noticed the journal polluted by these errors, using the official ubuntu tilix:

Package: tilix
Version: 1.7.7-1ubuntu2
Priority: optional
Section: universe/gnome
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>

In the journal:

(../../src/vtegtk.cc:1906):int vte_terminal_match_add_gregex(VteTerminal*, GRegex*, GRegexMatchFlags): runtime check failed: (g_regex_get_compile_flags(gregex) & G_REGEX_MULTILINE)

Is this supposed to be patched by ubuntu devs?

@nobeh also tried tilix from the webupd8 PPA, the version got upgraded to

Package: tilix
Version: 1.8.3-1~webupd8~bionic0
Priority: optional
Section: gnome

However the issue persists, even after a reboot. Were you able to work around this problem?

nobeh commented 6 years ago

@arigit On Ubuntu 18.04+, I managed to use the following PPA with a working tilix, use at your own risk :warning:

https://launchpad.net/~nilarimogard/+archive/ubuntu/test4

stuaxo commented 5 years ago

My installed version works (I guess I got it from apt) - but just tried building and seemed to hit this:

 ./tilix 
glib.GException.GException@../../../.dub/packages/gtk-d-3.8.3/gtk-d/generated/gtkd/glib/GException.d(41): PCRE2 not supported
bilelmoussaoui commented 5 years ago

@stuaxo Please read this https://github.com/gnunn1/tilix/issues/916#issuecomment-338014352

stuaxo commented 5 years ago

Cheers - looks like Ubuntu isn't going to sort this any time soon, is building Tilix as a flatpak worth a go instead ?

bilelmoussaoui commented 5 years ago

It's a work on progress. The flatpak works already but it crashes from time to time. Few things need to be improved first before getting a fully workig terminal. Then, you will be able to get the latest release easily

FFY00 commented 5 years ago

You can just use dub to compile this and then install the final binary.

stuaxo commented 5 years ago

I did use dub to build this, but I hadn't installed it yet, since tilix is my main terminal emulator, and running this gives the error above.

egmontkob commented 5 years ago

FYI

Ubuntu has finally dropped their pcre revert nightmare. For dingo onwards they'll go with pcre2.

http://changelogs.ubuntu.com/changelogs/pool/main/v/vte2.91/vte2.91_0.54.2-2ubuntu2/changelog https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1666264 https://bugs.launchpad.net/ubuntu/+source/pcre3/+bug/1792544

gnunn1 commented 5 years ago

Awesome, thanks for the heads up.

egmontkob commented 5 years ago

Oh wait... they've dropped it from vte, but not yet from Tilix. Let's hope they'll fix it in time.

benjamin-rood commented 5 years ago

Might I suggest adding the ppa to the readme, for those who want to install a more up-to-date version of Tilix?

sudo add-apt-repository ppa:webupd8team/terminix
sudo apt-get update

I could do a PR with that addition to the README if you want?

You've made a brilliant terminal emulator, the only one I like on Linux. Thank you, and I'm sorry that you're having to deal with this silliness from Ubuntu.