Red Hat Bugzilla – Bug 485252
plserver exits immediately with no error messages
Last modified: 2009-07-22 18:05:35 EDT
Description of problem:
plserver (plplot-tk-5.9.0-2.svn8752.fc10.i386) exits immediately with
no error messages. It is not possible to use the tcl binding to plplot.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run plserver from the command line
Immediate return to command line.
Wish toplevel window revealed and plserver command prompt.
On running strace I find that plserver is attempting to find itcl.tcl in /itcl/library/itcl.tcl and itk.tcl in /itk/library/itk.tcl. The itcl and itk packages put these files under /usr/share/tcl8.5/itcl3.4 and /usr/share/tcl8.5/itk3.4, respectively. It would appear that this is a build problem.
While plserver should output some useful error messages, I believe this is a problem in itcl. plserver is basically just calling Itcl_Init() from the itcl library. It should know how to find itcl.tcl.
The problem is indeed with itcl. In itcl_cmds.c there is some code that iterates through a list of well-known directories that should contain itcl.tcl. Unfortunately, /usr/share/tcl8.5/itcl3.4 is not among that list.
I'm working on a patch now.
itk-3.4-3.fc10,itcl-3.4-3.fc10 has been submitted as an update for Fedora 10.
itk-3.4-3.fc10, itcl-3.4-3.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update itk itcl'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-7632
itk-3.4-3.fc10, itcl-3.4-3.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.