Re: [Flex-help] autogen.sh produces error, maybe need to change a path?
flex is a tool for generating scanners
Brought to you by:
wlestes
From: Simon S. <sim...@gn...> - 2022-03-07 06:33:34
|
Am 07.03.2022 um 00:11 schrieb Will Estes: > Do you need to modify flex itself? If not, you're better served by using one of the source distributions that will have the intermediate files included so you can take up immediately with using the configure script which supports a number of arguments to specify where various things should end up. See https://github.com/westes/flex/releases/tag/v2.6.4 for the most current release of flex. Sadly the last flex release was from early 2017, nearly 5 years ago. That provides a bit of "pressure" to build flex from source. When it is only about the intermediate files, then something like an automated build would help a lot, and this build can also run the tests on commits and pull requests. @Will: Until one of those is in case - maybe you can publish a 2.6.5-dev snaphot that could be updated later by running "make dist" on your machine, so people would have a 2022 version to use if the 2017 release is "not enough"? Thank you for considering that! Simon > > On Sunday, 6 March 2022, 9:00 pm +0000, Ashley Rohde <a.t...@ho...> wrote: > >> Hello, >> >> I'm having trouble with the last installation step of flex (so close). The error messages are included below. I suspect the problem is that the autogen script tries to install something (libtoolize? autoreconf?) into the user directory, but I am working on a cluster computer that requires me to use a project file (/project/bee-genomics/ashley.rohde), which is where all of the supporting programs are installed. I can't see a place in the script to change this destination and I don't know what to do. I am pretty new to working from a command line and this is the first time I've had to compile a program. Any help anyone could provide is greatly appreciated. >> >> Thanks very much. >> >> Cheers, >> >> Ashley Rohde >> >> Error message: >> >> make[2]: Entering directory `/project/bee-genomics/ashley.rohde/autoconf-2.71' >> make[2]: Warning: File `Makefile' has modification time 47 s in the future >> /usr/bin/mkdir -p '/user/share/autoconf/bin' >> /usr/bin/mkdir: cannot create directory '/user': Permission denied >> make[2]: *** [install-binSCRIPTS] Error 1 >> make[2]: Leaving directory `/project/bee-genomics/ashley.rohde/autoconf-2.71' >> make[1]: *** [install-am] Error 2 >> make[1]: Leaving directory `/project/bee-genomics/ashley.rohde/autoconf-2.71' >> make: *** [install] Error 2 >> >> >> -- >> Flex-help mailing list >> Fle...@li... >> https://lists.sourceforge.net/lists/listinfo/flex-help > > -- > Will Estes > wes...@gm... > > |