Skip to content

Commit 70251d8

Browse files
authored
Merge pull request kivy#2219 from AndreMiras/feature/update_install_docs
📝 Updates install and troubleshooting docs
2 parents 51de0b3 + 62bda59 commit 70251d8

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

doc/source/quickstart.rst

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,16 @@ Installing Dependencies
6262
p4a has several dependencies that must be installed:
6363

6464
- ant
65-
- autoconf (for ffpyplayer_codecs recipe)
65+
- autoconf (for libffi and other recipes)
66+
- automake
6667
- ccache (optional)
6768
- cmake (required for some native code recipes like jpeg's recipe)
6869
- cython (can be installed via pip)
6970
- gcc
7071
- git
7172
- libncurses (including 32 bit)
72-
- libtool (for ffpyplayer_codecs recipe)
73+
- libtool (for libffi and recipes)
74+
- libssl-dev (for TLS/SSL support on hostpython3 and recipe)
7375
- openjdk-8
7476
- patch
7577
- python3
@@ -83,7 +85,7 @@ install most of these with::
8385

8486
sudo dpkg --add-architecture i386
8587
sudo apt-get update
86-
sudo apt-get install -y build-essential ccache git zlib1g-dev python3 python3-dev libncurses5:i386 libstdc++6:i386 zlib1g:i386 openjdk-8-jdk unzip ant ccache autoconf libtool
88+
sudo apt-get install -y build-essential ccache git zlib1g-dev python3 python3-dev libncurses5:i386 libstdc++6:i386 zlib1g:i386 openjdk-8-jdk unzip ant ccache autoconf libtool libssl-dev
8789

8890
On Arch Linux you should be able to run the following to
8991
install most of the dependencies (note: this list may not be
@@ -93,10 +95,7 @@ complete)::
9395

9496
On macOS::
9597

96-
brew cask install autoconf automake java8 libtool pkg-config
97-
98-
If Java 8 is no longer available you can still install it via::
99-
98+
brew install autoconf automake libtool openssl pkg-config
10099
brew tap homebrew/cask-versions
101100
brew cask install homebrew/cask-versions/adoptopenjdk8
102101

doc/source/troubleshooting.rst

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,4 +207,15 @@ SSLError("Can't connect to HTTPS URL because the SSL module is not available.")
207207
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
208208

209209
Your `hostpython3` was compiled without SSL support. You need to install the SSL development files before rebuilding the `hostpython3` recipe.
210-
On Ubuntu and derivatives these come from the `libssl-dev` package (then `p4a clean builds`, or with buildozer `buildozer android clean`).
210+
Remember to always clean the build before rebuilding (`p4a clean builds`, or with buildozer `buildozer android clean`).
211+
212+
On Ubuntu and derivatives::
213+
214+
apt install openssl
215+
p4a clean builds # or with: buildozer `buildozer android clean
216+
217+
On macOS::
218+
219+
brew install openssl
220+
sudo ln -sfn /usr/local/opt/openssl /usr/local/ssl
221+
p4a clean builds # or with: buildozer `buildozer android clean

0 commit comments

Comments
 (0)