-
-
Notifications
You must be signed in to change notification settings - Fork 655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Haxe install does not work on OS X El Capitan #4483
Comments
For anyone who is using the beta, here is a script that will help install Haxe and Neko in the meantime 😄 #!/bin/sh
echo “Downloading Neko”
curl -O http://nekovm.org/media/neko-2.0.0-osx64.tar.gz
echo “Installing Neko”
sudo mkdir -p /usr/local/lib/neko
sudo tar xvzf neko-2.0.0-osx64.tar.gz -C /usr/local/lib/neko --strip-components=1
sudo ln -s /usr/local/lib/neko/libneko.dylib /usr/local/lib/libneko.dylib
sudo ln -s /usr/local/lib/neko/neko /usr/local/bin/neko
sudo ln -s /usr/local/lib/neko/nekoc /usr/local/bin/nekoc
sudo ln -s /usr/local/lib/neko/nekotools /usr/local/bin/nekotools
echo “Downloading Haxe”
curl -O http://haxe.org/website-content/downloads/3.2.0/downloads/haxe-3.2.0-osx.tar.gz
echo “Installing Haxe”
sudo mkdir -p /usr/local/lib/haxe
sudo tar xvzf haxe-3.2.0-osx.tar.gz -C /usr/lib/haxe --strip-components=1
sudo ln -s /usr/local/lib/haxe/haxe /usr/local/bin/haxe
sudo ln -s /usr/local/lib/haxe/haxelib /usr/local/bin/haxelib
sudo mkdir -p /usr/local/lib/haxe/lib
sudo chmod -R 777 /usr/local/lib/haxe/lib
haxelib setup /usr/local/haxe/lib |
Yeah, we need to update the installer. |
I tested brew install, but also worth noting is that previously installed (It is possible to boot around this but that discussion should be sought after elsewhere). |
In my case, |
I made some changes to @jgranick's script:
This fixes a typo (a missing |
Update: I've taken a look at this today, and it seems that Apple has obliterated PackageMaker from existence - which is VERY annoying since the package was built on top of it, and I had spent a lot of time to be able to take an existing .pkg file built with it and re-package it with updated binaries (on a Linux machine) |
There's plenty of packaging tools though, like http://s.sudre.free.fr/Software/Packages/about.html ? |
@underscorediscovery it's not about the lack of options - it's just annoying - specially since we do the repackaging on linux, which was a delicate process and depended on the [undocumented and reverse-engineered] .pkg structure that PackageMaker generated. It's just an all too common pattern of how Apple deals with its developers. |
It sounds a bit like a mixture. I don't condone pulling the rug on things at all if it can be helped, but it doesn't sound like that case here. "delicate processes" tend to break when things change - it's in the definition. I'll try the installer when I get a chance, my laptop is the one where I can mess with the settings atm - will have a run at it later if I can. |
Any news? I'd like to solve this before 3.2.1 On Mon, Aug 31, 2015, 10:02 PM Sven Bergström notifications@github.com
|
Will have the laptop up a few hours from now, and will be around for more rigorous testing as needed. |
Well, it at least appears to install the std lib and the haxelib binary, but the haxe binary I can't locate. (Checked also in |
Thanks! I'll see if I can fix that tonight |
I'm just started learning Haxe but it seems like I'll have to wait for this issue to be closed before I can start playing around. finger crossed :)) |
@andyli Thanks for suggestion! I tried that and got haxe down with brew but not neko
|
@firmread Try |
@andyli I'm still stuck with the same error. |
@firmread As suggested in Homebrew/legacy-homebrew#40653, may be you can try installing Xcode 7 and configure Xcode 7 as the default toolchain. |
@andyli Wow, finally got it! thanks you so much! just as an easy reference for my future self. to set Xcode 7 as default toolchain, simply runs:
then to check current default toolchain:
in which it should return |
@waneck I didn't want to make a separate issue for this but the license file in haxe installer has some things that should be addressed.
Is there anything else to test on El Capitan? I've installed the GM and can test more. |
I'll try to fix those issues today On Sat, Sep 12, 2015, 3:59 PM Sven Bergström notifications@github.com
|
@underscorediscovery, can you try latest installer - http://hxbuilds.s3-website-us-east-1.amazonaws.com/builds/haxe/mac-installer/ ? |
this must have something to do with how I forcefully kickstarted the builds - it ended up building master instead of development. Anyway, good to know it's working! We can make a release now then |
If you have a "final" build to test before it's up let me know, but sounds good. What about users that install when they have it installed in /usr/lib/haxe from before? |
Any chance we can have the latest working installer on the Haxe website? The one there still doesn't work on El Capitan, which by now is officially released. |
yeah, please update the Haxe website installer. a lot of confusion here, especially for those who are like me who got their disks formatted (for a FRESH start) while updating and are in the process of reinstalling all these tools. I couldn't even install the LAME mp3 library because of this new restriction. Apple is so weird sometimes. |
i follow @jgranick step and it's work, i can compile to flash target, but when i compile to android target i got this error: Called from ? line 1 seem there's some script still calling to /usr/lib/haxe any idea how to fix this? |
After upgrading from OS X 10.10 to 10.11, I found that
haxe
andneko
no longer worked from the terminal.It appears that "/usr/lib" and "/usr/bin" are no longer writeable, even with sudo permissions.
We need to install to "/usr/local/lib" and "/usr/local/bin" instead
After manually installing there, things are working fine here 😄
The text was updated successfully, but these errors were encountered: