As of 0.72, the version of cmake needed to build HighFidelity has gone from 3.3.2 to 3.9 (This was updated as...

Client

The other is the python requirement. That one needs discussion from staff, as I have been using 2.7 without any issues. Maybe if you were building the client, I could see a reason for it being an issue, but for the server, it doesn’t seem to matter.

Granted, these are the two only notable issues in the current build guide that I have found so far from testing. I’m not sure which version of Ubuntu is used on EC2 servers at this time (assuming that’s what you meant by E2 instance), so I’ll go ahead and run tests on both, though the build instructions shouldn’t have changed since the update I gave all that while ago except for that python requirement.

I hate that thing. Anyway, I’m testing out how much memory is needed to get around it, since you only have to run it once (thank god) but like compiling Qt, it takes forever.

Memory Amount

Status

512MB

Fail

512MB + 512MB Swap

Fail

512MB + 1.5GB Swap

Testing

Why use swap? Because upping server costs just to recompile the server if the vcpkg packages change is really dumb. My current server is a Digital Ocean server with the happy medium 2 CPU/2GB of ram, where I have a 1GB swap file just in case, so I think 2GB is all that is needed (which is about how much you need to recompile Qt, so that adds up).

Part of why I think VCPKG is a royal pain is because it’s being an a*****e and uses more build processes than what is actually available (I think it’s doing a -j4 if it was a make command). For lower end servers, this is a death wish. Not to mention VCPKG just takes forever.

Hey! I’m hoping that you all can give me some feedback on this blog post I’m working on. My personal motivation is to have a domain that is not on my computer, because I often delete all data during testing. I’d like a place where I can accumulate stuff! Thanks in advance!
This article shows how to build two applications, domain-server and assignment-client, that are needed to run your own virtual world in the cloud!
It assumes that you have some familiarity with using the command prompt …

and tried that with 14.04.

Neither of them worked with the problems that you mentioned.

I will try your solution for fixing the cmake problem, thank you for pointing it out. Now I only need to find out how to fix the python problem so I can finally get this F%$#er working.

The last time I used Linux was well over 25 years ago so it’s safe to assume that I know jack S#!t when it comes to this stuff.

One of the easiest way of increasing the responsiveness of your server and guarding against out of memory errors in your applications is to add some swap space. In this guide, we will cover how to add a swap file to an Ubuntu 16.04 server....

We appreciate your feedback, Tim – there are a couple Linux items on the Roadmap right now you can upvote. We agree an official Linux build is a good idea, but we’re not able to commit to a timeline right now.

The file may have been corrupted in transit. This can be caused by
proxies. If you use a proxy, please set the HTTPS_PROXY and HTTP_PROXY
environment variables to
“https://user:password@your-proxy-ip-address:port/”.

Okay, so can confirm that 2GB is needed. Using swap though is absolutely painfully slow and I do not recommend it at all. If you plan to build your own executables, either do it on your own machine and send it to the VM or upgrade the VM.

Tim.Crook:

fallocate -l 2G swapfile

fallocate: cannot open swapfile: Permission denied

I ran it fine in just my home folder.

As for the error… that one is one I never ran into before. Granted, before I used digital ocean servers, I ran tests on amazon EC2 servers, so that’s why I’m a little confused. The most I can suggest is clearing /tmp/hifi and trying it again. Also, VCPKG takes up a good chunk of space, but with the OS and everything else, I only used less than 9GB on my current VM for testing.

The heck? Since when did they put that in? They recommend Cmake 3.9. In fact, I used my own notes for the 3.9 fix to do it so I’m confused. That being said, I am glad it has some kind of CMAKE check (different issue on Github).

well, it looks like it’s currently building the domain server and assignment client. I didn’t worry about the interface. I’ll be happier when it’s finished but it’s looking good. thank you flame and vinnie for your help. I literally couldn’t have done it without your help.

One more question if I may, I noticed that it said dev build as it was setting up, how do I go about changing this to production build, assuming this is what I’ll need to host my own domain?