zlib build fails Leopard mac os 10.5
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"
On 10/31/07, William Davis <frstan@bellsouth.net> wrote:
zlib filed tp build under os 10.5 intel core duo 1.86GHz
That's strange. It built fine on my MacBook Core 2 Duo 2 Ghz on 10.5 as a dependency for Subversion. Were you building zlib on its own or as a part of another port?
On Oct 31, 2007, at 8:44 AM, Patrick Burleson wrote:
On 10/31/07, William Davis <frstan@bellsouth.net> wrote:
zlib filed tp build under os 10.5 intel core duo 1.86GHz
That's strange. It built fine on my MacBook Core 2 Duo 2 Ghz on 10.5 as a dependency for Subversion.
Were you building zlib on its own or as a part of another port?
part of another but when I tryed just now to build it on its own (after doing a port clean --all zlib), it built just fine. :/
On 10/31/07, William Davis <frstan@bellsouth.net> wrote:
On Oct 31, 2007, at 8:44 AM, Patrick Burleson wrote:
On 10/31/07, William Davis <frstan@bellsouth.net> wrote:
zlib filed tp build under os 10.5 intel core duo 1.86GHz
That's strange. It built fine on my MacBook Core 2 Duo 2 Ghz on 10.5 as a dependency for Subversion.
Were you building zlib on its own or as a part of another port?
part of another but when I tryed just now to build it on its own (after doing a port clean --all zlib), it built just fine. :/
You know, the first time I tried to build neon ( or was it zlib ) as a part of the Subversion dependencies, one of them failed saying it couldn't find "awk". The second time, it went just fine. It's almost like there's some strange Environment issues going on during the build.
participants (2)
-
Patrick Burleson
-
William Davis