-
Notifications
You must be signed in to change notification settings - Fork 50
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
prepare.sh fails #101
Comments
python2-dev is still needed. You might want to make sure the universe and multiverse repositories are enabled. |
AFAIK, Python 2 is not available in Ubuntu 23.04 and later so the python2-dev cannot be installed. Maybe it is available through ESM/Ubuntu Pro? Building Ren'Py from a fresh Ubuntu 22.04 docker container worked for me, after installing the |
Ah, okay. I have it here, though we may be able to live without it. That being said, it might make sense to just stick to 22.04 until we drop Python 2 support entirely, in mid 2024. |
@Kassy2048 However I encountered an error related to the absence of the Live2DCubismCore.h file:
I tried to build for Windows but after trying for the Web platform, I noticed that the same error occurs. Did you also encouter this problem? I saved the Cubism SDK in |
@renpytom I agree, better stick to Ubuntu 22.04 as it's the latst version to support Python 2 and it's a LTS so it should be maintained until 2027. It is possible to install Python 2 on 23.10 manually or using tools like @LorinDesch You need to download the exact same version as renpy-build expects, which is "CubismSdkForNative-4-r.6.2.zip". For the records, here are the commands I've used to build Ren'Py on docker (first command is from the host): docker run --interactive --tty --name renpy_build ubuntu:22.04 bash
apt update && apt install git sudo lsb-release wget software-properties-common gnupg nano
apt install libharfbuzz-dev bc
mkdir renpy-dev
cd /renpy-dev
git clone https://github.com/renpy/renpy-build.git
cd renpy-build
./prepare.sh
cd tars
wget 'https://cubism.live2d.com/sdk-native/bin/CubismSdkForNative-4-r.6.2.zip'
cd ..
. tmp/virtualenv.py3/bin/activate
./build.py --platform web You may want to change the renpy-build repository URL to your own, as well as the URLs in "nightly/git.sh" before executing "prepare.sh". |
Thanks for your assistance. Unfortunately, I've encountered new errors (still building for Windows). The specific error I'm facing is as follows:
I noticed that line 527 in renpy-build/tasks/python.lib is commented out:
According to
The library libavif-dev is already installed. |
@LorinDesch Regarding the last one - b223a61 |
Perhaps |
Hello
So I tried following steps:
and got this:
(prepare.sh, line 14)
E: Unable to locate package python2-dev
Is python2-dev still needed or is this only for building with python version 2?
After deleting python2-dev in prepare.sh, I have the following:
(prepare.sh, line 45)
Is it possible to use llvm 16 or 17?
(nightly/python.sh, line 17)
After changing line 18 to:
sudo python3 setup.py install headers
This is our next output:
Am I missing something here?
Thanks.
The text was updated successfully, but these errors were encountered: