[SOLVED] Compiling LS and friends on AVLinux

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
prasad
Newbie
Posts: 3
Joined: Fri Nov 13, 2009 2:48 pm

[SOLVED] Compiling LS and friends on AVLinux

Post by prasad » Fri Nov 13, 2009 3:00 pm

Hello everyone,
Heartfelt thanks to everyone who's contributed to the Linuxsampler project!
I've been using LS and friends on Ubuntu, works great. Recently switched to AVLinux (for those of you who haven't tried it yet, I wholeheartedly recommend it! great for Linux audio). But getting LS to work has been proving rather difficult, as mentioned in this thread.
On ubuntu, I compiled it from source, going by this howto. Tried doing the same on AVLinux, and I consistently get this error (i've omitted the initial lines):

Code: Select all

.....
make[3]: Leaving directory `/home/pcuser/src_AVL/LS_and_friends/libgig-3.3.0/osx'
make[2]: Leaving directory `/home/pcuser/src_AVL/LS_and_friends/libgig-3.3.0/osx'
make[2]: Entering directory `/home/pcuser/src_AVL/LS_and_friends/libgig-3.3.0'
make[3]: Entering directory `/home/pcuser/src_AVL/LS_and_friends/libgig-3.3.0'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/lib/pkgconfig" || mkdir -p -- . "/home/pcuser/src_AVL/LS_and_friends/libgig-3.3.0/debian/tmp/usr/lib/pkgconfig"
 /usr/bin/install -c -m 644 'gig.pc' '/home/pcuser/src_AVL/LS_and_friends/libgig-3.3.0/debian/tmp/usr/lib/pkgconfig/gig.pc'
make[3]: Leaving directory `/home/pcuser/src_AVL/LS_and_friends/libgig-3.3.0'
make[2]: Leaving directory `/home/pcuser/src_AVL/LS_and_friends/libgig-3.3.0'
make[1]: Leaving directory `/home/pcuser/src_AVL/LS_and_friends/libgig-3.3.0'
dh_testdir
dh_testroot
dh_install -a --list-missing
dh_installchangelogs -a ChangeLog
dh_installdocs -a
cp: cannot stat `README': No such file or directory
dh_installdocs: cp returned exit code 1
make: *** [binary-arch] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
Could someone help me out here? I am reluctant to use the solution proposed in the other thread, namely boot into an alternate kernel, for various convoluted reasons (!).
Thanks in advance!
Cheers,

Guru
Last edited by prasad on Sat Nov 14, 2009 4:11 am, edited 1 time in total.

prasad
Newbie
Posts: 3
Joined: Fri Nov 13, 2009 2:48 pm

Re: Compiling LS and friends on AVLinux

Post by prasad » Fri Nov 13, 2009 5:55 pm

An update:

I tried working around the libgig compile issue, by using only the libgig6 and libgig-dev debfiles, and compiling everything else (liblscp, liblinuxsampler, linuxsampler, etc) from source. The compile itself was successful, and generated working .deb files in the parent directory. Now I can fire up linuxsampler, without any error messages. But this is what happens when I try to load a .lscp file:

Code: Select all

# linuxsampler &
[3] 3028
pcuser@laptop:/home/pcuser/src_AVL/LS_and_friends# LinuxSampler 1.0.0
Copyright (C) 2003,2004 by Benno Senoner and Christian Schoenebeck
Copyright (C) 2005-2009 Christian Schoenebeck
Detected features: MMX SSE SSE2
Automatic Stacktrace: Off
Creating Sampler...OK
Registered sampler engines: 'GIG'
Registered MIDI input drivers: ALSA,JACK
Registered audio output drivers: ALSA,JACK
Loading instrument editor plugins...OK
Registered instrument editors: 
Starting LSCP network server (0.0.0.0:8888)...OK
LinuxSampler initialization completed. :-)

# netcat -t localhost 8888 < /home/pcuser/Studio/Pianos_Percns.lscp &
[3]+  Segmentation fault      linuxsampler
Hope this helps diagnose the problem!
Cheers,

Guru

prasad
Newbie
Posts: 3
Joined: Fri Nov 13, 2009 2:48 pm

Re: Compiling LS and friends on AVLinux

Post by prasad » Sat Nov 14, 2009 4:10 am

Success! :D
I came across this thread, after which I checked out the latest CVS version, and compiled it with the '-01' flag. Works Perfectly now!
I was earlier using '-03' in the /debian/rules file. I haven't checked to see if it works with '-02', or even '-03' with the latest CVS. It's working now, and I don't want to experiment for some time, at least!
Hope this helps...
Cheers,

Guru

Post Reply