#1591 closed defect (invalid)
Flex can't find locale headers on LFS 6-1
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | lowest | Milestone: | |
Component: | Book | Version: | TESTING |
Severity: | normal | Keywords: | |
Cc: |
Description
flex's main.c should be edited to add #include <locale.h> to compile. Without it, the package compilation blocks. On a fully installed LFS system, compilation does work, but not on the chapter 5 or 6.
Change History (3)
comment:1 by , 19 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 19 years ago
I don't think you've understood what I meant. I'm not asking for support, I'm just saying that the intructions contained by the LFS 6.1 book are wrong. I haven't written the exact error messages (`LC_MESSAGES' undeclared (first use in this function), I have just written the solution : adding #include <locale.h> to main.c.
To reproduce the issue : just follow the book from an empty partition. I wrote it here so that anyone can confirm and just add it to the errata page.
comment:3 by , 19 years ago
If the instructions are wrong, then you will have to prove it by giving us all the relavant information. Follow the instructions at the beginning of the book and move this to lfs-support@… where it belongs, please.
Please don't use bugzilla for support queries. Please post the instructions you used, your host system, and the *exact* error(s) you got from `make' to lfs-support@….