[tclxml and tcltk8.5] 'package require xml' fails
Bug #389308 reported by
wim sturkenboom
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tclxml (Debian) |
Fix Released
|
Unknown
|
|||
tclxml (Ubuntu) |
Fix Released
|
Undecided
|
Andrej Shadura |
Bug Description
Notes: tclxml and tcltk8.4 don't give this issue
platform: PC
ubuntu 8.04 (upgraded from 6.06)
installed are both tcltk8.4 and tcltk8.5 from repositories
tcllib1.10 from repositories installed
tclxml3.1 from repositories installed
in tclsh8.4, package require xml works
in tclsh8.5, package require xml does not work
fortyfourgalena
% puts $tcl_version
8.4
% package require xml
3.1
% exit
fortyfourgalena
% puts $tcl_version
8.5
% package require xml
attempt to provide package sgmlparser 1.1 failed: package sgmlparser 1.0 provided instead
% exit
description: | updated |
Changed in tclxml (Debian): | |
status: | Unknown → New |
tags: |
added: patch removed: tcltk8.5 tclxml |
Changed in tclxml (Debian): | |
status: | New → Fix Released |
Changed in tclxml (Ubuntu): | |
assignee: | nobody → Andrew O. Shadoura (bugzilla-tut) |
status: | Confirmed → Fix Released |
To post a comment you must log in.
This is the solution:
http:// groups. google. com/group/ linux.debian. bugs.dist/ browse_ thread/ thread/ ef5774c9a6fd6c1 e
$ tclsh8.5
% puts $tcl_version
8.5
% package require xml
attempt to provide package sgmlparser 1.1 failed: package sgmlparser 1.0 provided instead
% exit
invalid command name "quit"
$ sudo patch < sgmlparser. tcl.patch ------- ------- ----- Tclxml3. 1/sgmlparser. tcl.orig 2009-08-31 10:40:10.000000000 +0200 Tclxml3. 1/sgmlparser. tcl 2009-08-31 10:38:25.000000000 +0200 ------- ------- ----- Tclxml3. 1/sgmlparser. tcl Tclxml3. 1/sgmlparser. tcl
can't find file to patch at input line 3
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
-------
|--- /usr/lib/
|+++ /usr/lib/
-------
File to patch: /usr/lib/
patching file /usr/lib/
$ tclsh8.5
zsh: correct 'tclsh8.5' to 'tclsh8.4' [nyae]? n
%
% puts $tcl_version
8.5
% package require xml
3.1
% exit
This patch resolves the issue for 8.5 and does not affect 8.4