installation on mac

Asked by yosato

I like your emulator very much, and have been using it on Linux so far. Now I'm on a Mac, and try to install it. Failing to find it in the 'Fink' repository, I downloaded the source and ran the setup.py installer. Then I was told this when I tried to run Terminator (by entering 'terminator').

Traceback (most recent call last):
  File "/sw/bin/terminator", line 37, in <module>
    from terminatorlib.config import dbg, err, debug
  File "/Library/Python/2.5/site-packages/terminatorlib/config.py", line 36, in <module>
    import gtk, pango
ImportError: No module named gtk

Guess this is to do with dependency. What more do I need? Or is there any Fink repository you find your program in? Would you not be able to do a bit more documentation for installation on anything else than Debian anyhow???

Question information

Language:
English Edit question
Status:
Solved
For:
Terminator Edit question
Assignee:
No assignee Edit question
Solved by:
yosato
Solved:
Last query:
Last reply:
Revision history for this message
Chris Jones (cmsj) said :
#1

you will need the python bindings for gtk, vte and pango.
As far as I know we don't have any packages in and Mac OS X repositories, mainly because none of us use that OS.
I'd love to see it included there, and/or documented, but unfortunately I would need someone else to do that, since we lack the hardware/software to do it.

Revision history for this message
yosato (yosato16) said :
#2

Thanks for your reply Chris, but where do you find them, these 'bindings' of gtk etc?? I guess I need to get the sources, and where from??

Revision history for this message
Chris Jones (cmsj) said :
#3

I would hope they'd be in Fink. It does look like pygtk, pango and vte-py25 are in there, going by searches on pdb.finkproject.org.

Revision history for this message
yosato (yosato16) said :
#4

I'm afraid I only found vte on a Fink repo (the available binaries are for older Mac versions than mine). Well, at least I know the names of the packages, so I'd probably fetch and compile them, when I have time.

Revision history for this message
esimmonds (safenews) said :
#5

Here are my notes getting this working on Mac OS X 10.5. I'll warn everyone: I'm a hard core Linux guy who just got a Mac thrust upon me by my employer, so no guarantees. (Terminator was the absolute FIRST thing I got running on the Mac because I just can't live without it). I think this was terminator .10, so I can't say if this will work for anything other version.

My notes (very sparse, sorry):
-------------
install xcode3.1
install xquartz
install macports
install gnome-python-bindings and py2.5-gtk
install terminator from source

terminator throws an error on start but seems to work
-----------

Then I set up a terminator.command in /Applications:

export PYTHONPATH=/opt/local/lib/python2.5/site-packages
screen -d -m /usr/local/bin/terminator --no-gconf &
exit

As I said, I'm a Mac OS newbie, but this worked for me.

Revision history for this message
Sydney Pang (sydney-pang) said :
#6

Terminator is now available on Fink.

fink install terminator

Revision history for this message
Emanuel Hategan (emanuel-hategan) said :
#7

Running macOS Mojava 10.14.2

I've installed terminator on Fink (via helper script http://www.finkproject.org/download/srcdist.php) as suggested:
After hors of crunching it's finally there:

$ fink install terminator
Information about 10569 packages read in 1 seconds.
No packages to install.

but when I run terminator it I get an error:

$ terminator
/sw/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
You need to run terminator in an X environment. Make sure $DISPLAY is properly set

Please advise.

Revision history for this message
Emanuel Hategan (emanuel-hategan) said :
#8

Forget about the above. Came back following week after a weekend restart and it just worked.