On Tue, Jan 24, 2012, Jason Swails wrote:
> To add on -- the command appears to just be using yacc, not
^^^^^^^^^^^^^
> $AMBERHOME/bin/yacc.
????which command? Let's fix this, not rely on anybody's PATH variable.
The config.h file should set YACC to $(BINDIR)/yacc, and all references should
use $(YACC), not "yacc" or anything else. I don't see myself where the error
is coming from, but it should be simple enough to track down on a system
where one is getting failures.
> I'm also pretty sure that the system yacc (or bison) will be used before
> the Amber yacc if it's present.
No,no,no,no. (+ 996 more). The amber build should be entirely independent
of whether or not there is a system yacc, or byacc and bison, or whatever.
Don't even think of trying to use anything but the yacc in $AMBERHOME/bin.
As I say, I can't find the problem: the "parallel" target in
$AMBERHOME/AmberTools/src/Makefile builds yacc before building nab; and the
$AMBERHOME/AmberTools/src/nab/Makefile uses $(YACC) (not some generic "yacc").
So, we need the real details of exactly what the failure mode is.
....dac
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Tue Jan 24 2012 - 13:30:04 PST