Ticket #15095 (new defect)
BLT doesn't work properly
| Reported by: | mn@… | Owned by: | markd@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | Cc: | macsforever2000@… | |
| Port: | blt |
Description
I installed BLT library via macports: port install blt, and when I am trying to run it on included samples, it doesn't work, and tells me that there are some version conflicts. The only other version I have is originally suplied Leopard TCL - version 8.4, so the conflict is according to me somewhere in macports installation.
there is a log when I tried to run a sample, it always ends up like this:
mn@hrusticka /opt/local/lib/blt2.4/demos $ bltwish barchart1.tcl
Application initialization failed: version conflict for package "Tcl": have 8.5.2, need exactly 8.5
Error in startup script: dlsym(0x5882a0, Blt_Unload): symbol not founddlsym(0x5882a0, Blt_SafeUnload): symbol not foundversion conflict for package "Tcl": have 8.5.2, need exactly 8.5
while executing
"load $library BLT"
(procedure "LoadBLT" line 30)
invoked from within
"LoadBLT 2.4 /opt/local/lib/blt2.4"
("package ifneeded BLT 2.4" script)
invoked from within
"package require BLT"
(file "barchart1.tcl" line 3)
dyld: unloaded: /opt/local/lib/libBLT.2.dylib
Attachments
Change History
comment:1 Changed 5 years ago by jmr@…
- Owner changed from macports-tickets@… to markd@…
- Milestone set to Port Bugs
comment:2 Changed 5 years ago by markd@…
BLT source needs some work to get it working with Tcl/Tk 8.5. I hope this is done soon.
http://coding.derkeiler.com/Archive/Tcl/comp.lang.tcl/2008-04/
Changed 4 years ago by howarth@…
- Attachment blt2.4z-patch-64 added
patch from Fedora 12 blt that provides 64-bit compatibility
Changed 4 years ago by howarth@…
- Attachment blt2.4z-noexactversion.patch added
patch from Fedora 12 that eliminates check on exact tcl/tk version
comment:4 Changed 4 years ago by howarth@…
An alternative fix for this from gentoo (which is what fedora)
finally used is available here.
http://bugs.gentoo.org/attachment.cgi?id=154647
comment:7 Changed 3 years ago by jmr@…
Does this work now that the fix for #22536 has been checked in?
comment:8 Changed 3 years ago by macsforever2000@…
This still does not work for me:
$ bltwish barchart1.tcl
Error in startup script: unknown namespace in import pattern "blt::tile::*"
while executing
"namespace import -force blt::tile::*"
invoked from within
"if { $tcl_version >= 8.0 } {
namespace import blt::*
namespace import -force blt::tile::*
}"
(file "barchart1.tcl" line 24)


Assigning to maintainer.