|
From: Doug G. <dou...@gm...> - 2021-09-28 05:38:43
|
Apologies for what may be a trivial question but I am un-accustomed to compiling the source but I have an error I'm not sure how to fix, see as follows. Note: This code was checked out today. # Add here commands to compile the package. /usr/bin/make make[1]: Entering directory '/home/pi/lssvn/linuxsampler' /usr/bin/make all-recursive make[2]: Entering directory '/home/pi/lssvn/linuxsampler' Making all in man make[3]: Entering directory '/home/pi/lssvn/linuxsampler/man' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/pi/lssvn/linuxsampler/man' Making all in src make[3]: Entering directory '/home/pi/lssvn/linuxsampler/src' Making all in scriptvm make[4]: Entering directory '/home/pi/lssvn/linuxsampler/src/scriptvm' make[4]: *** No rule to make target 'parser.h', needed by 'all'. Stop. I have looked but cannot see the solution. Also, to update the svn image I presume the command would be: svn up https://svn.linuxsampler.org/svn/linuxsampler/trunk linuxsampler Correct? TIA Doug Gray |
|
From: Christian S. <sch...@li...> - 2021-09-28 11:26:48
|
On Dienstag, 28. September 2021 07:38:22 CEST Doug Gray wrote: > Apologies for what may be a trivial question but I am un-accustomed to > compiling the source but I have an error I'm not sure how to fix, see as > follows. Note: This code was checked out today. Make sure you have bison and flex installed, then force the parsers to be regenerated: make parser And then you should be able to compile again as usual: make -j16 (the -jN switch is for multi core compiling, i.e. to speedup compilation) > # Add here commands to compile the package. > /usr/bin/make > make[1]: Entering directory '/home/pi/lssvn/linuxsampler' > /usr/bin/make all-recursive > make[2]: Entering directory '/home/pi/lssvn/linuxsampler' > Making all in man > make[3]: Entering directory '/home/pi/lssvn/linuxsampler/man' > make[3]: Nothing to be done for 'all'. > make[3]: Leaving directory '/home/pi/lssvn/linuxsampler/man' > Making all in src > make[3]: Entering directory '/home/pi/lssvn/linuxsampler/src' > Making all in scriptvm > make[4]: Entering directory '/home/pi/lssvn/linuxsampler/src/scriptvm' > make[4]: *** No rule to make target 'parser.h', needed by 'all'. Stop. > > I have looked but cannot see the solution. > > Also, to update the svn image I presume the command would be: > svn up https://svn.linuxsampler.org/svn/linuxsampler/trunk linuxsampler > Correct? No. Apparently you already have some old svn version there, so it is: cd /home/pi/lssvn svn up Otherwise if you need to get a completely new copy from svn from scratch: svn co https://svn.linuxsampler.org/svn/linuxsampler/trunk linuxsampler CU Christian |
|
From: Doug G. <dou...@gm...> - 2021-09-28 12:33:29
|
Thanks for the help. Flex was not installed, fixed that and ran 'make parser'. I'm building deb packages BTW, the compile got much further until this error -see below. More files to generate? /bin/bash ../../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ -std=gnu++14 -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libgig -Wreturn-type -ffast-math -g -O2 -pthread -MT lscp_shell_reference.lo -MD -MP -MF $depbase.Tpo -c -o lscp_shell_reference.lo lscp_shell_reference.cpp &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: arm-linux-gnueabihf-g++ -std=gnu++14 -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libgig -Wreturn-type -ffast-math -g -O2 -pthread -MT lscp_shell_reference.lo -MD -MP -MF .deps/lscp_shell_reference.Tpo -c lscp_shell_reference.cpp -fPIC -DPIC -o .libs/lscp_shell_reference.o arm-linux-gnueabihf-g++: error: lscp_shell_reference.cpp: No such file or directory arm-linux-gnueabihf-g++: fatal error: no input files compilation terminated. make[4]: *** [Makefile:459: lscp_shell_reference.lo] Error 1 make[4]: Leaving directory '/home/pi/lssvn/linuxsampler/src/network' TIA, Doug On Tue, 28 Sept 2021 at 21:27, Christian Schoenebeck < sch...@li...> wrote: > On Dienstag, 28. September 2021 07:38:22 CEST Doug Gray wrote: > > Apologies for what may be a trivial question but I am un-accustomed to > > compiling the source but I have an error I'm not sure how to fix, see as > > follows. Note: This code was checked out today. > > Make sure you have bison and flex installed, then force the parsers to be > regenerated: > > make parser > > And then you should be able to compile again as usual: > > make -j16 > > (the -jN switch is for multi core compiling, i.e. to speedup compilation) > > > # Add here commands to compile the package. > > /usr/bin/make > > make[1]: Entering directory '/home/pi/lssvn/linuxsampler' > > /usr/bin/make all-recursive > > make[2]: Entering directory '/home/pi/lssvn/linuxsampler' > > Making all in man > > make[3]: Entering directory '/home/pi/lssvn/linuxsampler/man' > > make[3]: Nothing to be done for 'all'. > > make[3]: Leaving directory '/home/pi/lssvn/linuxsampler/man' > > Making all in src > > make[3]: Entering directory '/home/pi/lssvn/linuxsampler/src' > > Making all in scriptvm > > make[4]: Entering directory '/home/pi/lssvn/linuxsampler/src/scriptvm' > > make[4]: *** No rule to make target 'parser.h', needed by 'all'. Stop. > > > > I have looked but cannot see the solution. > > > > Also, to update the svn image I presume the command would be: > > svn up https://svn.linuxsampler.org/svn/linuxsampler/trunk linuxsampler > > Correct? > > No. Apparently you already have some old svn version there, so it is: > > cd /home/pi/lssvn > svn up > > Otherwise if you need to get a completely new copy from svn from scratch: > > svn co https://svn.linuxsampler.org/svn/linuxsampler/trunk linuxsampler > > CU > Christian > > > > > _______________________________________________ > Linuxsampler-devel mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel > |
|
From: Christian S. <sch...@li...> - 2021-09-28 12:48:04
|
On Dienstag, 28. September 2021 14:33:11 CEST Doug Gray wrote: > Thanks for the help. Flex was not installed, fixed that and ran 'make > parser'. > I'm building deb packages BTW, the compile got much further until this > error -see below. More files to generate? > > /bin/bash ../../libtool --tag=CXX --mode=compile arm-linux-gnueabihf-g++ > -std=gnu++14 -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libgig > -Wreturn-type -ffast-math -g -O2 -pthread -MT lscp_shell_reference.lo -MD > -MP -MF $depbase.Tpo -c -o lscp_shell_reference.lo lscp_shell_reference.cpp > &&\ > mv -f $depbase.Tpo $depbase.Plo > libtool: compile: arm-linux-gnueabihf-g++ -std=gnu++14 -DHAVE_CONFIG_H -I. > -I../.. -I/usr/include/libgig -Wreturn-type -ffast-math -g -O2 -pthread -MT > lscp_shell_reference.lo -MD -MP -MF .deps/lscp_shell_reference.Tpo -c > lscp_shell_reference.cpp -fPIC -DPIC -o .libs/lscp_shell_reference.o > arm-linux-gnueabihf-g++: error: lscp_shell_reference.cpp: No such file or > directory lscp_shell_reference.cpp "should" be auto generated by "make parser" as well, which actually triggers execution of scripts/generate_lscp_shell_reference.pl You do have Perl installed, right? Because that's the only dependency I can see for this script. But Perl is usually available on any base installation. You can try to run the script manually and see what happens: cd scripts ./generate_lscp_shell_reference.pl CU Christian |
|
From: Doug G. <dou...@gm...> - 2021-09-29 02:37:56
Attachments:
linuxsampler-armv7l.patch
|
Managed to get the code compiled. Perl is installed however the XML::Parser module called up in the generate_lscp_shell_reference.pl script line 15. After installing this module and re-running the script directly the build proceeded until RTMath.cpp. I am compiling this on a Raspberry PI 4 - ARM processor obviously, the attached patch as I used the first time I compiled the code some months ago was required. I had thought it may have by now been applied in the current source: cd src/common/ cp atomic.h atomic.h.org cp RTMath.cpp RTMath.cpp.org patch -p2 <../../linuxsampler-armv7l.patch One issue I do have is an error signing the package, this has not been an issue with the packages but I'd like to know how to fix it perhaps using my own gpg key. (I have obscured your email address here): signfile linuxsampler_2.2.0_armhf.buildinfo gpg: skipped "Christian Schoenebeck <....@users.sourceforge.net>": No secret key gpg: dpkg-sign.0v6yB9ud/linuxsampler_2.2.0_armhf.buildinfo: clear-sign failed: No secret key Thanks for the help, doubtless I will have further questions. Doug On Tue, 28 Sept 2021 at 22:48, Christian Schoenebeck < sch...@li...> wrote: > On Dienstag, 28. September 2021 14:33:11 CEST Doug Gray wrote: > > Thanks for the help. Flex was not installed, fixed that and ran 'make > > parser'. > > I'm building deb packages BTW, the compile got much further until this > > error -see below. More files to generate? > > > > /bin/bash ../../libtool --tag=CXX --mode=compile > arm-linux-gnueabihf-g++ > > -std=gnu++14 -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libgig > > -Wreturn-type -ffast-math -g -O2 -pthread -MT lscp_shell_reference.lo > -MD > > -MP -MF $depbase.Tpo -c -o lscp_shell_reference.lo > lscp_shell_reference.cpp > > &&\ > > mv -f $depbase.Tpo $depbase.Plo > > libtool: compile: arm-linux-gnueabihf-g++ -std=gnu++14 -DHAVE_CONFIG_H > -I. > > -I../.. -I/usr/include/libgig -Wreturn-type -ffast-math -g -O2 -pthread > -MT > > lscp_shell_reference.lo -MD -MP -MF .deps/lscp_shell_reference.Tpo -c > > lscp_shell_reference.cpp -fPIC -DPIC -o .libs/lscp_shell_reference.o > > arm-linux-gnueabihf-g++: error: lscp_shell_reference.cpp: No such file or > > directory > > lscp_shell_reference.cpp "should" be auto generated by "make parser" as > well, > which actually triggers execution of scripts/ > generate_lscp_shell_reference.pl > > You do have Perl installed, right? Because that's the only dependency I > can > see for this script. But Perl is usually available on any base > installation. > > You can try to run the script manually and see what happens: > > cd scripts > ./generate_lscp_shell_reference.pl > > CU > Christian > > > > > _______________________________________________ > Linuxsampler-devel mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel > |
|
From: Christian S. <sch...@li...> - 2021-09-29 10:59:14
|
On Mittwoch, 29. September 2021 04:37:37 CEST Doug Gray wrote: > Managed to get the code compiled. > Perl is installed however the XML::Parser module called up in the > generate_lscp_shell_reference.pl script line 15. > After installing this module and re-running the script directly the build > proceeded until RTMath.cpp. > I am compiling this on a Raspberry PI 4 - ARM processor obviously, the > attached patch as I used the first time I compiled the code some months ago > was required. I had thought it may have by now been applied in the current > source: > > cd src/common/ > cp atomic.h atomic.h.org > cp RTMath.cpp RTMath.cpp.org > patch -p2 <../../linuxsampler-armv7l.patch > > One issue I do have is an error signing the package, this has not been an > issue with the packages but I'd like to know how to fix it perhaps using my > own gpg key. (I have obscured your email address here): > > signfile linuxsampler_2.2.0_armhf.buildinfo > gpg: skipped "Christian Schoenebeck <....@users.sourceforge.net>": No > secret key > gpg: dpkg-sign.0v6yB9ud/linuxsampler_2.2.0_armhf.buildinfo: clear-sign > failed: No secret key That's the same with any Debian package, so it is not specifically an LS issue: This is controlled via the debian/changelog file. Just add your own changelog block on top of that debian/changelog file content (or even more simple: replace my email address at the top most entry) with your own email address and make sure you have setup some gpg key associated with your local gpg wallet. CU Christian |