setting up BBB for first time ... problem with ffmpeg install

290 views
Skip to first unread message

Shane Davis

unread,
May 9, 2016, 5:12:16 PM5/9/16
to BigBlueButton-Setup
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.  

Fred Dixon

unread,
May 10, 2016, 4:37:03 AM5/10/16
to bigbluebu...@googlegroups.com
Hi Shane,

Can you post the output of the commands

  cat /etc/lsb-release
  uname -a
  
Also, it looks like you are using Windows to create the script and uploading it to your Ubuntu server through a file transfer program.  Windows inserts line feeds '\r' characters that Linux does not understand.

Recommend either (a) using a text editor (not notepad) that can save a file in Unix format or (b) access your Ubuntu server using PuTTY.  With PuTTY, you can edit a file on Linux (call it install-ffmpeg.sh) and then copy-and-paste in the script.

Try the above and let us know if your successful in getting it to execute.

Regards,... Fred

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
@bigbluebutton

Shane Davis

unread,
May 10, 2016, 9:36:05 AM5/10/16
to BigBlueButton-Setup
I'll run the commands below and let you know the results.  I built the file using a unix script editor like notepad ++.  I was using a PC to do this.  I did save the file as a unix shell script and transferred it via usb.  I did edit the file with vi and it looks ok.  I will remake the file on the linux box just to make sure.

Shane
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

Shane Davis

unread,
May 10, 2016, 9:41:56 AM5/10/16
to BigBlueButton-Setup
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS"

uname -a
Linux BigBlue 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016 x86_64
86_64 x86 GNU/Linux


On Tuesday, May 10, 2016 at 3:37:03 AM UTC-5, Fred Dixon wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

Shane Davis

unread,
May 10, 2016, 10:22:48 AM5/10/16
to BigBlueButton-Setup
The process went further this time.  I got down to the make process and apparently it cannot find the make command.
Here is the message it reports:

License: LGPL version 3 or later
Creating config.mak, config.h, and doc/config.texi...
sudo: makesudo: command not found

I then try to run the ffmpeg -version and of course it says ffmpeg: command not found

Suggestions or ideas?

  

On Tuesday, May 10, 2016 at 3:37:03 AM UTC-5, Fred Dixon wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

Shane Davis

unread,
May 10, 2016, 10:31:48 AM5/10/16
to BigBlueButton-Setup
Running the make command manually in the appropriate ffmpeg directory and it appears to be running now.  Must have been another script coding issue? 

Shane

Shane Davis

unread,
May 10, 2016, 10:45:08 AM5/10/16
to BigBlueButton-Setup
Possibly experiencing path issues.  had to run the ffmpeg command with the ./ in front of it inside its own directory to get it to run.
Reply all
Reply to author
Forward
0 new messages