Installing Flash Media Server 2 (yes, 3 is already out) on Ubuntu (7.10).

The install script runs fine, but the server doesn’t start.

ulimit: 13: Illegal option -u \[: 16: 32768:
unexpected operator NPTL 2.6.1
./server: 49: Syntax error: Bad substitution

It fails with an error like this.

Searching the Ubuntu forums, I found that you need to patch the installer to get it working on Ubuntu. The thread

Following a link from there (http://www.bluetwanger.de/blog/2006/12/25/installing-flash-media-server-2-on-ubuntu-610-edgy/):

wget http://www.bluetwanger.de/~mbertheau/fms.patch
patch -p1 < fms.patch sudo ./installFMS

After patching, the install works fine.