Red Hat Bugzilla – Bug 11940
Tix install is wrong in Raw Hide tcltk package
Last modified: 2008-05-01 11:37:55 EDT
I saw this error when building the tcltk RPM:
/bin/sh: [: tk8.0/pkgIndex.tcl: binary operator expected
No pkgIndex.tcl found in the target directories.
pkgIndex.tcl installation skipped.
The problem is that since the spec file links the tk8.0 directory to tk8.2,
the command "if [ -f */pkgIndex.tcl ]; then" in the Tix unix/Makefile.in is
no longer valid because the wildcard matches to files.
The spec file should probably rename the directory instead of linking it.
But it needs to rename the directory after applying the patches, or the patches
will fail :-).
Created attachment 321 [details]
Here's how I fixed this
Fixed (as described) in tcltk-3.2.1-40. Thanks for the patch.
This "patch" should not be needed with tix 8.1.3 or 8.1.4.
Can you confirm for me that this is no longer in the tcltk package?
I have a new minor release ready to go but not yet announced.
Would you like to try it out and see if there are any problems
before I announce it. It's a bugfix release with no major changes
to the configure/make.
That is correct this patch is no longer in, and
hasn't been for a good while.
(In fact there is only one patch currently being applied
which is for itcl-3.2.1.)