Subject: zoularis compilation question
To: None <port-sparc@netbsd.org>
From: Michael Wolfson <mbw@ee.cornell.edu>
List: port-sparc
Date: 09/16/1999 23:50:27
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

Stop.
make: *** [all] Error 1

Any suggestions?  Thanks,
  -- MW