openhab / website

This repository contains the final artifacts from which the project website is served.
https://www.openhab.org/
20 stars 47 forks source link

Local build of webpage does not work on Ubuntu 22.04.4 LTS x86_64 #452

Closed pgfeller closed 4 months ago

pgfeller commented 4 months ago

Local build of the openHAB website on more recent ubuntu operating systems is not possible. Those distributions do not provide the deprecated OpenSSL 1.1.1 nor the binaries of the required ruby version. Ruby version manager is not able to build the required version:

rvm install "ruby-2.4.3"
Required ruby-2.4.3 is not installed.
To install do: 'rvm install "ruby-2.4.3"'
ruby-2.4.3 - #removing src/ruby-2.4.3..
Searching for binary rubies, this might take some time.
No binary rubies available for: ubuntu/22.04/x86_64/ruby-2.4.3.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for ubuntu.
Requirements installation successful.
Installing Ruby from source to: /home/pgfeller/.rvm/rubies/ruby-2.4.3, this may take a while depending on your cpu(s)...
ruby-2.4.3 - #downloading ruby-2.4.3, this may take a while depending on your connection...
ruby-2.4.3 - #extracting ruby-2.4.3 to /home/pgfeller/.rvm/src/ruby-2.4.3.....
ruby-2.4.3 - #configuring..................................................................
ruby-2.4.3 - #post-configuration..
ruby-2.4.3 - #compiling..................................................................................................................................................................................|
Error running '__rvm_make -j8',
please read /home/pgfeller/.rvm/log/1709032136_ruby-2.4.3/make.log

There has been an error while running make. Halting the installation.

Nielson Rolim (nielsonrolim) described an approach to resolve this problem in the following post: https://github.com/rbenv/ruby-build/discussions/1940#discussioncomment-2663209

I need to figure out the details; then I propose to include the instructions into Contributing.md.