LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-31-2008, 03:05 AM   #1
manazar
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
Exclamation make: cc: Command not found


Checking for gcc...
Building static library libz.a version 1.2.3 with cc.
Checking for unistd.h... No.
Checking whether to use vs[n]printf() or s[n]printf()... using s[n]printf()
Checking for snprintf() in stdio.h... No.
WARNING: snprintf() not found, falling back to sprintf(). zlib
can build but will be open to possible buffer-overflow security
vulnerabilities.
Checking for return value of sprintf()... No.
WARNING: apparently sprintf() does not return a value. zlib
can build but will be open to possible string-format security
vulnerabilities.
Checking for errno.h... No.
Checking for mmap support... No.
[root@localhost zlib-1.2.3]# make
cc -O -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c -o example.o example.c
make: cc: Command not found
make: *** [example.o] Error 127



This is happening when i try to install tar xvfz zlib-1.2.3.tar.gz
 
Old 07-31-2008, 04:19 AM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Looks like you need to install a compiler and other development tools.

Please put your distro in your profile (it will show in the panel on the left with each post, making it possible for people to give you direct advice without always asking the question...)

Which distro are you using?
 
Old 07-31-2008, 09:46 PM   #3
tanushreevk
LQ Newbie
 
Registered: Jul 2008
Posts: 8

Rep: Reputation: 0
these rpms must be installed in order to install the C compiler and related
tools required for compling C source code.


1. gcc-3 2. dev86 3. cpp-
4. make- 5. binutils- 6. glibc-devel
7. ncurses- 8. ncurses-devel-
 
Old 07-31-2008, 09:59 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
He might not be using an rpm based system... Anyway I'd recommend using the relevant pkg mgr rather than manual install for stuff where possible.
 
  


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
make -o command not found JAKK Linux - General 4 02-03-2007 04:11 PM
Make command not found rc51geo Linux - Wireless Networking 1 08-09-2005 06:45 PM
'make' command not found X_ArchAngel Slackware 2 11-17-2004 03:03 AM
make - command not found LordFrancis Linux - Newbie 4 10-25-2004 10:57 AM
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 07:41 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