In order to compile SoundManager you need to install the following libraries:
- libvorbis: The library to decode .ogg files
- libasound: The library to access ALSA
Then SoundManager can be compiled using the makefile or by typing in a terminal:
$ gcc -o sound main.c linkedlist.c -lvorbis -lasound
$ gcc -o client client.c
To install the webclient you should have apache, lampp (or similar) running with php.
You have to copy the content of webclient in your /var/www or htdocs folder.
Before we can test now we have to create a sound.config file. For more instructions on how to create that file please consult the wiki.
After creating the sound.config file you can start the SoundManager by typing "./sound" in a terminal. You should get some messages that the SoundManager opened the devices and has been started. Also a file called infos.xml should have been created in the current directory.
Please also check that the pipe (it should be under /tmp/soundserver_fifo) has read and write permissions for everybody.
The next step is to configure the webclient so that the SoundManager can be accesses via webclient. All you have to do is to change the folder definitions at the beginning o f the file soundmanager.php.
That's it.