-
-
Notifications
You must be signed in to change notification settings - Fork 278
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
Add instructions for building the engine using dnf #8204
base: dev
Are you sure you want to change the base?
Conversation
|
||
Download and install using `dnf`: | ||
``` | ||
> sudo dnf install python3-pip python3-cffi python3-setuptools openssl-devel openssl libtool autoconf automake gcc gcc-c++ clang glibc-devel make libuuid-devel libXi-devel openal-soft-devel mesa-libGL-devel mesa-libGLw-devel freeglut-devel ncurses-devel ncurses-compat-libs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't like one package manager installing more packages than the other?
We should strive for making sure the default package manager (apt) should work.
|
||
On some systems, you may need to configure the `python` command to default to Python 3: | ||
``` | ||
> sudo alternatives --install /usr/bin/python python /usr/bin/python3 1 | ||
``` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Adds setup instructions for Linux using
dnf
instead ofapt-get
. This was tested with Fedora 39 and it's possible that package names might be different on other distros that usednf
. Couple things to note:valgrind
andccache
python3-pip
,python3-cffi
,python3-setuptools
) but maybe it should go in the Python section?build_engine
step fails to findclang++
from the provided SDK so these instructions install Clang natively (latest version, I don't think it's possible to install just 13?) as well to work around thispython3
command in scripts so that users don't need to alias it, but it seems to be a bigger change than just find and replace on the first linedefold/tmp/dynamo_home/ext/SDKs/linux/clang-13.0.0/bin/clang++: /lib64/libtinfo.so.5: no version information available (required by /var/home/potota/defold/tmp/dynamo_home/ext/SDKs/linux/clang-13.0.0/bin/clang++)
. This doesn't seem to cause issues for Defold thoughlibtinfo
is from ncurses)PR checklist
Do I need to do anything with the checklist for a doc change like this?