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
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page