Re: best way to install ncurses version 6.5 with version 5 support is not very clear in the 12.2 systemd linux from scratch book
| Newsgroups | gmane.linux.lfs.support |
|---|---|
| Organization | Chihuahua Radio |
| Message-ID | <[email protected]> |
On 9/25/2024 3:34 AM, Rainer Fiebig ([email protected] via lfs-support Mailing List) wrote: > Am 25.09.24 um 07:17 schrieb Xi Ruoyao ([email protected] via > lfs-support Mailing List): >> On Tue, 2024-09-24 at 21:37 -0500, Nick Gawronski wrote: >>> Hi, I am wanting to install the version 5 support as talked about in the >>> section 8.30 as I think the version 5 support should rather be included >>> in the main book as I was reading and following the directions as they >>> appeared in the book. After I did the main configuration and the >>> installation only then do I see the directions for the version 5 support >>> and two commands for enabling it. It is not clear at all after you run >>> these two commands if I have to go back and redo the other make install >>> and the other commands after rebuilding with version 5 support. >> "cp -av lib/lib*.so.5* /usr/lib" would have already installed the ABI >> version 5 libraries, so why do you need to redo the other commands? >> >>> I do want it to be included and this is why I think that if optional >>> components like this are not included by default they should be for >>> those of us who perhaps want to install software that uses it. >> If you do want it just install it following the note. There is no >> reason to force everyone to install it just because you do want it. >> >>> My point is put it in even if it is not used much and if it is just one configure >>> switch I see no major issue with putting it in. >> I don't know what you mean by "just one configure switch." If you just >> add --with-abi-version=5 to configure you'll only get the ABI version 5, >> and you'll **not** get the ABI version 6 that we want. So you have to >> configure and build it for another time if you want both ABI version 6 >> and ABI version 5. >> >>> What is the proper way >>> to install ncurses with version 5 support from after unpacking the file >>> and doing all of the normal installation steps as this is not clear when >>> the direction >> We've provided the proper way. The way in the book is correct. Why do > Absolutely. And the note is pretty clear. Hard to make it even > clearer. _Perhaps_ by adding "and install them" to the last sentence > which would then be: > > "..., build the package again and install them with the following commands:" > What I was not sure about and from reading these messages it looks like version 6 support is installed first and then it looks like you then clean up the sources and rebuild it with version 5 support and then install the version 5 support. I thought it was all the same thing as from cleaning up the package and adding the option to configure yes the version 5 support is built and installed but I was not aware that these were two separate installations, one for version 6 and then the other one for version 5 using the two commands in the book. Perhaps saying this in the book like if you wish to install version 5 support you need to clean up the sources but this will not remove version 6 support that was just installed. Nick Gawronski > > Rainer > -- http://lists.linuxfromscratch.org/sympa/info/lfs-support Unsubscribe: See the above information page