How to build linuxsampler, libgig and gigedit on Manjaro Linux.

You're new to the LinuxSampler world? You don't know where to start and nothing works? Here's the place to ask for help.
Post Reply
aki42
Newbie
Posts: 8
Joined: Thu Sep 09, 2021 11:36 am

How to build linuxsampler, libgig and gigedit on Manjaro Linux.

Post by aki42 » Thu Feb 03, 2022 2:25 pm

Hello.

After creating the post "Linuxsampler work with pipewire?" viewtopic.php?f=6&t=19964 ,
I finally can add jack devices on linuxsampler and qsampler by building and installing linuxsampler-2.2.0.tar.bz2 .

But still I have one problem.
I can't start gigedit by pushing Edit button on qsampler with the error
"Channel 0
Could not launch an appropriate instrument editor for the given instrument!
Make sure you have an appropriate instrument editor like 'gigedit' installed and that it placed its mandatory DLL file into the sampler's plugin directory."

I found there's /usr/lib/linuxsampler/plugins/libgigeditlinuxsamplerplugin.so of Arch package version.
And I tried "Trouble with live-editing" http://download.linuxsampler.org/doc/gi ... ve_trouble ,
but no good.

As the above methods don't work, I tried to build SVN versions.
But autoconf got some errors on linuxsampler, libgig and gigedit below.

Code: Select all

[aki@w530 linuxsampler]$ autoconf
configure.ac:47: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete
./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from...
./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from...
configure.ac:47: the top level
configure.ac:154: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:154: You should run autoupdate.
./lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
m4/pthread.m4:74: ACX_PTHREAD is expanded from...
configure.ac:154: the top level
configure.ac:154: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:154: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
m4/pthread.m4:74: ACX_PTHREAD is expanded from...
configure.ac:154: the top level
configure.ac:179: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:179: You should run autoupdate.
./lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
m4/nptl_bug.m4:16: ACX_NPTL_GLIBC_BUG is expanded from...
configure.ac:179: the top level
configure.ac:179: warning: The macro `AC_TRY_RUN' is obsolete.
configure.ac:179: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
m4/nptl_bug.m4:16: ACX_NPTL_GLIBC_BUG is expanded from...
configure.ac:179: the top level
configure.ac:467: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:467: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/arts.m4:12: AM_PATH_ARTS is expanded from...
configure.ac:467: the top level
configure.ac:467: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:467: You should run autoupdate.
./lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
m4/arts.m4:12: AM_PATH_ARTS is expanded from...
configure.ac:467: the top level
configure.ac:467: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:467: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
m4/arts.m4:12: AM_PATH_ARTS is expanded from...
configure.ac:467: the top level
configure.ac:467: warning: The macro `AC_TRY_RUN' is obsolete.
configure.ac:467: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
m4/arts.m4:12: AM_PATH_ARTS is expanded from...
configure.ac:467: the top level

Code: Select all

[aki@w530 gigedit]$ autoconf
configure.ac:38: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:39: error: possibly undefined macro: AC_PROG_LIBTOOL
configure.ac:62: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
configure.ac:70: error: possibly undefined macro: AM_CONDITIONAL
configure.ac:216: error: possibly undefined macro: AM_INIT_AUTOMAKE

Code: Select all

[aki@w530 libgig]$ autoconf
configure.ac:42: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:43: error: possibly undefined macro: AC_PROG_LIBTOOL
configure.ac:69: error: possibly undefined macro: AM_CONDITIONAL
configure.ac:126: error: possibly undefined macro: AM_INIT_AUTOMAKE
How can I build linuxsampler, libgig and gigedit?
How can I start gigedit from Edit button on qsampler?

aki42
Newbie
Posts: 8
Joined: Thu Sep 09, 2021 11:36 am

Re: How to build linuxsampler, libgig and gigedit on Manjaro Linux.

Post by aki42 » Sun Feb 06, 2022 2:53 pm

I can finally finish building from AUR packages, libgig-svn, gigedit-svn and linuxsampler-svn.
As linuxsampler-svn's PKGBUILD require old VST SDK, so I removed the related parts from it and the builds were completed.
But built linuxsampler is too unstable, I can't create ALSA or JACK device either and finish abnormally. Gigedit also, can't save gig sample files for too unstable.

By the way, on the process of testing, I could found that I could evoke gigedit by pushing Edit button on qsampler if I made as ALSA devices. But on my PC environment ALSA can't route output to my audio interface's monitor speaker. Only poor laptop speaker make sound.

Post Reply