[Magic-dev] Re: Magic problem with MacOSX 10.5

Adam Fedor fedor at qwestoffice.net
Wed Mar 5 12:36:45 EST 2008


Just some more information on OSX 10.5 (Intel),   magic is available  
for Mac OS X via macports (www.macports.org) - macports works by  
downloading the source and compiling the package (after downloading  
and installing any dependancies).  With 10.5/Intel via macports, magic  
also has the same problem crashing on XDefaultColormap, UNLESS you  
compile and install Tk/Tcl via ports as well instead of using the one  
that comes with 10.5.  So

port install tk
port install magic

(as root) works - mostly - I still get an odd error:

=========
Error in startup script: version conflict for package "Tk": have  
8.5.1, need exactly 8.5
     while executing
"package require -exact Tk $tcl_version"
     invoked from within
"if {$tcl_version < 8.0} {
     return -code error "tkcon requires at least Tcl/Tk8"
} else {
     package require -exact Tk $tcl_version
}"
     (file "/opt/local/lib/magic/tcl/tkcon.tcl" line 44)
======

But that's easy to work around (start with magic -noc) and at least  
seems easier to solve...



More information about the magic-dev mailing list