12-14-2018, 01:25 PM | #1 |
Human being with feelings
Join Date: Mar 2011
Location: West Tennessee
Posts: 1,146
|
Arch - Building LinVST
I hate to admit it, but I have been out of Linux for a few years and have lost a few skills.
I am running Reaper in Antergos but want to get LinVST running to use a few Windows based plugins. The LinVST in the AUR repository errors out because of a bad link to a Steinbgerg product, as noted here https://aur.archlinux.org/packages/linvst/ Can someone help me with either correcting the PKGBUILD file to append the correct URL (i tried this but I get MD5 error), or building it from source? Here's what I get when I try to build from a tarball Code:
[mykrobinson@SAMSUNG-ANTERGOS LinVst-2.3]$ make g++ -fPIC -O2 -DLVRT -DEMBED -DEMBEDDRAG -DWAVES -DVESTIGE -c linvst.cpp -o linvst.unix.o g++ -fPIC -O2 -DLVRT -DEMBED -DEMBEDDRAG -DWAVES -DVESTIGE -c remotevstclient.cpp -o remotevstclient.unix.o remotevstclient.cpp: In function ‘const char* selfname()’: remotevstclient.cpp:91:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ g++ -fPIC -O2 -DLVRT -DEMBED -DEMBEDDRAG -DWAVES -DVESTIGE -c remotepluginclient.cpp -o remotepluginclient.unix.o g++ -fPIC -O2 -DLVRT -DEMBED -DEMBEDDRAG -DWAVES -DVESTIGE -c paths.cpp -o paths.unix.o g++ linvst.unix.o remotevstclient.unix.o remotepluginclient.unix.o paths.unix.o -shared -lpthread -ldl -lX11 -lrt -o linvst.so wineg++ -m64 -O2 -DEMBED -DEMBEDDRAG -DWAVES -DWAVESLOOP -DVESTIGE -I/usr/include/wine-development/windows -I/usr/include/wine-development/wine/windows -I/usr/include/wine/wine/windows -c lin-vst-server.cpp -o lin-vst-server.wine.o In file included from /usr/include/c++/8.2.1/ext/string_conversions.h:41, from /usr/include/c++/8.2.1/bits/basic_string.h:6400, from /usr/include/c++/8.2.1/string:52, from /usr/include/c++/8.2.1/bits/locale_classes.h:40, from /usr/include/c++/8.2.1/bits/ios_base.h:41, from /usr/include/c++/8.2.1/ios:42, from /usr/include/c++/8.2.1/ostream:38, from /usr/include/c++/8.2.1/iostream:39, from lin-vst-server.cpp:25: /usr/include/c++/8.2.1/cstdlib:75:15: fatal error: stdlib.h: No such file or directory #include_next <stdlib.h> ^~~~~~~~~~ compilation terminated. winegcc: g++ failed make: *** [Makefile:54: lin-vst-server.wine.o] Error 2 [mykrobinson@SAMSUNG-ANTERGOS LinVst-2.3]$ |
12-14-2018, 01:35 PM | #2 |
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 4,968
|
Code:
curl 'https://download.steinberg.net/sdk_downloads/vstsdk3611_22_10_2018_build_34.zip' | sha256sum
__________________
💖 Donate (PayPal) | Sponsor (GitHub) | The Endless Journey (Keyboard Ensemble) ReaPack, a package manager for REAPER | SWS 2.14 is now available in ReaPack [new!] Developer tools: Lua profiler | Interactive ReaScript | ReaPack Editor | ReaImGui |
12-14-2018, 02:07 PM | #3 | |
Human being with feelings
Join Date: Mar 2011
Location: West Tennessee
Posts: 1,146
|
Quote:
yay -S linvst again, it seems to overwrite the file with the original information, despite me telling it No to the question of clean builds. Any further advice? I am definitely not scared of the terminal, just not quite sure what to do yet. Thanks |
|
12-14-2018, 02:20 PM | #4 |
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 4,968
|
I'm not familiar with the yay AUR helper, but it looks like it allows editing before building with --editmenu --save.
Otherwise you can always build the package manually with makepkg -si in the directory containing the PKGBUILD.
__________________
💖 Donate (PayPal) | Sponsor (GitHub) | The Endless Journey (Keyboard Ensemble) ReaPack, a package manager for REAPER | SWS 2.14 is now available in ReaPack [new!] Developer tools: Lua profiler | Interactive ReaScript | ReaPack Editor | ReaImGui Last edited by cfillion; 12-14-2018 at 02:25 PM. |
12-14-2018, 02:29 PM | #5 | |
Human being with feelings
Join Date: Mar 2011
Location: West Tennessee
Posts: 1,146
|
Quote:
that said, I edited the PKGBUILD file and went to make a package myself, and ended up at the same roadblock I got when i tried to install from a tarball I downloaded. I think it may be dependency related. I will read through this more and try to figure it out, but I am quite appreciative of a second set of more experienced eyes. Code:
[mykrobinson@SAMSUNG-ANTERGOS linvst]$ makepkg -si ==> Making package: linvst 2.3.r44.2a4b91e-1 (Fri 14 Dec 2018 03:25:03 PM CST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating LinVst git repo... Fetching origin -> Downloading vstsdk3611_22_10_2018_build_34.zip... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 88.7M 100 88.7M 0 0 5566k 0 0:00:16 0:00:16 --:--:-- 9464k ==> Validating source files with sha256sums... LinVst ... Skipped vstsdk3611_22_10_2018_build_34.zip ... Passed ==> Extracting sources... -> Creating working copy of LinVst git repo... Cloning into 'LinVst'... done. -> Extracting vstsdk3611_22_10_2018_build_34.zip with bsdtar ==> Starting prepare()... ==> Starting pkgver()... ==> Updated version: linvst 2.3.r46.ab52472-1 ==> Starting build()... g++ -fPIC -O2 -DLVRT -DVST6432 -DEMBED -DEMBEDDRAG -DWAVES -DVESTIGE -c linvst.cpp -o linvst.unix.o g++ -fPIC -O2 -DLVRT -DVST6432 -DEMBED -DEMBEDDRAG -DWAVES -DVESTIGE -c remotevstclient.cpp -o remotevstclient.unix.o g++ -fPIC -O2 -DLVRT -DVST6432 -DEMBED -DEMBEDDRAG -DWAVES -DVESTIGE -c remotepluginclient.cpp -o remotepluginclient.unix.o g++ -fPIC -O2 -DLVRT -DVST6432 -DEMBED -DEMBEDDRAG -DWAVES -DVESTIGE -c paths.cpp -o paths.unix.o remotevstclient.cpp: In function ‘const char* selfname()’: remotevstclient.cpp:91:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ wineg++ -m64 -O2 -DVST6432 -DEMBED -DEMBEDDRAG -DWAVES -DWAVESLOOP -DVESTIGE -I/usr/include/wine-development/windows -I/usr/include/wine-development/wine/windows -I/usr/include/wine/wine/windows -c lin-vst-server.cpp -o lin-vst-server.wine.o In file included from /usr/include/c++/8.2.1/ext/string_conversions.h:41, from /usr/include/c++/8.2.1/bits/basic_string.h:6400, from /usr/include/c++/8.2.1/string:52, from /usr/include/c++/8.2.1/bits/locale_classes.h:40, from /usr/include/c++/8.2.1/bits/ios_base.h:41, from /usr/include/c++/8.2.1/ios:42, from /usr/include/c++/8.2.1/ostream:38, from /usr/include/c++/8.2.1/iostream:39, from lin-vst-server.cpp:25: /usr/include/c++/8.2.1/cstdlib:75:15: fatal error: stdlib.h: No such file or directory #include_next <stdlib.h> ^~~~~~~~~~ compilation terminated. winegcc: g++ failed make: *** [Makefile-embed-6432:60: lin-vst-server.wine.o] Error 2 make: *** Waiting for unfinished jobs.... ==> ERROR: A failure occurred in build(). Aborting... [mykrobinson@SAMSUNG-ANTERGOS linvst]$ |
|
12-14-2018, 04:54 PM | #6 |
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 4,968
|
Looks like it broke in Wine 3.21. Even a C++ source file containing only #include <cstdlib> fails to build with wineg++ because -isystem /usr/include was added to GCC's command line. Not sure what's up with that... (As a quick workaround you could downgrade Wine to 3.20 or temporarily symlink /usr/include/stdlib.h to /usr/local/include.)
EDIT: Sent a bug report. https://bugs.winehq.org/show_bug.cgi?id=46293 EDIT2: Fixed in wine 4.0rc3!
__________________
💖 Donate (PayPal) | Sponsor (GitHub) | The Endless Journey (Keyboard Ensemble) ReaPack, a package manager for REAPER | SWS 2.14 is now available in ReaPack [new!] Developer tools: Lua profiler | Interactive ReaScript | ReaPack Editor | ReaImGui Last edited by cfillion; 12-21-2018 at 04:27 PM. |
Thread Tools | |
Display Modes | |
|
|