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 |
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? |
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- |
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.
|
All times are GMT -5. The time now is 05:25 PM. |