On Mon, Apr 28, 2008 at 10:42 PM, Shawn Walker <[EMAIL PROTECTED]> wrote:
> I just setup 2008.05 rc2a on my box, and I haven't been able to get
>  pkg to compile and install.
>
>  When I go into the src/tests directory and do a make, I get:
>
>  Logging to
>  /usr/bin/python api-complete.py >>
>  /bin/sh: syntax error at line 1: `end of file' unexpected
>  make: *** [api-test] Error 3
>  [EMAIL PROTECTED]:~/devel/pkg/src/tests$
>
>  I'm rather dumbfounded at the moment. It looks like the problem is
>  that TEST_LOG isn't being set, but this code has been this way for a
>  while.
>
>  The particular problem line appears to be:
>  TEST_LOG:sh=echo /tmp/$$.ipkg-test.log
>
>  What am I missing (I'm not an expert at ksh syntax)?

...and just as I hit send, I realised the problem.

which make
/usr/gnu/bin/make

echo $PATH
/opt/SunStudioExpress/bin:/usr/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/usr/sfw/bin:/opt/sfw/bin

export 
PATH=/opt/SunStudioExpress/bin:/usr/ccs/bin:/usr/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/usr/sfw/bin:/opt/sfw/bin

...then make test works.

Sigh,
-- 
Shawn Walker

"To err is human -- and to blame it on a computer is even more so." -
Robert Orben
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to