[Dock-fans] ubuntu yacc; was Re: [Fwd: Re: Your DOCK 6 license has been approved]

Scott Brozell sbrozell at rci.rutgers.edu
Wed Sep 16 12:37:09 PDT 2009


Hi,

On Wed, Sep 16, 2009 at 05:31:41PM +0200, Stéphane Ransac wrote:
> 
> Thank you for your message. I just download dock 6.3 and try to install it on my computer (ubuntu 9.04).
> 
> Make dock    works even if I got a lot of warning message.
> 
> However, make utils leads to an error :
> 
> ...
> gcc -c -O2 -DSYSV variables.c
> yacc parser.y
> make[2]: yacc: Command not found
> make[2]: *** [parser.c] Error 127
> make[2]: Leaving directory `/home/ransac/dock6/src/tleap'
> make[1]: *** [utils] Error 2
> make[1]: Leaving directory `/home/ransac/dock6/src'
> make: *** [utils] Error 2
> 
> 
> I try to look for a "yacc" command or program but I did not found it. Since I'm still a novice in unix system, I do not know how to solve it.
> 

The story is here:
http://dock.compbio.ucsf.edu/DOCK_6/faq.htm#yacc:Commandnotfound

The ubuntu fix is 
sudo apt-get install byacc
Then 
which yacc
should emit
/usr/bin/yacc

Rebuild via:
cd install
make utils
make test

Scott



More information about the Dock-fans mailing list