Page 1 of 1

FIX-ubuntu studio compile problem (include errors)

PostPosted: Fri Sep 27, 2019 9:32 pm
by Chip Luxury EWA
EDIT:
tried this and it worked:
viewtopic.php?f=6&t=19915

I installed bison throw synaptic
make clean
./configure
make parser
make
make install as root


OG psot:
after ./configure went good I get a problem in the make:
ubuntu studio 19

make[3]: *** [Makefile:448: lscpparser.lo] Error 1
make[3]: Leaving directory '/home/chip_luxury/Downloads/linuxsampler-2.1.1/src/network'
make[2]: *** [Makefile:689: all-recursive] Error 1
make[2]: Leaving directory '/home/chip_luxury/Downloads/linuxsampler-2.1.1/src'
make[1]: *** [Makefile:509: all-recursive] Error 1
make[1]: Leaving directory '/home/chip_luxury/Downloads/linuxsampler-2.1.1'
make: *** [Makefile:414: all] Error 2

what shuld I do next?
thanks

Re: FIX-ubuntu studio compile problem (include errors)

PostPosted: Mon Sep 30, 2019 10:44 am
by cuse
You have stripped the most relevant error message from your output, but since this is a very frequently asked question, I guess you simply haven't installed flex yet:
https://sourceforge.net/p/linuxsampler/ ... /36758576/

And since you are using a Debian based system I recommend you to compile .deb packages instead of your manual installation approach, which would have resolve this particular issue automatically as well:

cd TOPLEVELSOURCEDIR
dpkg-buildpackage -b

Because if anything is missing for building the sampler, then it immediately tells you what package(s) to install on your system. And you will also avoid many other issues that might happen sooner or later that would happen with your manual "make install" solution, because manual "make install" e.g. often leads to people having several, conflicting versions of the sampler, libgig, and co. on their systems after some years, leading to confusing compiler errors and/or runtime errors and crashes.