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 "$" in /*)
this="$/"; real="$" ;; .)
> this="";
real="/files/home/paul/current/src" ;; *)
this="$/";
> real="/files/home/paul/current/src/$"
;; esac; show=${this:-.};
> echo "$ ===> ${show%/}${1:+ (with:
$ )}"; cd "$" &&
> /files/home/paul/current/src/../meteor-tools/bin/nbmake
> _THISDIR_="$" "$ "
$; }; _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.tadpolecom
puter.com/
Phone: 951 325-2134 Fax: 951 325-2191
|