[AMBER] Error: Unable to run flex; this is required for NAB and antechamber Please check your PATH, or install the program

From: vijay kumar narsapuram <nvijay1991.gmail.com>
Date: Mon, 2 Feb 2015 02:29:16 +0530

After successfully installing all the dependence i got below error after
running following command

command - ./configure gnu

ERROR:

Checking for updates...
Checking for available patches online. This may take a few seconds...

Available AmberTools 14 patches:

No patches available
Searching for python2... Found python2.7: /usr/bin/python2.7

Obtaining the gnu suite version:
      gcc -v
The version is 4.7.3

Testing the gcc compiler:
     gcc -DSYSV -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o testp
testp.c
OK

Testing the g++ compiler:
     g++ -o testp testp.cpp
OK

Testing the gfortran compiler:
     gfortran -O0 -o testp testp.f
OK

Testing mixed C/Fortran compilation:
     gcc -DSYSV -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o
testp.c.o testp.c
     gfortran -O0 -c -o testp.f.o testp.f
     gcc -DSYSV -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o testp
testp.c.o testp.f.o -lgfortran -w
OK

Testing pointer size:
     gcc -DSYSV -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o
test_pointer_size test_pointer_size.c
Detected 64 bit operating system.

Testing flex:Usage: flex [OPTIONS]

Error: no such option: -t

Error: Unable to run flex; this is required for NAB and antechamber
Please check your PATH, or install the program

Configure failed due to the errors above!
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Sun Feb 01 2015 - 13:00:02 PST
Custom Search