PDA

View Full Version : Lich and gtk



ROTOR
07-26-2017, 09:30 AM
Hi all, I'm back after a break and trying to get lich installed on my Mac. I was able to get into the game and run some scripts but I couldn't open narost or any of the set up pop up screens. I kept getting a gtk load error. I seem to remember this having something to do with xquartz last time I played but I have that installed. I couldn't use the program on the wiki site as it said something about rbenv and ruby already installed on my machine.

Anyone have any ideas? Is there a link to the old set up instructions? I'm using quite an old Mac but have just installed sierra so not sure if that is causing problems.

Thanks very much. Can post some error messages when I get home if that helps.

top shottah
07-26-2017, 12:17 PM
Hey, welcome back. If you're using Sierra, follow this link. https://gswiki.play.net/Mac_Installation_-_Lich_(software)

I'm using Yosemite & I've had no issues. Good luck!

ROTOR
07-26-2017, 03:28 PM
Thanks for the info Shottah. I'm still having trouble with the gtk bindings. When I try to install gtk2 I get this message:


Daniel-Wrights-iMac:~ danbw$ sudo gem install gtk2
sudo: unable to execute /opt/local/bin/gem: No such file or directory

Also when I type which ruby, I get the following:

Daniel-Wrights-iMac:~ danbw$ which ruby
/Users/danbw/.rbenv/shims/ruby

Not sure if that's where it's supposed to be, but obviously something is off!

ROTOR
07-26-2017, 03:30 PM
Also, typing brew doctor gets me this response:


Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
/opt/local/bin/croco-0.6-config
/opt/local/bin/curl-config
/opt/local/bin/freetype-config
/opt/local/bin/gpg-error-config
/opt/local/bin/ksba-config
/opt/local/bin/libart2-config
/opt/local/bin/libpng-config
/opt/local/bin/libpng15-config
/opt/local/bin/ncurses6-config
/opt/local/bin/ncursesw6-config
/opt/local/bin/orbit2-config
/opt/local/bin/pkg-config
/opt/local/bin/python2.7-config
/opt/local/bin/rarian-sk-config
/opt/local/bin/scrollkeeper-config
/opt/local/bin/xml2-config
/opt/local/bin/xslt-config

Warning: You have MacPorts or Fink installed:
/opt/local/bin/port

This can cause trouble. You don't have to uninstall them, but you may want to
temporarily move them out of the way, e.g.

sudo mv /opt/local ~/macports

Warning: You have a non-Homebrew 'pkg-config' in your PATH:
/opt/local/bin/pkg-config

`./configure` may have problems finding brew-installed packages using
this other pkg-config.

Something off there too as I'm not getting the 'ready to brew' response.

top shottah
07-26-2017, 04:14 PM
Also, typing brew doctor gets me this response:

Warning: You have MacPorts or Fink installed:
/opt/local/bin/port

This can cause trouble. You don't have to uninstall them, but you may want to
temporarily move them out of the way, e.g.

sudo mv /opt/local ~/macports

Warning: You have a non-Homebrew 'pkg-config' in your PATH:
/opt/local/bin/pkg-config

`./configure` may have problems finding brew-installed packages using
this other pkg-config.

Something off there too as I'm not getting the 'ready to brew' response.

Maybe try using that temporary move for macports --
sudo mv /opt/local ~/macports

And see if you you can use that same command to move the 'pkg-config'
sudo mv /opt/local/bin/pkg-config

Then try brew doctor. Hopefully that works?

ROTOR
07-27-2017, 06:30 AM
Working! :cheers:

Thanks for the help Shottah. Now, back to getting everything set up again and going through masses of inventory to see what I didn't sell off :)

ROTOR
07-30-2017, 10:06 AM
Had it working, but not working again now. Depending on how I open lich, I can either get scripts to work, but not gtk bindings, OR I can get gtk bindings to work, but not able to run scripts.

For the latter, I get the following error when logging in:
--- Lich: error: $SAFE=2 to 4 are obsolete
/Users/danbw/lich/lich.rbw:2535:in `block (3 levels) in <class:Script>'
/Users/danbw/lich/lich.rbw:2535:in `block (2 levels) in <class:Script>'

Any ideas what is going wrong?

Thanks in advance.