On 23 March 2017 at 04:50, Nadathur, Sundar <[email protected]>
wrote:

> When I run buildrump.sh, I get this error:
>
> [… buildrump.sh]$ ./buildrump.sh
>
> >> Fetching NetBSD sources to ./src using git
>
> From https://github.com/rumpkernel/src-netbsd
>
> * branch            buildrump-src -> FETCH_HEAD
>
> >> checkout done
>
> >> NATIVE build environment probed
>
> >> ERROR:
>
> >> Host zlib (libz, -lz) required, please install one!
>
>
>
> This comes from doesitbuild_host() in maketools(). But the equivalent
> program compiles fine:
>
> #!/usr/bin/env sh
>
>
>
> doesitbuild_host ()
>
> {
>
>
>
>       theprog="${1}"
>
>       shift
>
>
>
>       printf "${theprog}" \
>
>           | ${HOST_CC} -x c - -o /dev/null $*
>
> }
>
>
>
> doesitbuild_host \
>
> '#include <zlib.h>
>
> #include <stdlib.h>
>
> int main() {gzopen(NULL, NULL); return 0;}' -lz \
>
>             || die 'Host zlib (libz, -lz) required, please install one!'
>
>
>
> Further, libz.so exists in /usr/lib64.
>
>
>
> Please let me know how to proceed.
>


is zlib.h present as well?

cheers,
  --krishna

-- 
Rivers know this: there is no hurry. We shall get there some day.
  -- Winnie-the-pooh

Reply via email to