Kapitonov-Plugins-Pack icon indicating copy to clipboard operation
Kapitonov-Plugins-Pack copied to clipboard

Build fails in Ubuntu 18.04

Open tavasti opened this issue 4 years ago • 9 comments

Can't build latest git tree in ubuntu 18.04

tavasti@hermo:~/git/Kapitonov-Plugins-Pack$ meson build The Meson build system Version: 0.45.1 Source dir: /home/tavasti/git/Kapitonov-Plugins-Pack Build dir: /home/tavasti/git/Kapitonov-Plugins-Pack/build Build type: native build

meson.build:24:9: ERROR: lexer plugins = { ^

A full log can be found at /home/tavasti/git/Kapitonov-Plugins-Pack/build/meson-logs/meson-log.txt

tavasti avatar Apr 08 '20 08:04 tavasti

A shot in the dark: try with a newer meson version.

trebmuh avatar Apr 08 '20 09:04 trebmuh

@tavasti, thank you for the information!

Yes, @trebmuh is right, I use meson 0.53 to build KPP in Ubuntu 18.04 (this binary version https://github.com/olegkapitonov/Kapitonov-Plugins-Pack/releases/download/v1.1/KPP-1.1-binary-ubuntu-bionic.tar.bz2)

meson 0.45 which is in the repository can't build current version of KPP.

You may try to build meson 0.53 from the source first (as I do).

olegkapitonov avatar Apr 16 '20 12:04 olegkapitonov

Ok, pip3 install meson fixes that part.

Next problem:

Program faust found: YES (/usr/bin/faust)

meson.build:15:0: ERROR: Command "/usr/bin/faust -archdir" failed with status 255.

A full log can be found at /home/tavasti/git/Kapitonov-Plugins-Pack/build/meson-logs/meson-log.txt
tavasti@hermo:~/git/Kapitonov-Plugins-Pack$ /usr/bin/faust -archdir
ERROR : unrecognized or incorrectly defined option "-archdir"
tavasti@hermo:~/git/Kapitonov-Plugins-Pack$ faust --version
FAUST, DSP to C++ compiler, Version 0.9.95
Copyright (C) 2002-2016, GRAME - Centre National de Creation Musicale. All rights reserved. 

tavasti avatar Apr 17 '20 07:04 tavasti

You probably need a >2 version of faust. 0.9.95 sounds to be something like 4 years old now.

trebmuh avatar Apr 17 '20 10:04 trebmuh

That is faust coming from Ubuntu 18.04 repos. So most likely that is version which was considered stable ~2.5 years ago?

tavasti avatar Apr 17 '20 10:04 tavasti

I've just checked, and it's clearly written in the README here that you need a >2 version of Faust.

trebmuh avatar Apr 17 '20 11:04 trebmuh

Yeah, true, it says 2.x.

tavasti avatar Apr 17 '20 12:04 tavasti

Yes, sorry but I use very new versions of packages and Arch Linux :)

olegkapitonov avatar Apr 17 '20 18:04 olegkapitonov

Also, zita-convolver in Ubuntu 18.04 is old, 4.x required, so I created special branch for this - https://github.com/olegkapitonov/Kapitonov-Plugins-Pack/tree/thirdparty-included

This branch contains zita-convolver bundled. If you have meson-0.53 and faust 2.x built from source, you can build KPP from this branch.

olegkapitonov avatar Apr 18 '20 06:04 olegkapitonov