[Dock-fans] Error: flex was not found; was Re: dock 6

Scott Brozell sbrozell at rci.rutgers.edu
Fri Sep 18 19:26:13 PDT 2009


Hi,

On Fri, Sep 18, 2009 at 10:44 AM, Kosaraju Vamsi Krishna
<vamsi at nus.edu.sg>wrote:

>                when i try to install dock6.3 on ubuntu 9.04 full version (
> all prerequisites installed as mentioned in FAQ), i end up with following
> error. please help me to install the program
>
> I am using GCC 4.3.3 and ubuntu 9.04 full ( intel quadcore processor)
> Followed the steps mentioned in tutorial : ./configure gnu  then make all
> This error appearing after make all step
>
> starting installation of
> DOCK v6.3
> at Sat Sep 19 01:34:42 SGT 2009.
>
> cd ../src && make install
> make[1]: Entering directory `/home/vamsi/Programs/dock6/dock6/src'
> cd dock && make install
> make[2]: Entering directory `/home/vamsi/Programs/dock6/dock6/src/dock'
> g++ -c  -O2 -o amber_typer.o  amber_typer.cpp
> g++ -c  -O2 -o base_grid.o  base_grid.cpp
> base_grid.cpp: In member function ‘void
> Base_Grid::read_header(std::string)’:
> base_grid.cpp:38: warning: ignoring return value of ‘size_t fread(void*,
> size_t, size_t, FILE*)’, declared with attribute warn_unused_result
...
> prm.c:1307: warning: ignoring return value of ‘fscanf’, declared with
> attribute warn_unused_result
> make is_LEX_available
> make[4]: Entering directory `/home/vamsi/Programs/dock6/dock6/src/dock/nab'
> Error: flex was not found !

*******************************************************
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
>   Verify ./configure and examine the LEX definition
>   in the configuration file, config.h.
>   If a LEX cannot be found then try this:
>   cd ../src/dock/nab
>   make clean
>   make copy.lex.mm_options.c
>   make -e DOCKBUILDFLAGS='-Dflex' all
>   cd ../../../install
>   make install
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
*******************************************************

> make[4]: *** [is_LEX_available] Error 2
> make[4]: Leaving directory `/home/vamsi/Programs/dock6/dock6/src/dock/nab'
> make[3]: *** [lex.mm_options.c] Error 2

Did you read and try the suggested workaround (which I have
highlighted above!) ?

Scott



More information about the Dock-fans mailing list