Problem on installing zlib on AIX

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sumandas1982
    New Member
    • Nov 2009
    • 1

    Problem on installing zlib on AIX

    Hi,
    I am trying to install Zlib-1.2.3 on my AIX 5.3(becasue Zlib is uninstalled accidentally).W hen I am compiling the zlib library,I get warning -
    # ./configure
    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.
    And when I am trying to install then it can't.
    # make install
    cc -O -qmaxmem=8192 -DNO_snprintf -DHAS_sprintf_vo id -DNO_ERRNO_H -c adler32.c
    /bin/sh: cc: not found.
    make: 1254-004 The error code from the last command is 127.
    Stop.

    Can any one please help me.
    Thanks,
    Suman
Working...