gnunn1 / tilix

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

Trouble building for Ubuntu 18.10 using README #1688

Open notjames opened 5 years ago

notjames commented 5 years ago

I cloned HEAD today and tried to build using the README and meson instructions https://github.com/gnunn1/tilix/wiki/Building-with-Meson:

This is where I get the following error(s):

[1/66] Generating tilix_gresource with a custom command.
FAILED: data/tilix.gresource 
glib-compile-resources ../data/resources/tilix.gresource.xml --sourcedir ../data/resources/ --sourcedir ../data --internal --generate --target data/tilix.gresource --dependency-file data/tilix.c.d
../data/resources/tilix.gresource.xml: to-pixbuf preprocessing requested but GDK_PIXBUF_PIXDATA not set and gdk-pixbuf-pixdata not found in path.
[2/66] Generating com.gexperts.Tilix.desktop_data_merge with a custom command.
msgfmt: /home/jimconn/go/src/personal/tilix/po/LINGUAS does not exist
[3/66] Generating com.gexperts.Tilix.appdata.xml_data_merge with a custom command.
msgfmt: /home/jimconn/go/src/personal/tilix/po/LINGUAS does not exist
ninja: build stopped: subcommand failed.
alexwhitman commented 5 years ago

Install libgdk-pixbuf2.0-bin which will provide the gdk-pixbuf-pixdata binary. That should fix it.

notjames commented 5 years ago

Well, so, last night, I ended up hosing my machine and so I ran a release-upgrade on it. Needless to say, tilix was still hosed, and I finally fixed that today. OK, so now I'm running Ubuntu 18.10 distro as of last night, and am attempting to install the most recent tilix. Before I go on, lemme tell you why. I'm trying to fix this annoying issue where tilix cannot be transferred between multiple displays in extended display mode. Full disclosure, I'm running tilix from an Ubuntu guest VM on Mac (bleh!) - so I'm using XQuartz for the X Server on mac. Other apps work, but tilix doesn't. That's when I stumbled upon some previous issues where this is a known issue with Tilix.

OK, so all of that aside, I've decided to try the most recent code from HEAD. Now, I'm getting:

$ sudo apt install dub
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  default-d-compiler ldc
The following NEW packages will be installed:
  default-d-compiler dub ldc
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,728 kB of archives.
After this operation, 18.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://us.archive.ubuntu.com/ubuntu cosmic/universe amd64 ldc amd64 1:1.11.0-2 [2,912 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu cosmic/universe amd64 default-d-compiler amd64 0.6.1 [2,608 B]
Get:3 http://us.archive.ubuntu.com/ubuntu cosmic/universe amd64 dub amd64 1.8.0-3 [814 kB]
Fetched 3,728 kB in 5s (787 kB/s)
Selecting previously unselected package ldc.
(Reading database ... 452314 files and directories currently installed.)
Preparing to unpack .../ldc_1%3a1.11.0-2_amd64.deb ...
Unpacking ldc (1:1.11.0-2) ...
Selecting previously unselected package default-d-compiler.
Preparing to unpack .../default-d-compiler_0.6.1_amd64.deb ...
Unpacking default-d-compiler (0.6.1) ...
Selecting previously unselected package dub.
Preparing to unpack .../archives/dub_1.8.0-3_amd64.deb ...
Unpacking dub (1.8.0-3) ...
Processing triggers for man-db (2.8.4-2) ...
Setting up ldc (1:1.11.0-2) ...
Installing new version of config file /etc/ldc2.conf ...
Setting up default-d-compiler (0.6.1) ...
Setting up dub (1.8.0-3) ...

$ dub fetch gtk-d --version=3.8.5 && \
dub fetch gtk-d:gtkd && \
dub fetch gtk-d:vte && meson --prefix=ldc2
Getting a release version failed: (1): Error: Got JSON of type null_, expected object.
Retry with ~master...
(1): Error: Got JSON of type null_, expected object.

Yeah, I have no idea where to go with that. If you want me to open a different issue, I most certainly can.