LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-09-2005, 08:48 AM   #1
raaste
LQ Newbie
 
Registered: May 2004
Location: Suomi / Finland
Distribution: Ubuntu 9.10
Posts: 17

Rep: Reputation: 0
make and gcc problems


I was trying to install ffmpeg so I downloaded the "ffmpeg-0.4.9-pre1.tar.gz" file from their homepage. I unpacked it and ran the "configure" file. It went just fine, but when I tried to "make" it, this is what happens:
Code:
ville@vectra:~/ffmpeg-0.4.9-pre1$ make
make -C libavcodec all
make[1]: Entering directory `/home/ville/ffmpeg-0.4.9-pre1/libavcodec'
gcc -O3 -g  -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o common.o common.c
make[1]: gcc: Command not found
make[1]: *** [common.o] Error 127
make[1]: Leaving directory `/home/ville/ffmpeg-0.4.9-pre1/libavcodec'
make: *** [lib] Error 2
ville@vectra:~/ffmpeg-0.4.9-pre1$
I'm not sure, but I think it means that I don't have gcc. I do have gcc-3.4. So could I use gcc-3.4 with make to get ffmpeg working?
 
Old 08-10-2005, 01:52 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

1. Yes, you can definitely use gcc-3.4.

2. But when you install gcc (any version), it should create a symbolic link named "gcc" in some standard place:

EXAMPLE:
- which gcc
/usr/bin/gcc
<= MY "GCC" IS IN "/USR/BIN"

- rpm -qa|grep -i gcc
gcc-c++-3.3.5-5
libgcc-3.3.5-5
gcc-3.3.5-5
<= IT WAS INSTALLED AS AN RPM

3. Since you don't have a "gcc" exe, or a "gcc" symbolic link to your gcc-3.4 exe, you might:
a) Double check your $PATH (it should include /bin, /usr/bin, and /usr/local/bin, among other things)
b) Consider re-installing your copy of Gcc (doing the install as "root", and paying careful attention for any warnings or errors during the re-install).

'Hope that helps .. PSM
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gcc? make? hm? MagicMaxi Linux - Newbie 2 10-09-2005 11:35 AM
gcc, make...where from? Sul Linux - Newbie 1 08-07-2004 10:29 AM
'Make' needs 'Gcc' to compile but 'Gcc' needs 'Make'??? Qwirt Linux - Software 1 07-14-2004 10:54 PM
Make / gcc problems satinet Slackware 5 06-24-2004 10:49 AM
REDHAT 8 gcc make problems scottyman Linux - Distributions 4 01-29-2003 06:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration