Bug 1105506

Summary: package require error (path problem)
Product: [Fedora] Fedora Reporter: Patrick Monnerat <patrick>
Component: itkAssignee: Dmitrij S. Kryzhevich <kryzhev>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: kryzhev
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-28 11:07:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
findinit fix none

Description Patrick Monnerat 2014-06-06 09:37:02 UTC
Description of problem:
Cannot load itk with "package require"

Version-Release number of selected component (if applicable):
itk-4.0.0-1.fc21.x86_64
tcl-8.6.1-4.fc21.x86_64
tk-8.6.1-1.fc21.x86_64
itcl-4.0.0-2.fc21.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Start "wish"
2. Type "package require Itk"

Actual results:
Can't find a usable itk.tcl in the following directories:
    /usr/share/itk4.0.0 /usr/bin/../lib/itk4.0.0 /usr/bin/../library /usr/bin/../../library /usr/bin/../../itk/library
This probably means that Itcl/Itk weren't installed properly.
If you know where the Itk library directory was installed,
you can set the environment variable ITK_LIBRARY to point
to the library directory.

Expected results:
4.0.0

Additional info:
The problem also arises when Itcl is preloaded.
Thanks for your investigations.

Comment 1 Patrick Monnerat 2014-06-06 16:11:00 UTC
Created attachment 902969 [details]
findinit fix

I found the problem: the findinit patch (from 3.4-4) should be reenabled: Darwin only is not enough.