Menu

#1731 Cannot cross-compile anymore: AC_PROG_LEX fails.

v3.x
open-upstream
nobody
None
Buildsystem
2023-08-19
2022-04-17
No

Hello,
I noticed that I cannot cross-compile VICE anymore, but actually it's not our fault.
On my system, when I try to compile with native compiler, everything woks fine.
But, if you try to cross compile, detection of lex/flex fails and the configuration process stops.
I have seen that this issue started to happen after I updated autotools.
If I use autoconf 2.69, then it works fine.
But if I update to 2.70 or 2.71, then it won't work anymore and it prints the message:

Could not find either flex or lex!

After doing a search into the net, I discovered that there is already a bug signaled at this page:
https://savannah.gnu.org/support/?110269

The only way that I have found to make working again the configure script when using a cross compiler is to downgrade autoconf to version 2.69 and the re-create configure by using autogen.sh.

Although this is not an issue of configure.ac, I would like to suggest to keep this bug open for reference, because I suspect that there will be surely other people that will try to cross compile the emulator and, if they have installed autoconf 2.70 or newer, they will also face this trouble.

Sincerely.

Discussion

  • gpz

    gpz - 2023-03-27

    can we close this?

     
  • gpz

    gpz - 2023-08-13

    @Carlo Bramini can we?

     
  • Carlo Bramini

    Carlo Bramini - 2023-08-17

    Recently, I didn't cross compile VICE, but that issue of autoconf is still open at Savannah, so I suspect that this is still valid.

     
  • gpz

    gpz - 2023-08-19
    • status: open --> open-upstream
     

Log in to post a comment.