Results 1 to 5 of 5
Hello everyone,
this is my first post and I am VERY new to Linux, so please forgive if I get long-winded in explanations which may seem overkill to you.
Here's ...
- 01-17-2010 #1Just Joined!
- Join Date
- Jan 2010
- Posts
- 3
problem installing ffmpeg and gcc
Hello everyone,
this is my first post and I am VERY new to Linux, so please forgive if I get long-winded in explanations which may seem overkill to you.
Here's a summary of my problem. I am running a server which is hosting a site where members can upload videoclips. I noticed that upon upload a thumbnail is not created for the videoclip.
I found out that ffmpeg needed to be properly installed and in my case ffmpeg-php as the site runs on php.
So far so good.
I followed the instructions found somewhere to install ffmpeg-php but stall at the command: dot slash configure && make
The error I get is:
checking for egrep... grep -E
checking for a sed that does not truncate output... slash slash bin slash sed
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
So I presume it's because gcc is missing.
Is there anybody who may have a suggestion how I can start tackling the problem and ultimately get gcc running so I can install the ffmpeg?
I am really sorry I was hoping to elaborate a bit more but I get an error: You are only allowed to post URLs to other sites after you have made 15 posts or more. so I guess I need to wait and describe it differently. Perhaps screenshots, just let me know what you guys need.
Thanks to all who read.
Richard
- 01-17-2010 #2
Hi,
there are very many different distributions of GNU/Linux. Each has a slightly different handling.
Therefore remember to always give info about this when seeking advice.
Most probably the software you want is supposed to be installed via a package manager. Look into the manual of your system whether you find a chapter about this. Then you need to select the "ffmeg" package and choose install.Debian GNU/Linux -- You know you want it.
- 01-17-2010 #3Just Joined!
- Join Date
- Jan 2010
- Posts
- 3
Thank you GNU-Fan! I guess that shows just how new I am, right? Sorry.
I did a phpinfo and got the following:
Apache Version Apache/2.2.3 (CentOS)
CentOS release 5.4 (Final)
Apache API Version 20051115
Also checked other methods and got:
Running Kernel Verion 2.6.18-164.10.1.el5 i686
Linux version 2.6.18-164.10.1.el5 (mockbuild@builder16.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Thu Jan 7 20:00:41 EST 2010
Now I do see mentioned: gcc version 4.1.2 which is surprising because I couldn't find gcc before.
Regarding the software, indeed, it was installed via a package manager. I believe I installed with command:
yum install ffmpeg ffmpeg-devel
or something with rpm at the beginning.
However, when trying to install another part of the software via command ./configure && make I get the error mentioned above.
- 01-17-2010 #4
Your operating system is CentOS release 5.4.
This refers to the version of GCC with which the kernel was compiled once.
If CentOS doesn't have the software you want as a package, you need to install a C compiler, yes. Look at option 3 in
http://www.cyberciti.biz/faq/howto-i...piler-on-rhel/Debian GNU/Linux -- You know you want it.
- 01-19-2010 #5Just Joined!
- Join Date
- Jan 2010
- Posts
- 3
Thank you very much for the link. The install worked like a charm.
Richard


Reply With Quote
