Page 1 of 1

Problems installing FFMPEG on DS211

PostPosted: Sat Mar 26, 2011 6:59 pm
by thlang
Hi guys,

I'm having some problems getting FFMPEG installed on my DS211 - I've been following Patters' excellent guide, but when I get to the compilation step for FFMPEG I seem to be running into some difficulty. The compile seems to complete (with the requisite warnings) but when I try to execute the make install command, I get the following error :
  Code:
/volume1/@tmp/ffmpeg$ make install
INSTALL libavdevice/libavdevice.a
/bin/sh: install: not found
make: *** [install-libavdevice-static] Error 127


Is there something really obvious that I'm doing wrong ? :?

Re: Problems installing FFMPEG on DS211

PostPosted: Sun Mar 27, 2011 11:39 am
by individual
I'm not an expert but maybe you skipped the make step that is before make install?

Re: Problems installing FFMPEG on DS211

PostPosted: Sun Mar 27, 2011 11:52 am
by Cerberus
individual wrote:I'm not an expert but maybe you skipped the make step that is before make install?


yep i agree i think you have missed this step too :)

Re: Problems installing FFMPEG on DS211

PostPosted: Sun Mar 27, 2011 1:07 pm
by thlang
:) Thanks for the replies, but that's the weird thing, I have run the make and it takes its time (about half an hour or so) with a bunch of warnings about variables being uninitialised in functions and being deprecated, but it ultimately completes. Is the fact that I'm running DSM 3.1 an issue ? Or are there certain warnings that I need to look out for and actually pay attention to ?

Re: Problems installing FFMPEG on DS211

PostPosted: Sun Mar 27, 2011 1:16 pm
by Cerberus
thlang wrote::) Thanks for the replies, but that's the weird thing, I have run the make and it takes its time (about half an hour or so) with a bunch of warnings about variables being uninitialised in functions and being deprecated, but it ultimately completes. Is the fact that I'm running DSM 3.1 an issue ? Or are there certain warnings that I need to look out for and actually pay attention to ?


That a question for the NAS genie Patters, hopefully he will see this post when he is next out of his bottle..

Re: Problems installing FFMPEG on DS211

PostPosted: Sun Mar 27, 2011 2:25 pm
by individual
I'm running DSM 3.1 as well and everything went ok. The make process is not the one that takes that long. In fact, make process takes just a few seconds. The process that takes more than 30 minutes is the compile step:

  Code:
./configure --arch=arm --enable-armv5te --prefix=/opt --extra-cflags='-I/opt/include' --extra-ldflags='-L/opt/lib' --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-libmp3lame


You will know that this process is finished when the shell prompt apears again. During the process you will see many error messages but they seem to be normal and they will not affect the compile process itself.

Then there is make, and afterwards there is make install command.

Maybe you should start all over from the start with this installation.

Re: Problems installing FFMPEG on DS211

PostPosted: Sun Mar 27, 2011 4:16 pm
by thlang
Thanks individual - I have tried starting from scratch a few times, and each time I get the same error - I thought that there may be some dependencies in packages somewhere, but I'm not sure what they could be. The interesting thing is that you say the configure is the bit that takes a while. Mine takes about 15-20 seconds and doesnt' give me any errors my make process however is the one that takes about half an hour and seems to be compiling a whole bunch of modules

Re: Problems installing FFMPEG on DS211

PostPosted: Sun Mar 27, 2011 4:39 pm
by patters
Not sure about your error. I can confirm that the ./configure is quick - it's the make that's slow in fact.
It's possible that you have damaged your PATH environment variable. Look at the comments on my blog post for how to check it and what it ought to look like.

Re: Problems installing FFMPEG on DS211

PostPosted: Sun Mar 27, 2011 6:30 pm
by individual
I might be wrong about which and how long it takes... I appologize.