[Pkg-db-devel] Bug#384816: libdb4.3-tcl: can't use "package require Db_tcl" without some hacking

Maks Romih maks.romih at t-2.net
Sat Aug 26 23:18:44 UTC 2006


Package: libdb4.3-tcl
Version: 4.3.27-2
Severity: important

When I installed libdb4.3-tcl, I started tclsh and tried the command

 package require Db_tcl

This command didn't work. It said "can't find package Db_tcl".
I found out there is no index file pkgIndex.tcl on the auto_path.
I had to dig documentation which is quite far from Debian rules about file system
because everywhere is talking about /usr/local/..., which is empty on Debian.
I compared other packages, that work perfectly, for example tix8.1 or tktable2.9.
Tix has pkgIndex.tcl on /usr/share/tix8.1 and then symbolic link from /usr/lib.
Tktable has subdirectory Tktable2.9 in /usr/lib and pkgIndex.tcl in that subdirectory.
I think this second possibility would be just fine for db-tcl.

I propose you simply add the directory /usr/lib/Db4.3-tcl with the
file pkgIndex.tcl to the Debian distribution of the package libdb4.3-tcl.
This would make instalation of db-tcl much easier and it seems in accordance
with Debian architecture.

My mail address is maks.romih at t-2.net.
I've already prepared the patch, but I don't know how to include it
into this bug report.

Cheers!

Maks Romih

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-386
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libdb4.3-tcl depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an

-- no debconf information




More information about the Pkg-db-devel mailing list