vircadia / vircadia-builder

Builds Vircadia's native Interface and Domain server ("Project Athena") on Linux.
GNU General Public License v3.0
20 stars 31 forks source link

centos-8 support #23

Closed steevithak closed 4 years ago

steevithak commented 4 years ago

This uses elements from the existing fedora and amzn-2 builds along with a few other changes. Tested on CentOS 8.2. Was able to run pkg-scripts to build an RPM and then install the RPM to get a working server. (the RPM needs some dependency tweaks for CentOS and I'll look at that later if I get time). Should be 100% compatible with RHEL 8.2 as well and I suspect will work on CentOS/RHEL 8.0/8.1 as well but haven't tested those.

JulianGro commented 4 years ago

I assume you only tried building the server, not the interface?

steevithak commented 4 years ago

I assume you only tried building the server, not the interface?

I tried both and it will build the interface with no errors as well. However, my CentOS box is configured as a headless server and doesn't have any sort of graphics acceleration. I can load the interface over ssh from my desktop successfully and connect to a domain but the viewer goes black and the console shows errors related to missing opengl driver stuff. I don't have any way to verify that it works but I suspect it might on a non-headless box with modern graphics hardware.

JulianGro commented 4 years ago

Okay, I test it in a virtual machine and report back.

JulianGro commented 4 years ago

Even after enabling the additional "PowerTools" repository, some packages could not be found: perl-Term-ReadLine-Gnu patchelf jsoncpp-devel

steevithak commented 4 years ago

I think those come from EPEL:

dnf install epel-release

JulianGro commented 4 years ago

Could you add an entry to README.md? Something like CentOS 8 (needs PowerTools and EPEL repositories)?

steevithak commented 4 years ago

Sure, will do. I should probably also add a note about the weird way CentOS/RHEL handle having Python 2 and 3 installed at the same time. I ran into an issue with that so someone else might too.

JulianGro commented 4 years ago

I think I have actually hit the same python problem.

steevithak commented 4 years ago

I see that this pull request wasn't accepted and vircadia-builder has since been refactored. If you want the CentOS support, I'm happy to update the pull request to match the new code. But if it's not something you want to merge, let me know and I'll move on to other work

JulianGro commented 4 years ago

I would personally love it if you updated it, Dale is just pretty slow on accepting Pull Requests. I have even thought about updating the PR myself, but have been pretty busy with other work.