LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-04-2011, 02:36 AM   #1
Leo89
LQ Newbie
 
Registered: Feb 2011
Posts: 3

Rep: Reputation: 0
make: CC: Command not found make: *** [main.o] Error 127 on opensuse 11.3


Hello...

I am using opensuse 11.3 and am trying to install a software 'LIGBUILDER'. I followed the instructions in the manual which required me to use the 'make' command. But on giving the make command

****************************
I got the following error

CC -c -o main.o main.c
make: CC: Command not found
make: *** [main.o] Error 127

****************************

I already tried installing gcc, make, automake modules still the problem persists.

PLS HELP
(I am doing my final semester project and need help fast)
Thank you for ur time....
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 02-04-2011, 11:36 AM   #2
alan99
Member
 
Registered: Mar 2010
Distribution: Debian
Posts: 180

Rep: Reputation: 31
Ligbuilder is written in C++ Do you have g++ installed?
 
Old 02-06-2011, 09:12 AM   #3
Leo89
LQ Newbie
 
Registered: Feb 2011
Posts: 3

Original Poster
Rep: Reputation: 0
yup
 
Old 02-06-2011, 10:42 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
A typo in the Makefile ?

Please try : 'export CC=gcc && make'

... Or / and edit the Makefile to : CC = gcc

...
 
2 members found this post helpful.
Old 03-10-2011, 11:24 PM   #5
Leo89
LQ Newbie
 
Registered: Feb 2011
Posts: 3

Original Poster
Rep: Reputation: 0
Smile Works

Thanks...it works
 
Old 11-30-2012, 04:35 PM   #6
thomas92
LQ Newbie
 
Registered: Nov 2012
Posts: 1

Rep: Reputation: Disabled
Question

Quote:
Originally Posted by knudfl View Post
A typo in the Makefile ?

Please try : 'export CC=gcc && make'

... Or / and edit the Makefile to : CC = gcc

...
I tried both options but it does not work. Anythink else ideas
 
Old 11-30-2012, 05:13 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 6, @thomas92 : Welcome to LQ.

Suggest : Please try adding a line to the Makefile : CC = gcc

Or / and : 1) cd /usr/bin/
2) su
3) ln -s gcc CC


.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
make: ifort: command not found ERROR 127 alismu Linux - Newbie 1 02-27-2010 02:04 AM
Unable to compile C++ programs.make:g++ command not found error.Error 127 PrathuD Programming 3 03-16-2009 12:44 PM
roo tail, make Error 127, /bin/sh: rman: command not found DraaX Linux - Desktop 4 08-28-2006 09:57 PM
make: Command not found, Error 127. I'm on Redhat Arild2 Linux - Newbie 3 10-30-2004 01:27 PM
make: cc: command not found make: *** [gzip.o]error 127 zyjk Linux - Newbie 5 02-08-2002 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:02 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