Using the current install documentation for setting up BBB 0.9 on Ubuntu 14.04. I am at step 4 of the process and have an error on ffmpeg. The script I am using is directly from the documentation. Here are the contents:
sudo apt-get install build-essential git-core checkinstall yasm texi2html libvorbis-dev libx11-dev libvpx-dev libxfixes-dev zlib1g-dev pkg-config netcat libncurses5-dev
FFMPEG_VERSION=2.3.3
cd /usr/local/src
if [ ! -d "/usr/local/src/ffmpeg-${FFMPEG_VERSION}" ]; then
sudo wget "http://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.bz2"
sudo tar -xjf "ffmpeg-${FFMPEG_VERSION}.tar.bz2"
fi
cd "ffmpeg-${FFMPEG_VERSION}"
sudo ./configure --enable-version3 --enable-postproc --enable-libvorbis --enable-libvpx
sudo make
sudo checkinstall --pkgname=ffmpeg --pkgversion="5:${FFMPEG_VERSION}" --backup=no --deldoc=yes --default
Here are the results:
reading package lists... Done
E: Unable to locate package libncurses5-dev
./install-ffmpeg.sh: line 2: $'\r': command not found
./install-ffmpeg.sh: line 4: $'\r': command not found
: no such file or director: cd: /usr/local/src
./install-ffmpeg.sh: line 15: syntax error: unexpected end of file
I am assuming the script could not find the required package in the compressed tar file from the online install sources and therefore it bombed out and did not download. What are the suggestions and work arounds? I have been to the source and see that there are many versions of ffmpeg out there.