zlib build fails Leopard mac os 10.5
William Davis
frstan at bellsouth.net
Wed Oct 31 02:17:06 PDT 2007
zlib filed tp build under os 10.5 intel core duo 1.86GHz
-d output contained:
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.
---> Building zlib with target all
DEBUG: Executing org.macports.build (zlib)
DEBUG: Environment:
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_archivers_zlib/work/zlib-1.2.3" && make all'
O2 -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c -o example.o
example.c
make: O2: Command not found
make: [example.o] Error 127 (ignored)
O2 -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c -o adler32.o
adler32.c
make: O2: Command not found
make: [adler32.o] Error 127 (ignored)
O2 -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c -o compress.o
compress.c
make: O2: Command not found
make: [compress.o] Error 127 (ignored)
O2 -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c -o crc32.o crc32.c
make: O2: Command not found
make: [crc32.o] Error 127 (ignored)
O2 -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c -o gzio.o gzio.c
make: O2: Command not found
make: [gzio.o] Error 127 (ignored)
O2 -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c -o uncompr.o
uncompr.c
make: O2: Command not found
make: [uncompr.o] Error 127 (ignored)
O2 -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c -o deflate.o
deflate.c
make: O2: Command not found
make: [deflate.o] Error 127 (ignored)
O2 -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c -o trees.o trees.c
make: O2: Command not found
make: [trees.o] Error 127 (ignored)
O2 -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c -o zutil.o zutil.c
make: O2: Command not found
make: [zutil.o] Error 127 (ignored)
O2 -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c -o inflate.o
inflate.c
make: O2: Command not found
make: [inflate.o] Error 127 (ignored)
O2 -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c -o infback.o
infback.c
make: O2: Command not found
make: [infback.o] Error 127 (ignored)
O2 -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c -o inftrees.o
inftrees.c
make: O2: Command not found
make: [inftrees.o] Error 127 (ignored)
O2 -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c -o inffast.o
inffast.c
make: O2: Command not found
make: [inffast.o] Error 127 (ignored)
ar rc libz.a adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o
trees.o zutil.o inflate.o infback.o inftrees.o inffast.o
ar: adler32.o: No such file or directory
ar: compress.o: No such file or directory
ar: crc32.o: No such file or directory
ar: gzio.o: No such file or directory
ar: uncompr.o: No such file or directory
ar: deflate.o: No such file or directory
ar: trees.o: No such file or directory
ar: zutil.o: No such file or directory
ar: inflate.o: No such file or directory
ar: infback.o: No such file or directory
ar: inftrees.o: No such file or directory
ar: inffast.o: No such file or directory
make: *** [libz.a] Error 1
Error: Target org.macports.build returned: shell command " cd "/opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_archivers_zlib/work/zlib-1.2.3" && make
all " returned error 2
Command output: make: [trees.o] Error 127 (ignored)
O2 -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c -o zutil.o zutil.c
make: O2: Command not found
make: [zutil.o] Error 127 (ignored)
O2 -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c -o inflate.o
inflate.c
make: O2: Command not found
make: [inflate.o] Error 127 (ignored)
O2 -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c -o infback.o
infback.c
make: O2: Command not found
make: [infback.o] Error 127 (ignored)
O2 -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c -o inftrees.o
inftrees.c
make: O2: Command not found
make: [inftrees.o] Error 127 (ignored)
O2 -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c -o inffast.o
inffast.c
make: O2: Command not found
make: [inffast.o] Error 127 (ignored)
ar rc libz.a adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o
trees.o zutil.o inflate.o infback.o inftrees.o inffast.o
ar: adler32.o: No such file or directory
ar: compress.o: No such file or directory
ar: crc32.o: No such file or directory
ar: gzio.o: No such file or directory
ar: uncompr.o: No such file or directory
ar: deflate.o: No such file or directory
ar: trees.o: No such file or directory
ar: zutil.o: No such file or directory
ar: inflate.o: No such file or directory
ar: infback.o: No such file or directory
ar: inftrees.o: No such file or directory
ar: inffast.o: No such file or directory
make: *** [libz.a] Error 1
Warning: the following items did not execute (for zlib):
org.macports.destroot org.macports.build
DEBUG: wrong # args: should be "md5 action ?file?"
while executing
"md5 $fname"
More information about the macports-users
mailing list