> On Feb 2, 2015, at 8:47 AM, vijay kumar narsapuram <nvijay1991.gmail.com> wrote:
>
> I am using ubuntu 13.04.
>
> which flex gave:/usr/local/bin/flex
This is a problem. Where did this flex come from? What seems to have happened is that you installed something to /usr/local that includes a program called “flex” that is conflicting with the system flex inside /usr/bin.
You need to make sure that when the “flex” program is run, the one inside /usr/bin/flex is used instead of /usr/local/bin/flex. You can do this in a couple ways:
1. Rearrange your PATH environment variable so that /usr/bin comes *before* /usr/local/bin.
2. Delete the /usr/local/bin/flex program (if you don’t need that program, this might be the best route)
3. Change “flex” in the config.h file to “/usr/bin/flex” to make sure it uses the “correct” program. I’m not positive that this will work, but if it does it would probably be the easiest option.
HTH,
Jason
--
Jason M. Swails
BioMaPS,
Rutgers University
Postdoctoral Researcher
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Feb 02 2015 - 06:30:02 PST