User Tools

Site Tools


qLinux


<< Prev
Libffi-3.4.2

Next >>
Tk-8.6.12


Tcl-8.6.12

Reference: 8.15. Tcl-8.6.12. The tcl/tk package is recommended for python. Fix the build system:

patch -Np1 -i tcl8.6.12-bld-20220331.patch

Configure the package:

cd unix
./configure --prefix=/plng \
            --mandir=/plng/man \
            --includedir=/plng/inc \
            --enable-64bit

Compile the package:

make

Before installing comment out all references to the build directory in some config files:

sed -i 's|/data/src/tcl8.6.12/unix|/plng/lib|g' tclConfig.sh
sed -i 's|/data/src/tcl8.6.12/unix/pkgs|/plng/lib|g' pkgs/itcl4.2.2/itclConfig.sh
sed -i 's|/data/src/tcl8.6.12/unix/pkgs|/plng/lib|g' pkgs/tdbc1.1.3/tdbcConfig.sh

Install tcl:

make install

Move one man page to the proper location:

cp -v /tmp/man1/tclsh.1 /plng/man/man1/

The other man pages are considered as non useful in its form.

Optional: install some more header files:

 make install-private-headers

<< Prev
Libffi-3.4.2

Next >>
Tk-8.6.12