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
Hi,
I could reproduce the problem you faced by changing my development environment.
Please note that I've tested the combination of:
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.
Thank you
Kazzz
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
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
For your information, I have klayout 0.23.11 on OS X 10.11 and it runs without any problem.
Best
Theo
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
Thanks, it works!
I also have xcode installed
Regards,
Theo
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
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