Setting up on public Ubuntu systems
So far I've been able to install BREVE on my own personal Ubuntu box, but now I'm trying to get it up and running on the departmental machines used at my university. They use a modified version of Ubuntu that's distributed for access from anywhere. I've untarred the breve IDE 2.7 files into my home directory, but when I run it I get the following error:
./breveIDE_ex: error while loading shared libraries: libtiff.so.4: cannot open shared object file: No such file or directory
I've looked around and the closest files I've found are:
/lusr/lib/libtiff.so.3.6.1
/lusr/lib/libtiff.so.3
/lusr/lib/libtiff.so
/lusr/lib/libtiff.a
My question is, will one of these work, and if so, how do I make breve point to it? I can't simply put a symlink in the /lusr/lib/ directory because I don't have write permission there, so instead I have to make BREVE look in the right place.
--------------------------------
Assuming that doesn't pan out, I'm also trying to get the command line version to work on the same systems, but it gives me a different problem. When I run:
./bin/breve ./demos/Gatherers.tz
I get the following errors:
PaHost_OpenStream: could not open /dev/dsp for O_WRONLY
PaHost_OpenStream: ERROR - result = -10000
warning: could not new open sound stream, audio will not be enabled (Host error.)
I see a window with the first frame of the simulation frozen.
-Jacob

tried 2.7.2?
Have you tried 2.7.2? I think the libtiff problem should have been fixed for that build. Let me know...
If it's not fixed, you could make a libtiff.so.4 symlink in the same directory as the breveIDE and then use a simple shell script to set the LD_LIBRARY_PATH variable to include the current directory.
- jon
I was using 2.7.2. I just
I was using 2.7.2.
I just tried your fix, but I'm getting the same error. Would the following be correct? I did it from the breveIDE_2.7.2 directory:
ln -s /lusr/lib/libtiff.so.3.6.1 libtiff.so.4
set LD_LIBRARY_PATH=/breveIDE_2.7.2
set BREVE_CLASS_PATH=/breveIDE_2.7.2/lib/classes
./breveIDE
Any idea how to make the commandline version work?
/breveIDE ?
Are you sure your LD_LIBRARY_PATH is correct? Is your breve folder really located in / ?
Perhaps it's actually in your home directory, or something, which might give a path like this:
LD_LIBRARY_PATH=/home/username/breveIDE_2.7.2
Also, try doing "export LD_LIBRARY_PATH=..." (this depends on what shell you're using...)
- jon
That was a problem with how
That was a problem with how the forum was displaying my text. I put the less than and greater than sign around the path, but the forum thought they were tags. What I actually wrote in the original post was something like this:
ln -s /lusr/lib/libtiff.so.3.6.1 libtiff.so.4
set LD_LIBRARY_PATH=home_dir_here/breveIDE_2.7.2
set BREVE_CLASS_PATH=home_dir_here/breveIDE_2.7.2/lib/classes
./breveIDE
So I had actually already tried that. I've also already tried using export instead of set. I'm sure that set works because I'm able to echo the variable afterwards.
-Jacob
command-line version
Sorry, missed the question about the command line version: it sounds like it's working fine. The audio error isn't fatal (though audio won't work).
Select the simulation window and hit the spacebar to unpause the command line simulation.
- jon
Ahh, it was simply paused.
Ahh, it was simply paused. Seems obvious now. Thanks for the prompt help.