Closed rat-moonshine closed 9 months ago
@Aszusz if you're available, can you please help testing the Haxe installation from latest Bamboo build (?)
Please, download the latest macOS installer, for a Haxe installation test. You can rename/remove the ~/Downloads/MoonshineSDKs/Haxe
directory - in case this your primary setup directory, and do a test.
@rat-moonshine I lost my access to bamboo a while back. I can test if you reupload the build to our server.
@Aszusz you can download the Development (Moonshine SDK Installer Development_Signed_NonSandbox.pkg
) installer from here: https://static.moonshine-ide.com/downloads/msdki/dev/macos/. Thank you!
@rat-moonshine First I did the test by removing MoosnikeSDKs and it went fine. Then I remembered I also have an external haxe configuration and things got complicated. I removed haxe from the system by renaming /usr/local/bin/haxe. Then I cleared the haxe and neko paths in MoonshineSDK settings. My macOS can no longer use the haxe command from the terminal (as expected). My MoonshineSDKs folder has no haxe subfolder. But for some reason, MSDKI and Moonshine about page think haxe is present and I cannot reinstall it from the MSDKI. What is the condition that MSDKI check to see if haxe is present or not?
Do you have usr/local/lib/haxe
exists?
Yes, that was it. I renamed the folder and was able to move on. I reproduced the original issue. Haxe installation freezes for me on:
Do you want to install the "openfl" command? [y/n/a] ?
The displayed version is Development 4.6.0 build 453. Is this correct or do I have some previous version junk interfering?
@Aszusz can you please share full-log from your installation? I'm sure you did but just stressing that we wants to test Moonshine SDK Installer Development_Signed_NonSandbox.pkg
.
Sure, I'm positive I downloaded and installed Development_Signed_NonSandbox from your link but uninstalling apps on macOS is still a mystery to me and I have zero confidence that new apps are able to replace old apps, so please double-check in the logs. Attaching a full log. msdki-log.txt
Thank you @Aszusz . We're looking into this.
@Aszusz I added some fix. Please, give a test again at some time with a build >453. Thank you.
@rat-moonshine I see that Moonshine SDK Installer for Windows on bamboo is not building. Can you check ?
@rat-moonshine I tried the 454 build. The openfl installs fine. Now haxe/neko installation fails for me for other reasons. Attaching full log: msdki-log-2.txt I tried cleaning up the whole content of /usr/local/lib but it didn't help. Nonetheless, both haxe and neko paths were set correctly at the end of the installation. I tried compiling our sample FethersUI project and it succeded. So I believe the original issue is fixed. I don't know if you want to be fixing the last error or not. Given the fact I have a dev environment where I had an external haxe setup and then tried to move back to Moonshine haxe setup, it may not be worth the trouble.
Thank you @Aszusz , for tests.
I managed to take some tests on my old Mac system, and I confirm that Haxe and Neko installed successfully.
I couldn't able to reproduce the libneko.2.dylib
error that you encountered. In the step that it triggered, also contradict to your last test-logs - where you can see haxelib openfl setup
starts displaying download percentages. I'm not sure what could change between the time of your previous test. There was no notable code-changes either in MSDKI that could cause any drastic effect.
This could be something unrelated to the main Haxe installation process. We maybe wants to have a test with @JoelProminic also, and if installation still looks good, we could plan to close this issue.
@rat-moonshine I see that Moonshine SDK Installer for Windows on bamboo is not building. Can you check ?
I restarted the Bamboo build server. A new Moonshine and MSDKI build should start when server starts.
When I tested this issue last week, I ran into some problems with the installation when I had already installed Haxe manually. I'll add more details for this if I find some notes, or if I run more tests. This could be a separate issue.
@JustinProminic reported the same problem on 4.5.0 (production). In this case, he also pointed out that a "?" error was shown below the progress bar, and it did not clear.
I tried to cleanup the old installations as much as possible:
rm -r /usr/local/bin/haxe /usr/local/bin/haxelib /usr/local/bin/neko /usr/local/bin/nekoc /usr/local/bin/nekoml /usr/local/bin/nekotools /usr/local/bin/openfl /usr/local/lib/haxe /usr/local/lib/neko /usr/local/lib/libneko*
Then I ran a fresh test with MSDKI. I didn't get any errors on the haxelib installations, and I was able to create and build a Haxe OpenFL Project with no errors.
It would be good to push out a release for this unless we have remaining concerns. I see similar discussion in #114.
@JoelProminic let's push release. I'm really looking forward to this.
Recently, @JustinProminic reported that he faced trouble installing Haxe during OpenFL installation where it halts on a prompt: