Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: make iso-image - syntax error at line 11 : `;' unexpected



On Sunday 17 February 2008 20:41:37 Manuel Bouyer wrote:
> On Sun, Feb 17, 2008 at 02:55:11AM +0000, raymond.meyer%rambler.ru@localhost 
> wrote:
> > On Saturday 16 February 2008 18:57:21 Manuel Bouyer wrote:
> > > On Sat, Feb 16, 2008 at 01:39:12PM +0000, 
> > > raymond.meyer%rambler.ru@localhost 
wrote:
> > > > Trying to create bootable CD by running make iso-image and I get the
> > > > following error. Does anyone know how to fix it?
> > >
> > > Did you try
> > > ./build.sh iso-image (or maybe iso_image, I don't remember) ?
> >
> > I should have made it clear, this is exactly what I did
> >
> > MACHINE_ARCH=sparc64
> > WORK_DIR=/opt
> >
> > cd $WORK_DIR/src && /bin/sh ./build.sh -j 1 -u -m $MACHINE_ARCH \
> >         -x -X $WORK_DIR/xsrc \
> >         -O $WORK_DIR/obj.$MACHINE_ARCH -T $WORK_DIR/tools.$MACHINE_ARCH \
> >         iso-image
> >
> > Also, I'm doing this on SPARC Solaris. /bin/sh is a symlink to bash
>
> that's strange, it works for me on a linux box, where /bin/sh is also
> bash. Can you look in $WORK_DIR/tools.$MACHINE_ARCH/bin/nbmake-sparc
> what shell it uses ?

These are the first line from /opt/tools.sparc64/bin/nbmake-sparc64.
/usr/xpg4/bin/sh is the first 'sh' in my PATH

#! /usr/xpg4/bin/sh
# Set proper variables to allow easy "make" building of a NetBSD subtree.
# Generated from:  $NetBSD: build.sh,v 1.184 2008/02/03 06:10:53 matt Exp $
# with these arguments: -j 1 -u -m 
sparc64 -x -X /opt/xsrc -O /opt/obj.sparc64 -T /opt/tools.sparc64 iso-image

BSHELL='/usr/xpg4/bin/sh'; export BSHELL
CONFIG_SHELL='/usr/xpg4/bin/sh'; export CONFIG_SHELL
DESTDIR='/opt/obj.sparc64/destdir.sparc64'; export DESTDIR
HOST_SH='/usr/xpg4/bin/sh'; export HOST_SH


Home | Main Index | Thread Index | Old Index