vala-lang / vala-language-server

Code Intelligence for Vala & Genie
GNU Lesser General Public License v2.1
293 stars 43 forks source link

Cannot Build vala-lang-server from source code #316

Open Kaftorone opened 1 month ago

Kaftorone commented 1 month ago

my OS is Ubuntu 20.04 can someone please help me i don't know how to fix that ?

sudo ninja -C build install
ninja: Entering directory
build [1/50]
Compiling Vala source ../t...testclient.vala
../src/util.vala FAILED: test/9f86d08@@vls-testclient@exe/testclient.c test/9f86d08@@vls-testclient@exe/util.c valac -C --debug --debug --define=WITH_JSONRPC_GLIB_3_30 --target-glib=auto --enable-gobject-tracing --fatal-warnings --pkg posix --pkg gio-unix-2.0 --pkg posix --pkg libvala-0.48 --pkg jsonrpc-glib-1.0 --pkg json-glib-1.0 --pkg gee-0.8 --pkg gio-2.0 --pkg gobject-2.0 --pkg glib-2.0 --color=always --directory test/9f86d08@@vls-testclient@exe --basedir ../test ../test/testclient.vala ../src/util.vala
Segmentation fault
[2/50] Generating version.vala with a custom command.
ninja: build stopped: subcommand failed.
lw64 commented 1 month ago

Can you give details about your system, what version of valac you are running? (valac --version)

lw64 commented 1 month ago

Can you install the latest vala version? There is a ppa for it

lw64 commented 1 month ago

Or upgrade to the latest non-LTS ubuntu release. I would recommend that anyways