Code Monkey home page Code Monkey logo

Comments (5)

Mightyjo avatar Mightyjo commented on July 17, 2024

You need to run autogen.sh before configure. Full details are in INSTALL.md.

You should have good luck with MSYS and the required packages listed in the install doc. Let us know if not, please.

from flex.

Khalinda avatar Khalinda commented on July 17, 2024

Thanks Mightyjo. I am working with the release archive, "Flex.2.6.4.tar.gz". It doesn't seem to have any file called INSTALL.md. Comparing the release archive with the GitHub repository, a couple of other files seem to be missing from Flex.2.6.4.tar.gz too. Also, autogen.sh is only mentioned in the section of INSTALL.md that describes building from the repository, not the release archive..

As always building anything Linux related on Windows is unfathomably difficult. After a few hours, trying different msys2 shells and installing a half dozen additional packages, configure is stuck on a missing "sys/wait.h". I'll try again tomorrow.

from flex.

westes avatar westes commented on July 17, 2024

Makefile is created by running the configure script. This is the standard mechanism used by every autoconf-based package.

It sounds like you'd be better served by installing a binary package of flex. Unless you're planning on making changes to flex itself, that is usually the case.

from flex.

Khalinda avatar Khalinda commented on July 17, 2024

Thanks westes. I need a "Unicode" (UTF-16) version of flex. Unfortunately, ASCII has limited utility on Windows.

from flex.

Khalinda avatar Khalinda commented on July 17, 2024

Configure is reporting:

checking for regex.h... yes
checking for strings.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/wait.h... no
configure: error: required header not found on your system

Unfortunately, there are several "sys" directories within msys2. I have verified that wherever there is a stat.h, there is also a wait.h, but still configure complains that it can't find wait.h.

from flex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.