[MacPorts] #15421: BUG: ruby 1.8.6-p114_0 +tk incorrectly links against Apple provided TK framework
#15421: BUG: ruby 1.8.6-p114_0 +tk incorrectly links against Apple provided TK framework ----------------------------------+----------------------------------------- Reporter: synfinatic@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | ----------------------------------+----------------------------------------- Building ruby @1.8.6-p114_0+darwin_9+thread_hooks+tk and then: {{{ /opt/local/bin/irb require 'tk' TclTkIp.new._eval "info patchlevel" }}} Doesn't return 8.5.2 (which is the MacPorts version of Tk), but rather 8.4.7 which is the Apple provided version. The issue seems to be that the incorrect arguments are passed to the tk ruby extention. I've had to manually build the tcltklib.bundle and tkutil.bundle: {{{ cd ext/tk CONFIGURE_ARGS='--with-tcl-dir=/opt/local --with-tk-dir=/opt/local --with- tcllib=tcl8.5 \ --with-tklib=tk8.5 --enable-pthread --without-X11' /opt/local/bin/ruby extconf.rb make make install cd tkutil CONFIGURE_ARGS='--with-tcl-dir=/opt/local --with-tk-dir=/opt/local --with- tcllib=tcl8.5 \ --with-tklib=tk8.5 --enable-pthread --without-X11' \ /opt/local/bin/ruby extconf.rb make make install }}} -- Ticket URL: <http://trac.macports.org/ticket/15421> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15421: BUG: ruby 1.8.6-p114_0 +tk incorrectly links against Apple provided TK framework -----------------------------------+---------------------------------------- Reporter: synfinatic@gmail.com | Owner: pguyot@kallisys.net Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: -----------------------------------+---------------------------------------- Changes (by jmr@macports.org): * owner: macports-tickets@lists.macosforge.org => pguyot@kallisys.net Comment: Assigning to maintainer. -- Ticket URL: <http://trac.macports.org/ticket/15421#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15421: BUG: ruby 1.8.6-p114_0 +tk incorrectly links against Apple provided TK framework -----------------------------------+---------------------------------------- Reporter: synfinatic@gmail.com | Owner: pguyot@kallisys.net Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: -----------------------------------+---------------------------------------- Comment (by synfinatic@gmail.com): Looks like Tk/Tcl is broken too. doesn't build the OSX Framework, so you don't get the properly themed Tk. I was able to manually build the Framework and compile the ext/tk using: {{{ ruby extconf.rb --without-X11 --with-tcltk_framework=/Library/Frameworks/ make && make install }}} which also correctly built/installed the ext/tk/tkutil stuff as well. -- Ticket URL: <http://trac.macports.org/ticket/15421#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15421: BUG: ruby 1.8.6-p114_0 +tk incorrectly links against Apple provided TK framework -----------------------------------+---------------------------------------- Reporter: synfinatic@gmail.com | Owner: kimuraw@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: -----------------------------------+---------------------------------------- Changes (by kimuraw@macports.org): * owner: pguyot@kallisys.net => kimuraw@macports.org -- Ticket URL: <http://trac.macports.org/ticket/15421#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15421: BUG: ruby 1.8.6-p114_0 +tk incorrectly links against Apple provided TK framework -----------------------------------+---------------------------------------- Reporter: synfinatic@… | Owner: kimuraw@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: | -----------------------------------+---------------------------------------- Changes (by kimuraw@…): * status: new => closed * resolution: => fixed Comment: port ruby186-p287 works correctly. close this ticket. -- Ticket URL: <http://trac.macports.org/ticket/15421#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts