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
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
This is probably because you're using an old version of Flex. In Debian and Ubuntu install
flex
instead offlex-old
.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
Ok, that version is correct. Did you have install
flex
installed from the beginning or did you install it whenmake
gave you an error? If it's the latter case then clean the repository completely and runautogen.sh
again.If that does not fix the problem then run
make V=1
in order to see what is actually happening there.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