Bug 428740 - Need to install into different directory
Need to install into different directory
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: expect (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Vitezslav Crhonek
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-14 16:25 EST by Wart
Modified: 2008-01-17 07:47 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-01-17 07:47:49 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
Patch to install files into the location where tcl will find them (1.34 KB, patch)
2008-01-14 16:25 EST, Wart
no flags Details | Diff
Patch to spec file to package files in correct directory (3.06 KB, patch)
2008-01-14 16:26 EST, Wart
no flags Details | Diff

  None (edit)
Description Wart 2008-01-14 16:25:21 EST
Description of problem:
Tcl 8.5 in Fedora uses a limited set of directories for searching for extensions
such as expect.  As a result, the pkgIndex.tcl file for an extension must be
installed into a subdirectory of either /usr/lib/tcl8.5 or /usr/share/tcl8.5. 
If this is not done, then 'package require Expect' will fail for Tcl scripts.

Expect currently installs into /usr/lib/expect5.43.  This should be modified to
/usr/lib/tcl8.5/expect5.43.

Version-Release number of selected component (if applicable):
expect-5.43.0-11.fc9.1

How reproducible:
Always

Steps to Reproduce:
1. Install tcl and expect from Rawhide
2. run 'tclsh'
3. In the tcl interpreter, type 'package require Expect'
  
Actual results:
The command fails with "can't find package Expect"

Expected results:
The command succeeds and returns the version of the expect package '5.43.0'

Additional info:
The attached patches fix this problem.  The first patch, -pkgpath, Modifies the
Makefile and configure script with the correct install directory.  The second
patch is for the .spec file to look for the files in the correct locations.
Comment 1 Wart 2008-01-14 16:25:21 EST
Created attachment 291638 [details]
Patch to install files into the location where tcl will find them
Comment 2 Wart 2008-01-14 16:26:46 EST
Created attachment 291640 [details]
Patch to spec file to package files in correct directory

This patch also contains a modification to the -lib-spec patch so that linking
works.

Note You need to log in before you can comment on or make changes to this bug.