You need to install XQuartz on a MAC to run any ( guessing at any ) X window app. Install XQuartz and you should be able to run Tk, Gtk, Wx, etc.
If you want to run in a console window, there is dialog, which Slackware has been using for years for it's non-X-GUI. There is a dialog app for MAC, google for it. See dialog tutorial