This detailed description of an installation unsing SuSE 7.3 has been contributed by Ulrich - Thanks Ulrich, great job!

This is a little "history" about the troubles I had when trying to install and run Brahms 1.01 under SuSE Linux 7.3. This is written for "newbies" or "nearly newbies", as I am one. Maybe this helps other to get it running a little faster than me. I use the pathes on my machine, but you of course should replace them with your own... (my user name is 'uli', my machine 'abraham'). I got all this information from asking the mailing list and there was one guy (Stefan) that really helped me a lot. I want to thank him again for his help by providing this little text file (I think he has the contacts to pass it on for publication).

0. Download (e.g. to ~/download/music) and extract into a install directory somewhere on your machine (e.g. ~/install). This is not the path it will be installed in later:

uli@abraham:~/install> tar -zxvf ../download/music/brahms-1.01.tgz

1. cd to brahms-1.01. Make sure where KDE2 is installed on your machine. On mine, it is /opt/kde2/. Run configure with the --prefix option and place the path of your kde2 there. This is important because else Brahms won't find libraries it needs from your KDE2 installation.

uli@abraham:~/install> cd brahms-1.01/

uli@abraham:~/install/brahms-1.01> ./configure --prefix=/opt/kde2 --enable-debug

Please use the --enable-debug option if you want to report bugs and stacktraces

2. After a while (if all needed libraries are found) you'll be ready to build the source. If something unexpected happens during configure or make, please ask the mailing list for help. There are people who really know what to do!

uli@abraham:~/install/brahms-1.01> make

3. Now it's time to install Brahms. Make sure that you are root...

uli@abraham:~/install/brahms-1.01> su

and then run make install:

root@abraham:~/install/brahms-1.01> make install

4. This should now have installed Brahms into /opt/kde2. There should be the Brahms executable in /opt/kde2/bin and many libBrahms* libraries in /opt/kde2/lib. Feel free to check this.

5. Make sure that ARTS is running by asking your system for the artsd process (you should do this as user again, not as root, because you will run Brahms as user):

root@abraham:~/install/brahms-1.01> exit

uli@abraham:~/install/brahms-1.01> ps -ef | grep artsd

One line of the result should be something like this:

uli 1036 1 0 Nov25 ? 00:00:05 /opt/kde2//bin/artsd -F 10 -S 4096 -s 60 -m artsmessage -l 3 -f

If this is _not_ the case, start arts with as much debugging info as possible:

uli@abraham:~/install/brahms-1.01> artsd -l0

If this _is_ the case, restart arts by e.g. killing the process and restarting it with

uli@abraham:~/install/brahms-1.01> artsshell terminate

uli@abraham:~/install/brahms-1.01> kcminit arts

or (this is what I did to make sure that arts is really running the way it runs when I start the machine 'normally') just re-login or restart your machine.

(jw: If you can't get artsd to run, or if you just want to use alsa-0.5.x instead: You don't necessarily need artsd - just start Brahms with the option: Brahms -o alsa to choose the alsa output channel. The default is Brahms -o arts.)

6. Make sure that /opt/kde2/lib is in your LD_LIBRARY_PATH environment variable:

uli@abraham:~/install/brahms-1.01> echo LD_LIBRARY_PATH

If you find /opt/kde2/lib in the result of this command, you are nearly ready to run Brahms. If not, add it with:

uli@abraham:~/install/brahms-1.01> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/kde2/lib

7. Make also sure that /opt/kde2/bin is in your PATH environment variable (same steps as in 6, only with PATH instead of LD_LIBRARY_PATH).

8. Start Brahms by typing

uli@abraham:~/install/brahms-1.01> Brahms &

or using the Alt-F2 startup option. (The first possibility gives you more information in case something goes wrong).

I hope to have helped some of you! If not, ask the mailing list...

Ulrich

KDE Logo