Subject: Re: zoularis compilation question
To: None <port-sparc@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: port-sparc
Date: 09/17/1999 08:25:06
In article <Pine.NEB.4.10.9909162307400.6933-100000@fatmac.ee.cornell.edu>,
Michael Wolfson <mw34@cornell.edu> wrote:
>Hi,
>
>I've been trying to get zoularis to compile up properly and found that it
>keeps looking in the wrong places for files.  I'm using the latest
>distfile of zoularis with the NetBSD 1.4.1 sources under Solaris 2.6.
>
>Here's what I did:
>
>mkdir -p /emul/netbsd
>cd /emul/netbsd
>tar xzf src.tgz
>tar xzf syssrc.tgz
>mkdir -p /emul/netbsd/usr/src
>cd /emul/netbsd/usr/src
>tar xzf pkgsrc.tar.gz
>cd /emul/netbsd/usr/src/pkgsrc/cross
>tar xzf zoularis-19990830.tar.gz
>edit zoularis/bsd/Makefile.inc and change values to:
>	BSDSRCDIR=/emul/netbsd
>	DESTDIR= /emul/netbsd
>	MACHINE=sparc
>	MACHINE_ARCH=sparc
>cd /emul/netbsd/usr
>cp sys/arch/sparc/include/bswap.h sys/sys
>cp sys/arch/sparc/include/endian.h sys/sys
>ln -s /emul/netbsd/usr/src/sys /emul/netbsd/sys
>rmdir /emul/netbsd/lib
>ln -s /emul/netbsd/usr/src/lib /emul/netbsd/lib
>
>And here it inexplicably dies with:
>rm -f /emul/netbsd/include/bsd/stdio.h
>cp /emul/netbsd/include/stdio.h /emul/netbsd/include/bsd/stdio.h
>ed - /emul/netbsd/include/bsd/stdio.h < /emul/netbsd/usr/src/pkgsrc/cross/zoularis/bsd/include/stdio.h.ed > /dev/null
>*** Error code 2

run this command by hand?

christos