LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 09-25-2004, 08:32 PM   #1
Registered: Aug 2003
Posts: 104

Rep: Reputation: 15
zlib installation issues

hellp everybody,

I'm not the best at linux but learning.
-mandrake 10
- installing as admin
problem, i tried installing zlib and received the following error:

[root@comgen zlib-1.2.1]# ./configure
Checking for gcc...
Building static library libz.a version 1.2.1 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
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
Checking for errno.h... No.
Checking for mmap support... No.

[root@comgen zlib-1.2.1]# make test
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

i'm not the best at solving linux issues, so any help u can give me would be greatly appreciated.
Old 09-25-2004, 08:45 PM   #2
Registered: Sep 2004
Location: CA, USA
Distribution: Slackware 10.2
Posts: 132

Rep: Reputation: 15
Program development tools

Looks like you're missing the developer packages from your Mandrake installation. It wouldn't be a problem if you did a complete install when you first did your install. I'm thinking you did a 'recommended' type installation. Usually they leave out some compiling tools, since normal users aren't going to be compiling anything (yeah right).

Anywho, check to see what RPMs are installed, and see if you have some gcc compile tools installed. If you do, you might not have enough of it. It might be split in to two or more packages. I'm not a Mandrake user, but I'm sure if you look around a Mandrake site, or your install CD for that matter, you'll find some development tools RPM package. Good luck!


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
zlib m2azer Linux - Newbie 1 09-16-2005 05:07 PM
zlib ?! D3javu Linux - Newbie 1 04-05-2005 06:39 AM
zlib for python irvken Linux - Software 0 06-14-2004 03:56 PM
whats zlib? madd matt Linux - Software 2 06-08-2004 07:06 PM
zlib installation Canadian_2k2 Linux - Software 0 01-06-2003 07:45 PM

All times are GMT -5. The time now is 01:35 AM.

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