[lfs-support] Text error LFS 7.3 sect. 5.10.2

Bruce Dubbs bruce.dubbs at gmail.com
Mon Mar 4 11:44:04 PST 2013


Michael E. Maher wrote:
> On Sun, 2013-03-03 at 23:23 -0500, stosss wrote:
>> I think something got overlooked. It doesn't effect the build process.
>> I believe this should be 8.6 ?

> If you're doing this in a script I have a little way of avoiding this:
>
>    # Assume you set the version and prefix once somewhere
>    PREFIX=/tools
>    tcl_version=8.6.0
>    # Do stuff and build tcl
>    ...
>    # The commands to fix up tcl can then be
>       tcl_major=$(echo ${tcl_version} | gawk -F. '{ print $1 "." $2}')
>       chmod o+w ${PREFIX}/lib/libtcl${tcl_major}.so
>       ln -s tclsh${tcl_major} ${PREFIX}/bin/tclsh

That's been fixed in the book.  We use xml so the way to fix this is 
with an entity:

<!ENTITY tcl-major-version "8.6">

That's in the book now.

   -- Bruce




More information about the lfs-support mailing list