linuxsampler

QSampler - LinuxSampler - Gigedit

On a AVLinux2rc2 install:

1. Checkout from CVS:

cvs -z3 -d:pserver:anonymous@cvs.linuxsampler.org:/var/cvs/linuxsampler \

co libgig

cvs -z3 -d:pserver:anonymous@cvs.linuxsampler.org:/var/cvs/linuxsampler \

co liblscp

cvs -z3 -d:pserver:anonymous@cvs.linuxsampler.org:/var/cvs/linuxsampler \

co linuxsampler

cvs -z3 -d:pserver:anonymous@cvs.linuxsampler.org:/var/cvs/linuxsampler \

co qsampler

cvs -z3 -d:pserver:anonymous@cvs.linuxsampler.org:/var/cvs/linuxsampler \

co jlscp

cvs -z3 -d:pserver:anonymous@cvs.linuxsampler.org:/var/cvs/linuxsampler \

co jsampler

cvs -z3 -d:pserver:anonymous@cvs.linuxsampler.org:/var/cvs/linuxsampler \

co gigedit

2. Compile and install:

-------------------------------------------------------------------------

quote from https://lists.ubuntu.com/archives/ubuntu-studio-users/2007-May/000074.html

I,ve got it.

First I removed qsampler, linuxsampler and dependencies

(liblscp,liblscp-dev,libgig3c2 and libgig-dev) that I tried to install

before.

After this I downloaded cvs sources as say in

http://www.linuxsampler.org/downloads.html

it's important compiling and installing in this order:

1. compile libgig

and install the three created packages (libgig, libgig-dev and gigtools)

2. linuxsampler

and install in this order liblinuxsampler,liblinuxsampler-dev and linuxsampler

3. liblscp

and install liblscp,liblscp-dev

4. qsampler

and install qsampler.deb

5. gigedit (need install libgtkmm-2.4-dev to compile)

and install the gigedit package

to compile go into each sources folder and write in terminal:

make -f Makefile.cvs

./configure && make

sudo dpkg-buildpackage -rfakeroot -b

after this, instal the .deb packages created in ../ with gDebi

UbuntuStudio and 64Studio are the best multimedia distros I have probe.

Thanks to all. Cheers.

------------------------------------------------------------------------------

cd libgig/

make -f Makefile.cvs

./configure && make

sudo dpkg-buildpackage -rfakeroot -b

cd ../linuxsampler/

make -f Makefile.cvs

./configure && make

sudo dpkg-buildpackage -rfakeroot -b

cd ../liblscp/

make -f Makefile.cvs

./configure && make

sudo dpkg-buildpackage -rfakeroot -b

cd ../qsampler/

make -f Makefile.svn !!!.svn, not .cvs!!!!!!!!!

./configure && make

sudo dpkg-buildpackage -rfakeroot -b

/////////////////////////

if you want to use JSampler:

----------------------

cd ../jlscp/

ant build-all

cd ../jsampler/

make -f Makefile.cvs

./configure --prefix=/usr

make

sudo make install

----------------------

/////////////////////////

cd ../gigedit/

make -f Makefile.cvs

./configure && make

sudo dpkg-buildpackage -rfakeroot -b

3. Update a package

To update, go inside a source folder and do:

cvs update -d -P

After an update of linuxsampler, you have to recompile gigedit too.

*1. Searching for a parser generator...Error: You need yacc (or bison) to generate the LSCP parser !

make: *** [configure] Error 255

$ sudo apt-get install bison

fixed it.

*2. "Couldn't load editor ... that it put its mandatory DLL file in the sampler's plugin dir" problem:

pcuser@avl:/usr/lib/linuxsampler$ ls

liblinuxsampler.a liblinuxsampler.so liblinuxsampler.so.3.0.0

liblinuxsampler.la liblinuxsampler.so.3 plugins

pcuser@avl:/usr/lib/linuxsampler$ cd plugins/

pcuser@avl:/usr/lib/linuxsampler/plugins$ ls

libgigeditlinuxsamplerplugin.a libgigeditlinuxsamplerplugin.so

libgigeditlinuxsamplerplugin.la

This means I have to recompile linuxsampler, specifyingthe plugin directory like this:

pcuser@avl:/media/Data/src/linuxsampler/linuxsampler$ ./configure --enable-plugin-dir=/usr/lib/linuxsampler/plugins --prefix=/usr