Problem building on Mac OS X 10.4

View: New views
1 Messages — Rating Filter:   Alert me  

Problem building on Mac OS X 10.4

by davidjroper@ymail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've downloaded the latest tarball and have been attempting to build Io using the instructions in the README file.  make vm runs successfully and I have both io and io_static executables in /usr/local/bin.  I attempted the second step (sudo make port), which initially failed with the following traceback:

_build/binaries/io build.io port

  Exception: Object does not respond to 'directories'
  ---------
  Coroutine pauseCurrentAndResumeSelf A4_Exception.io 149
  Coroutine resumeParentCoroutine     A4_Exception.io 160
  Coroutine raiseException            A4_Exception.io 236
  Importer import                     Z_Importer.io 58
  Exception raise                     Z_Importer.io 53
  Directory directories               Project.io 115
  FileImporter import                 Z_Importer.io 47
  List detect                         Z_Importer.io 47
  Object Project                      build.io 10
  Importer import                     Z_Importer.io 58

Following some advice from the IRC channel, I tried make install (which worked), but now sudo make port gets as far as installing libsgml.dylib, then throws the following:

Exception: nil does not respond to 'addError'
  ---------
  nil addError                         AddonBuilder.io 161
  List select                          AddonBuilder.io 158
  AddonBuilder missingLibs             AddonBuilder.io 172
  AddonBuilder installCommands         Project.io 179
  List map                             Project.io 179
  Project installDependenciesFor       Project.io 187
  Project port                         doString 1

I've tried looking at the Io code, but I'm not making much sense of it (I'm building Io to learn it, so it's a wee bit tough having to learn the language to debug its installation!).

Any help would be gratefully received as it looks like a rather nice language for someone returning to programming after a 20 year gap!

Thanks
David