-
Notifications
You must be signed in to change notification settings - Fork 16
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
Installing meteor-universal on armv8 (64bit architecture) #42
Comments
Hi, what do you mean? This fork should / will run on a Raspi 2 and 3. Please enter some more details |
On another architecture - Cortex A53 cores ... http://wiki.pine64.org/index.php/Main_Page 64 Bit Arch Linux is the only thing usable at this time on the Pine64 (https://www.pine64.com/) . I would like to cross-build on this platform, tar gz app bundles that will run on Raspi 2 and 3. In other words, using the 64 bit Arch Linux platform on a Pine64, I need to be able to TA |
Hi @Sing-Li nice device - haven't seen this before. Have you just tried to install the as described. I could pretty imagine that it just will run that device even on arch linux. On the other hand, could you give me ssh access to that device? So I would come over an try to figure out what to do. Cheers |
Thanks @TomFreudenberg. ssh access is a great idea. I am from the Rocket.Chat FOSS project https://github.com/RocketChat/Rocket.Chat (https://rocket.chat). Thanks to your work, we're running Rocket.Chat now on a $5 Pi Zero :) https://github.com/RocketChat/Rocket.Chat.RaspberryPi Can you please come over to the 24 x 7 work + demo server (oauth using github is quick) and I can get you hooked up? https://demo.rocket.chat/channel/raspberrypi Alternatively, please email me at [email protected] I already have the fork cloned and it is running. But during a Thanks again. |
Hi @Sing-Li - I am online in rocket.chat - I not sure if I have the time yet to run the complete process but just to enabled the access would help to test and run it on weekend |
After checking the board for the first time, its proc is aarch64 = armv8. It is currenly (meteor <=1.2.x) not possible to build dev_bundle on that board in case of missing "v8" sources. I will give it a try when the new port 1.3.x is ready. Maybe we get a chance with a newer node/v8 release |
Thanks! That will be perfect timing. We will be upgrading Rocket.Chat to 1.3.x in a couple of weeks, currently waiting for minor bug fixes - and started to update our own support for ES6 modules and npm based packages. |
Hi there. Any progress or new developments regarding meteor support for ARMv8? I have built an Ubuntu Linux ARM Image that runs on older ARM media player. Its main function is to act as an inexpensive satellite router. Before I have installed meteor on these older ARM device and it worked well. The older media player model has now been discontinued and I can only get an ARMv8 box with the functionality we require (tuner, etc). This is the problem, I can not build Meteor on it. It seems like we might have to move to another framework because Meteor does not support ARMv8. Not something I want to do seeing that I love meteor, but I can not delay it for much longer. |
Hi @meteorza unfortunately it is currently not possible to bring meteor on the armv8 architecture with bundled packages. What you can try and that might work now with the 1.3.4 release: Install mongo from apt, get nodejs v4 from github and build yourself, check that the commands for mongo and node are in $PATH. Then you can clone the latest universal fork and run Check the gist from @TPXP and the discussion update changes to his meteor for node v4 at: #38 (comment) Maybe you need to adjust some lines for npm dependencies from hist gist. Make sure that you have your pre-requistes
I would say 90% chance that it will work with some little adjustments. If you can make a ssh tunnel to your machine, I am interested in supporting you. Cheers |
@Sing-Li - please checkout my comment #42 (comment) - maybe a new try :-) |
@meteorza my assumption won't work because the arch is currently not allowed in the scripts. I doing this by now. |
Thank you Tom. What I have done so far was to:
and
on an amd64 platform. Everything worked and I created a basic test app. So I am using node 4.4.5 with meteor on the Intel box. Then I created a meteor build for my app. On the ARMv8 box I also install node 4.4.5 for arm64 and mongo. Node and npm shows correct versions (4.4.5 and 2.5.15). Extracted my meteor app on the ARMv8. I then try to run the app using:
and it complained it can not find fibers module. So I run "npm -g install fibers"
and this is where I get stuck. So fibers not supported on arm64? |
Yes, this is what I also got last time. I have done a lot of porting last time and maybe I can finish it this time. I am currently waiting for my access to the linaro cluster to check whats possible. I will keep you informed. Thanks for your research infos Tom |
Just to let you know why: I checked the sources, might not be a big problem to update - currently waiting for a system to run on :-) |
@meteorza - please, what is your output when running
on your board? |
Hi @meteorza I am currently struggling with babel-cli - there is some error on arm64 You can already try to use my fibers fork
or check for
and replace by
I will make a PR to lavender when ready |
Hi Tom Apologies for only getting back to you now.
|
;-) no problem - thanks ... so it seems |
Brilliant Tom, the basic app runs with your fibers fork on my ARMV8. I will make the build for the full meteor app and see if I run into any problems. I am so excited now.. |
I have added an issue to the babel tracker at: https://phabricator.babeljs.io/T7457 |
Hi there Tom So basic app worked with your fibers patch. I tried an app with more packages. It includes meteor-accounts and so it needs bcrypt :-( After my extracted my build app on the ARMV8 box, I ran:
Everything installed fine, but when I run the app, I get the following error
Please remember that the app was built on an Intel box using mdg's release 1.4 branch and is being deployed on my ARMV8 box. Is this related to the same babel problem you are experiencing? |
Not to worry Tom, I solved it by:
|
Hi @meteorza sounds like you got your app running on ARM64 :-) Correct? Just one thing about deployment until I have finished the dev_bundle:
That should do the job completely and you shouldn't need to install some npms somewhere else or globally. Could you please check that. Cheers |
@Sing-Li - Same procedure as here: #42 (comment) should do the job for Rocket.Chat if you can run it on meteor 1.4-beta already? |
Hi Tom Step 5. Should be yes, then you are able to launch app on ARMV8. If you add a package to you app like meteor accounts, then meteor requires npm-bcrypt. Then you can not launch your apps if you follow these steps. The only I got it to work was to run :
after I ran When I ran |
Hi @meteorza thanks for reply, I will check that with the simple-todos-react example. It has all the packages we are currently struggling with. But in any way - great to know that you are fine yet :-) |
I think the link in package.json for should be:
|
You may see here the patch I added to our repo it looks like "fibers": "https://github.com/4commerce-technologies-AG/node-fibers.git#v1.0.13-patch-arm64" |
Well, the issue for babel on node-4.4.6 is fixed. I will provide a patch until this is include into 4.4.7 see: nodejs/node#7417 |
After using our patched nodejs 4.4.6 and the arm64 updated node-fibers, meteor-1.4-beta is now available on ARM64 architecture |
Well done Tom. I will test with with 4.4.6 as soon as I get a chance. |
Just wait for some few steps to finish, otherwise you have to rebuild all by yourself.
|
@meteorza @others_interested_in_aarch64 I have placed a first beta from beta.6 on bintray. So if you are running the normal checkout by
and run
afterwards, you will automatically get a first beta binary. It runs already pretty well. Cheers |
Great Tom, thank you, will have a look. |
Issue with mongo shell 3.2.x is related #57 |
first i got: debian@pine64: i tried to comment line 97. then i get debian@pine64:~/meteor$ scripts/generate-dev-bundle.sh
Unsupported (?) architecture: npm ERR! [email protected] install: npm ERR! Please include the following file with any support request: |
Why are you trying to build the developer bundle ? There is already a prebuilt bundle available on the bintray, which the code from the |
o downloaded the dev_bundle_Linux_aarch64_4.0.15.tar.gz and extracted it to the folder meteor...what to do then? is there a tutorial? |
This should not be required. All you have to do is cloning the repo then starting meteor, as said here #42 (comment) |
Any tips for building meteor bundle for a Raspberry Pi 2 or 3 on a 64 bit system (Pine A64 ArchLinux)?
TIA
The text was updated successfully, but these errors were encountered: