Bug 485252

Summary: plserver exits immediately with no error messages
Product: [Fedora] Fedora Reporter: Nick Maliszewskyj <nickm>
Component: itclAssignee: Wart <wart>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: orion, wart
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 3.4-3.fc10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-22 22:05:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nick Maliszewskyj 2009-02-12 16:31:29 UTC
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):
plplot-tk-5.9.0-2.svn8752.fc10.i386

How reproducible:
Completely

Steps to Reproduce:
1. Run plserver from the command line
2.
3.
  
Actual results:
Immediate return to command line.

Expected results:
Wish toplevel window revealed and plserver command prompt.

Additional info:
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.

Comment 1 Orion Poplawski 2009-02-12 19:09:53 UTC
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.

Comment 2 Wart 2009-07-11 23:23:48 UTC
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.

Comment 3 Fedora Update System 2009-07-12 01:01:00 UTC
itk-3.4-3.fc10,itcl-3.4-3.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/itk-3.4-3.fc10,itcl-3.4-3.fc10

Comment 4 Fedora Update System 2009-07-16 07:17:02 UTC
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

Comment 5 Fedora Update System 2009-07-22 22:05:30 UTC
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.