Menu

Error building on Linux

Help
2024-01-04
2024-01-05
  • Mihai Vasiliu

    Mihai Vasiliu - 2024-01-04

    Hi,
    I am having a problem while building on Linux. I cloned the fuse and
    libspectrum repos. Libspectrum built fine, but when building fuse I ran
    ./autogen.sh, ./configure and then make and get this error:
    What can this be?
    Thanks,
    Mihai

     
  • Alberto Garcia

    Alberto Garcia - 2024-01-04

    This is probably because you're using an old version of Flex. In Debian and Ubuntu install flex instead of flex-old.

     
    • Mihai Vasiliu

      Mihai Vasiliu - 2024-01-05

      I am on kubuntu 23.10.
      I didn't have flex installed, so I just installed it before compiling with sudo apt install flex.
      $ flex --version
      flex 2.6.4

       
  • Alberto Garcia

    Alberto Garcia - 2024-01-05

    Ok, that version is correct. Did you have install flex installed from the beginning or did you install it when make gave you an error? If it's the latter case then clean the repository completely and run autogen.sh again.

    If that does not fix the problem then run make V=1 in order to see what is actually happening there.

     
  • Mihai Vasiliu

    Mihai Vasiliu - 2024-01-05

    Oh, I did exactly what you said. I didn't have flex from the beginning. When compiling the first time, it said flex is not installed, then I installed it and re-compiled and get to the error.
    Tried make clean, but never thought about running autogen again.
    Now it works! Thanks a lot!

     

    Last edit: Mihai Vasiliu 2024-01-05

Log in to post a comment.