LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 09-25-2004, 07:32 PM   #1
Robin01
Member
 
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
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@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.
robin
 
Old 09-25-2004, 07:45 PM   #2
d0odman
Member
 
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!
 
  


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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration