I cannot get klayout 0.24.X to start on OS X

edited October 2015 in General
Hello,

I get this error message:

/Applications/klayout.app/Contents/MacOS/klayout ; exit;
<internal:gem_prelude>:1:in `require': cannot load such file -- rubygems.rb (LoadError)
from <internal:gem_prelude>:1:in `<compiled>'
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
ImportError: No module named site
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Deleting expired sessions...none found.

[Process completed]

It did not work with 10.10 and does not work on 10.11

Is there a simple fix?

Thank you

Comments

  • edited October 2015

    Hi,

    I could reproduce the problem you faced by changing my development environment.

    Please note that I've tested the combination of:

    * OSX = 10.10.5 Yosemite
      and
    * KLayout = 0.24.2
    

    It looks some Ruby-related files and Python-related files are missing in the binary package.

    Sorry for inconvenience caused.

    I think I need some more time to fix this.

    If you can install Mac Ports, getting the two ports below under "/opt/local" may fix the problem.

    1) ruby19
       and
    2) python27
    

    Thank you

    Kazzz

  • edited November -1
    Hi,

    Thank you for the feedback and for your work! No problem, I can still use klayout 0.23.
    I'll wait for the fix, I can not install mac ports as it is my work laptop.

    Best regrads

    Theo
  • edited November -1

    Hi,

    The first binary package I published was "klayout-0.23.9-MacOSX-Yosemite.dmg.bz2".

    Now that I've known this issue, I think all binary packages I published earlier

    for MacOSX 10.10.x inherently have the same problem.

    A user responded that a binary package worked fine.

    I believe that he had Mac Ports installed for building from the source.

    I'll study what to do (may take time).

    *** Suggestions from Mac users will be highly appreciated. ***

    Anyway, thank you for pointing out this issue.

    Kazzz

  • edited November -1
    Hi,

    For your information, I have klayout 0.23.11 on OS X 10.11 and it runs without any problem.

    Best

    Theo
  • edited October 2015

    Hi,

    I've created another binary package of KLayout-0.24.2 for MacOSX 10.10.

    then asked my colleague who owns a Mac with the latest OS "El Captian (10.11)"

    to see whether he can start the "klayout.app" on his Mac.

    Please note that his Mac has neither Mac Ports nor Homebrew installed but

    Xcode is installed.

    Under these conditions, according to him, it started normally.

    So please try the one uploaded to Dropbox (URL is at the bottom).

    If OK, I'll ask Matthias to replace the existing binary package with the new one.

    Regards,

    Kazzz

    ----- Dropbox URL-----
    
    https://www.dropbox.com/s/yxct80sxkg2m81j/klayout-0.24.2-MacOSX-Yosemite-2-Qt487mp.dmg.bz2?dl=0
    
  • edited November -1
    Hi Kazzz

    Thanks, it works!
    I also have xcode installed

    Regards,

    Theo
  • edited November -1

    Hi Theo,

    Thank you for testing the new binary package.

    I've requested Matthias to replace the existing one with the new one.

    Regards,

    Kazzz

  • edited October 2015

    Hi all,

    I have uploaded the new package to the server. It replaces the first one.

    Thanks to kazzz for providing this package and thanks to all for this great community effort!

    Matthias

Sign In or Register to comment.