bug-gnustep
[Top][All Lists]
Advanced

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

Re: GNUstep make Solaris 2.8 glitch


From: Nicola Pero
Subject: Re: GNUstep make Solaris 2.8 glitch
Date: Tue, 25 Jun 2002 11:05:50 +0100 (BST)

> >>Hi Nicola,
> >>
> >>hope you're fine. I just got my hands on a (slow) Solaris 2.8 box. First 
> >>thing I did was install a fresh-from-cvs GNUstep on that box. Then I 
> >>compiled the ED* frameworks and noticed a build failure that I didn't 
> >>expect. It turns out that in target build-framework-dirs of 
> >>Instance/framework.make all [ ! -L foo ] tests fail due to Solaris' 
> >>/bin/sh not offering the -L test (failure is: "test: expected argument 
> >>missing"). Instead, I had to rewrite all occurences with  /bin/test ! -L 
> >>foo (which works). Not sure how one could rewrite that easily and still 
> >>remain portable, probably by introducing something like platform.make in 
> >>the NeXT makefile packages?
> > 
> > 
> > Hi - I'm still not sure how to fix this problem - we do have platform
> > specific configurations, but I'm not sure it would help with this.
> > 
> > Maybe someone else has a good suggestion.
> > 
> 
> I think 'test' is generally more portable than '[ ... ]' (In fact it's 
> already used in one place in framework.make.) Is there any reason why it 
> should not be used?

No reason not to use it ... but would it fix the problem ?

I think his problem was that he needed /bin/test to be executed instead of
the built-in test.

Would using test rather [...] solve the problem, or would the built-in
test still be used ?

I would assume - if it's a reasonable shell - the built-in test would
still be used :-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]