Linked List

A personal knowledge base

FreeBSD

#Tilix Build on FreeBSD

https://github.com/gnunn1/tilix/issues/1168

#Installing D

#Building & Installing Tilix

dub build --build=release -v

The build will fail in the linking step so you have to manually link it. Take the linker command and remove -ldl and replace it with -lX11:

/usr/local/bin/ldc2 -disable-linker-strip-dead ... -L=-ldl -vcolumns

into:

/usr/local/bin/ldc2 -disable-linker-strip-dead ... -L=-lX11 -vcolumns

Re-run dub build --build=release -v, which will ensure the final binary is copied into the right place in the source directory for installing.

Install with the install script:

sudo ./install.sh /usr/local/stow/tilix-1.8.5
sudo rm tilix-1.8.5/share/glib-2.0/schemas/gschemas.compiled
sudo xstow tilix-1.8.5
sudo glib-compile-schemas /usr/local/share/glib-2.0/schemas/

#Disable TSO in vtnet driver

If you're experiencing slow network performance in FreeBSD virtual machines on providers like Digital Ocean or Vultr add the following to /boot/loader.conf:

hw.vtnet.tso_disable=1
Last modified: 19 October 2018