pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/51108: net/tkined fails to run
>Number: 51108
>Category: pkg
>Synopsis: net/tkined fails to run
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun May 01 17:15:00 +0000 2016
>Originator: coypu
>Release: NetBSD-7.99.27, pkgsrc-current
>Organization:
>Environment:
NetBSD net.Home 7.99.27 NetBSD 7.99.27 (GENERIC) #3: Wed Apr 20 00:08:35 IDT 2016 fly%net.Home@localhost:/usr/obj.wip/sys/arch/amd64/compile/GENERIC amd64
>Description:
tested if pkg/32484 can be closed.
it probably can - scotty does not coredump.
however, tkined will not run:
$ /usr/pkg/bin/tkined
Error in startup script: version conflict for package "Tcl": have 8.6.5, need exactly 8.6
while executing
"load /usr/pkg/lib/libtkined.so"
("package ifneeded Tkined 1.4.11" script)
invoked from within
"package require -exact Tkined 1.4.11"
(file "/usr/pkg/bin/tkined" line 12)
this is strange because the exact requirement is on tkined!
#!/bin/sh
# the next line restarts using wish \
exec /usr/pkg/bin/wish "$0" "$@"
# Load all the packages that make up Tkined. Note, the order is
# important here because the Tkined package initializes the search
# path so that the Tcl modules are found automatically.
package require Tcl 8.6
package require Tk 8.6
package require -exact Tkined 1.4.11
package require TkinedCommand $tkined(version)
package require TkinedDiagram $tkined(version)
package require TkinedDialog $tkined(version)
package require TkinedEditor $tkined(version)
package require TkinedEvent $tkined(version)
package require TkinedHelp $tkined(version)
package require TkinedMisc $tkined(version)
package require TkinedObjects $tkined(version)
package require TkinedTool $tkined(version)
# I dont like the fat font Tk uses per default. So here
# is good old fixed font.
option add Tkined*Text.font fixed startupFile
# Read the site specific initialization file.
if [file exists [file join $tkined(library) site init.tcl]] {
source [file join $tkined(library) site init.tcl]
}
# And here we start. Unmap the . widget and start an editor
# for each file metioned in the command line.
wm withdraw .
foreach f $argv {
if [file readable $f] {
set v [EDITOR]
$v load $f
$v filename [file tail $f]
lappend views $v
}
}
if {! [info exists views]} {
set views [EDITOR]
}
if {[info exists geometry]} {
foreach view $views {
puts "should set geometry of $view to $geometry"
}
}
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index