[Bug 228263] package require Pgtcl doesn't work

bugzilla at redhat.com bugzilla at redhat.com
Fri Jun 20 07:48:02 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: package require Pgtcl doesn't work


https://bugzilla.redhat.com/show_bug.cgi?id=228263


whpgf at scarlet.be changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |ASSIGNED
               Flag|needinfo?(whpgf at scarlet.be) |




------- Additional Comments From whpgf at scarlet.be  2008-06-20 03:48 EST -------
It does not work on my Fedora 9. I will give you more details about the
configuration of my system.

Here is the list of tcl packages on my system:
----------------------------------------------

[wim at fedora ~]$ yum list installed '*tcl*'
Loaded plugins: refresh-packagekit
Installed Packages
itcl.i386                                3.4-2.fc9              installed       
postgresql-pltcl.i386                    8.3.3-1.fc9            installed       
postgresql-tcl.i386                      8.3.3-1.fc9            installed       
tcl.i386                                 1:8.5.1-4.fc9          installed       
[wim at fedora ~]$ 


Location of package Pgtcl:
-------------------------

/usr/lib/Pgtcl
/usr/lib/Pgtcl/libpgtcl1.6.2.so
/usr/lib/Pgtcl/pkgIndex.tcl

Configuration of tcl:
---------------------

[wim at fedora ~]$ tclsh
% package require Pgtcl
can't find package Pgtcl
% puts $tcl_pkgPath     
/usr/lib/tcl8.5 /usr/share/tcl8.5 /usr/lib/tk8.5 
% puts $auto_path
/usr/share/tcl8.5 /usr/lib/tcl8.5 /usr/lib/tk8.5
% 

Conclusion:
----------

Tcl cannot find package Pgtcl because Pgtcl is installed in /usr/lib and
tcl only looks for packages in /usr/lib/tcl8.5, /usr/share/tcl8.5 and
/usr/lib/tk8.5.

I can get it to work by moving the directory Pgtcl directory from /usr/lib/
to /usr/lib/tcl8.5 but that is only an ugly work around that could break
the Fedora package management system. 

I hope this helps you to handle this report.

Kind regards,

Willem Herremans



-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the triage mailing list