You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
make gives an error while installion of codes (Imported #160) #160
GEN src/modelconfig/configlex.h
make all-am
make[1]: Entering directory '/path/to/codes/build'
GEN src/modelconfig/configlex.c
CC src/modelconfig/configlex.lo
gcc: error: src/modelconfig/configlex.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
Makefile:2047: recipe for target 'src/modelconfig/configlex.lo' failed
I checked file tree and such is also absent there.
How can I overcome it?
Hi @kenenbek , can you try running "make V=1" and report the output?
I think the GEN step is probably supposed to create the configlex.c file. Running make with V=1 will show the underlying command that is being run at each step, which might show why it isn't being created in this step.
I'm going to open up a separate issue for a configure/make bug here. Your config.log shows that it issued a "warning" for not having flex but then tried to execute a rule that requires flex anyway. That probably shouldn't happen :)
Activity
nmcglo commentedon Jun 4, 2018
Philip Carns:
Hi @kenenbek , can you try running "make V=1" and report the output?
I think the GEN step is probably supposed to create the configlex.c file. Running make with V=1 will show the underlying command that is being run at each step, which might show why it isn't being created in this step.
nmcglo commentedon Jun 4, 2018
Kenenbek Arzymatov:
make -V=1
nmcglo commentedon Jun 4, 2018
Philip Carns:
It looks like make is trying to generate that .c and .h file, but the actual command (usually flex or bison) is missing.
Can you share your config.log? Maybe try installing flex and bison and re-running configure?
It seems like there is a configure or makefile problem if it would allow you to get to this point without a clearer error message, though.
nmcglo commentedon Jun 4, 2018
Kenenbek Arzymatov:
Here is my config.log file:
https://gist.github.com/kenenbek/42bce3359e48c585471604f1e826c073
nmcglo commentedon Jun 4, 2018
Kenenbek Arzymatov:
closed
nmcglo commentedon Jun 4, 2018
Kenenbek Arzymatov:
Yes, I didn't have
flexpackage! Problem solved. Thank you.nmcglo commentedon Jun 4, 2018
Philip Carns:
Thanks for confirming!
I'm going to open up a separate issue for a configure/make bug here. Your config.log shows that it issued a "warning" for not having flex but then tried to execute a rule that requires flex anyway. That probably shouldn't happen :)
nmcglo commentedon Jun 4, 2018
Philip Carns:
mentioned in issue #161