This page doesn't have the requirements for Ubuntu 22.04 though it is supported now.
https://www.copperspice.com/docs/cs_overview/requirements-unix.html#ubuntu20-cs-dev
The items listed for Ubuntu 20.04 aren't including enough to actually build Diamond.
Here's a 22.04 list.
Code: Select all
#
sudo apt-get install libfreetype6-dev libfontconfig1-dev libglib2.0-dev \
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libice-dev \
libaudio-dev libgl1-mesa-dev libc6-dev libsm-dev libxcursor-dev \
libxext-dev libxfixes-dev libxi-dev libxinerama-dev \
libxrandr-dev libxrender-dev libxt6 libxkbcommon-dev \
libxkbcommon-x11-dev libx11-dev libpulse-dev libasound2-dev
sudo apt-get install libxcb1-dev libx11-xcb-dev libxcb-glx0-dev \
libxcb-icccm4-dev libxcb-image0-dev libxcb-keysyms1-dev \
libxcb-render0-dev libxcb-render-util0-dev \
libxcb-randr0-dev libxcb-shape0-dev libxcb-shm0-dev \
libxcb-sync-dev libxcb-xfixes0-dev \
libxcb-xinerama0-dev libxcb-xkb-dev
sudo apt-get install g++ gperf ninja-build cmake git
sudo apt-get install libssl-dev libcups2-dev libxml++2.6-dev postgresql-server-dev-14
# extra for CsScintilla
sudo apt-get install mercurial mercurial-common meld
# extra for diamond
sudo apt-get install hunspell libhunspell-dev astyle