Subject: Re: yacc error
To: port-sparc64 <port-sparc64@netbsd.org>
From: leam <leam@reuel.net>
List: port-sparc64
Date: 05/14/2003 18:45:03
Andrey Petrov wrote:
> On Wed, May 14, 2003 at 03:28:02PM -0400, leam wrote:
> 
>>I updated src and pkgsrc after lunch, and am building the tools with
>> "build.sh tools". I get the following, with a lot more 'Need an 
>>operator" erros. I'm using gcc 3.2.2.
>>
>>Am I doing something wrong?
>>
>>obj ===> tools/yacc
>>nbmake: "/usr/src/tools/yacc/.depend" line 1: Need an operator
>>nbmake: "/usr/src/tools/yacc/.depend" line 2: Need an operator
>>nbmake: "/usr/src/tools/yacc/.depend" line 4: Need an operator
>>No closing parenthesis in archive specification
>>nbmake: "/usr/src/tools/yacc/.depend" line 5: Error in archive 
>>specification: ""
>>nbmake: "/usr/src/tools/yacc/.depend" line 6: Need an operator
>>
>>ciao!
>>
>>leam
> 
> Rebuilding in clean directory usually helps. Or look at that .depend
> file, is that really wrong?
> 
> 	Andrey

The new directory seemed to do it. What's the "best practice" if I want 
to update from CVS and build often? Just start completely clean? I tried 
"make clean". Hmm... "make clean-depends"? I think I forgot that one.

ciao!

leam