Menu

#174 cscope needs [f]lex to build

closed-duplicate
5
2005-11-02
2005-11-02
Anonymous
No

Hi,

This is Issac Samuel working for Wipro Technologies. I
would like to use cscope in cygwin environment. Hence,
I downloaded the recent version 15.5 version. I ran
configure file and when I tried ot run make, I am getting
the following error.

issac@120709-2w101 ~/csc
$ make
make all-recursive
make[1]: Entering directory `/home/issac/csc'
Making all in doc
make[2]: Entering directory `/home/issac/csc/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/issac/csc/doc'
Making all in src
make[2]: Entering directory `/home/issac/csc/src'
/bin/bash ../ylwrap `test -f 'fscanner.l' ||
echo './'`fscanner.l .c fscanner.c -- :
make[2]: *** [fscanner.c] Error 1
make[2]: Leaving directory `/home/issac/csc/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/issac/csc'
make: *** [all] Error 2

I have attached the config.log file.

Could you please tell me about what could be the
problem and what are the corrective actions ? My mail id
is issac.samuel@wipro.com

Discussion

  • Neil Horman

    Neil Horman - 2005-11-02

    Logged In: YES
    user_id=827328

    what happens when you run this command:
    /bin/bash ../ylwrap `test -f 'fscanner.l' || echo
    './'`fscanner.l .c fscanner.c -- :
    by hand in the /home/issac/csc/src subdirectory?

     
  • Hans-Bernhard Broeker

    • summary: make is failing --> cscope needs [f]lex to build
    • status: open --> closed-duplicate
     
  • Hans-Bernhard Broeker

    Logged In: YES
    user_id=27517

    ... yet another person who tries to build cscope, but
    doesn't have flex installed.

    Fix: get and install flex (and bison), then restart the
    cscope installation procedure from the 'configure' step.

     

Log in to post a comment.