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

Michael E. Maher michael at maheronline.co.uk
Mon Mar 4 11:22:04 PST 2013


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 ?
> 
> LFS 7.3
> 
> 5.10.2. Contents of Tcl
> Installed programs: tclsh (link to tclsh8.5) and tclsh8.5
> Installed library: libtcl8.5.so, libtclstub8.5.a
> Short Descriptions
> 
> tclsh8.5
> 
> The Tcl command shell
> 
> tclsh
> 
> A link to tclsh8.5
> 
> libtcl8.5.so
> 
> The Tcl library
> 
> libtclstub8.5.a
> 
> The Tcl Stub library

Thanks for pointing this out, I see now that I have the same issue :-)

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


Hope that's helpful to someone,
Thanks,
Michael





More information about the lfs-support mailing list