Putting an yoke on this beast...
- tix is completely broken and unfunctional in 8.2 and cooker (15mdk). 
Crucial directory /usr/lib/tix8.1/* is not installed. Fixed here, see 
attached diff. By the way, /usr/lib/libtix*.so had been made executable.

- rebuiling tcltk.src.rpm requires binary tcl package to be installed. In 
other words tcltk requires itself to be built. Problems are in tcllib 
configure and itcl makeinstall scripts. Not fixed.

- man tixwish.1.bz2 is installed to /usr/share/man/mann. Tix %makeinstall 
problem. Not fixed.

- expect pkgIndex.tcl and cat-buffers is installed to /usr/lib instead of 
/usr/lib/expect5.32. Fixed in attached diff.

- Minor pbs:
/usr/lib/tclConfig.sh: TCL_BUILD_LIB_SPEC='-L/usr/include...
TCL_BUILD_STUB_LIB_SPEC='-L/usr/include...
TCL_BIULD_STUB_LIB_PATH='/usr/include...
/usr/include is incorrect, should be something like 
/usr/src/RPM/BUILD/tcltk...
the same for tkConfig.sh.


--- tcltk.spec.orig	Sun Apr 28 21:40:28 2002
+++ tcltk.spec	Sun Apr 28 22:46:39 2002
@@ -377,7 +377,7 @@
 # Expect
 #
 cd expect%{expect_major}
-%makeinstall tcl_libdir="$RPM_BUILD_ROOT/usr/lib"
+%makeinstall tcl_libdir=${RPM_BUILD_ROOT}%{_libdir} libdir=${RPM_BUILD_ROOT}%{_libdir}/expect%{expect_major}
 cd ..
 
 # remove cryptdir/decryptdir, as Linux has no crypt command (bug 6668).
@@ -403,11 +403,14 @@
 # Tix
 #
 cd tix-%{tix_major}/unix
-%makeinstall
+%makeinstall datadir=${RPM_BUILD_ROOT}%{_libdir}
 cd ../..
 
 # Not needed anymore?
 rm -rf $RPM_BUILD_ROOT%_libdir/libtixsam*
+
+# aesthetic: make libtix*.so executable
+chmod +x $RPM_BUILD_ROOT%_libdir/libtix*.so
 
 pushd $RPM_BUILD_ROOT%_bindir
 ln -s tixwish8.1.8.3 tixwish

Reply via email to