-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
apk build error: bzlib.h: No such file or directory #1854
Comments
I think that your problem is that you are trying to build with See also: |
@opacam Just tried to do that - changed NDKAPI env var to 21, and removed the ~/.local/share/python-for-android/ |
Well then, we may have a bug in Note: Given your filesystem and target
|
I have also installed autoconf, automake, and libtool to get rid of the first three warnings by p4a, but it changed nothing. |
To fix freetype build for `openSUSE` and maybe other oses. Note: It seems that there is a bug in `bzip2-devel` for debian and derivatives which are distributed without a `pkg-config` file, so when we compile freetype with a debian os (or derivative) we build it without bzip2 support, so we enforce to disable bzip2 support, because we know that freetype works fine without bzip2 support Resolves: kivy#1854
I think that I found what happen here: The thing is that, for debian os and derivatives, there is a See also: https://gist.github.com/Fak3/5684594ac9b3c8a72eff15f8b55e08ff#file-config-log-L896 Could you try if the solution posted at #1857 works for you? |
To fix freetype build for `openSUSE` and maybe other oses. Note: It seems that there is a bug in `bzip2-devel` for debian and derivatives which are distributed without a `pkg-config` file, so when we compile freetype with a debian os (or derivative) we build it without bzip2 support, so we enforce to disable bzip2 support, because we know that freetype works fine without bzip2 support Resolves: kivy#1854
Thanks! It worked |
os: openSUSE tumlbeweed linux
p4a version: git master
android ndk version: r17c
I tried to build apk with p4a:
p4a apk --private /home/z/pproj/paradox_ssh/ --version=1.7 --bootstrap=sdl2 --local-recipes=./recipes --requirements=python3,kivy-async,openssl,sqlite3,pil,requests,sdl2,plyer --whitelist=./whitelist.txt --permission=CALL_PHONE --permission=INTERNET --orientation=portrait --package=org.spbelect.paradox2 --name="paradox2" --release
The build failed with an error:
full p4a stdout: https://gist.github.com/Fak3/5fca7ea090ddcc78be30571c8f4f91d8
I do have bzlib headers installed:
But somehow recipe cannot find the headers
The text was updated successfully, but these errors were encountered: