Subject: Re: X compiling current on Solaris amd64
To: Paul Winder <Paul.Winder@tadpole.com>
From: Garrett D'Amore <garrett_damore@tadpole.com>
List: current-users
Date: 04/19/2006 08:01:28
Paul,

I do this *all* the time.

You need to put /usr/xpg4/bin in your path ahead of /bin.  The /bin/sh
on Solaris lacks some POSIX features that build.sh needs.

/usr/xpg4/bin/sh works fine though.

    -- Garrett

Paul Winder wrote:

I'm trying to X compile on a solaris amd64. I run:
>
> ./build.sh -u -U -R ../release -T ../meteor-tools -O ../obj -m i386
> release
>
> and get:
> ./build.sh: bad substitution
>
> Changed the shell in build.sh to bash it goes further but eventually
> craps out with:
>
> ===> build.sh started: Wed Apr 19 11:57:41 BST 2006
> ===> MACHINE:          i386
> ===> MACHINE_ARCH:     i386
> ===> TOOLDIR path:     /files/home/paul/current/src/../meteor-tools
> ===> DESTDIR path:     /files/home/paul/current/src/../obj/destdir.i386
> ===> RELEASEDIR path:  /files/home/paul/current/src/../release
> ===> makewrapper:
> /files/home/paul/current/src/../meteor-tools/bin/nbmake-i386
> ===> Updated /files/home/paul/current/src/../meteor-tools/bin/nbmake-i386
> /usr/bin/sh: bad substitution
>
> *** Failed target:  obj-tools
> *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
> shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
> this=""; real="/files/home/paul/current/src" ;; *) this="${dir}/";
> real="/files/home/paul/current/src/${dir}" ;; esac; show=${this:-.};
> echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
> /files/home/paul/current/src/../meteor-tools/bin/nbmake
> _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget tools obj
> *** Error code 1
>
> Stop.
> nbmake: stopped in /files/home/paul/current/src
>
> Any ideas how I can get this to x compile on solaris?


-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191