Bug 103047

Summary: "package require Tkspline": can't find package Tkspline
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Andreas Gruenbacher <agruen>
Component: DevelopmentAssignee: Reinhard Max <max>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None CC: ro
Version: Beta 1   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andreas Gruenbacher 2005-08-09 14:47:28 UTC
Reinhard,   
the graphviz-tcl package includes a file /usr/share/tcl/graphviz/pkgIndex.tcl   
that is somehow supposed to make lines like "package require Tkspline" work.  
Could you please explain to me how that works, and what's broken in the  
package currently? Thanks!
Comment 1 Reinhard Max 2005-08-09 15:17:46 UTC
We resolved it in a personal talk.

Short summary: the shared objects that are loadable by Tcl/Tk have to be located
under %_libdir rather than a package-speciffic subdir of it, and pkgIndex.tcl
has to be changed to load them by unqualified name rather than relative to the
directory where the script itself is located.