So, the problem with the python installation above is, that there is no openssl. I had to do this:
Install openssl:
$ wget
http://www.openssl.org/source/openssl-1.0.2e.tar.gz$ tar -xvzf openssl-1.0.2e.tar.gz
$ cd openssl-1.0.2e.tar.gz
$ sudo ./config --prefix=/usr/local/openssl --openssldir=/usr/local/openssl
$ sudo make
$ sudo make install
Then install the python:
$ wget
https://www.python.org/ftp/python/3....thon-3.6.3.tgz$ tar -xvf Python-3.6.3.tgz
$ cd Python-3.6.3
Edit config, open
$nano Modules/Setup.dist
Search for "ssl" and uncomment and update:
_socket socketmodule.c
# Socket module helper for SSL support; you must comment out the other
# socket line above, and possibly edit the SSL variable:
SSL=/usr/local/openssl_ssl _ssl.c \
-DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
-L$(SSL)/lib -lssl -lcrypto
Then, save the file and run:
$ sudo ./configure
$ sudo make
$ sudo make install
To test python and ssl run python3 and write there import ssl, it should look like this:
fedevel@fedevel-VirtualBox:~/fsl-community-bsp/Python-3.6.3$ python3
Python 3.6.3 (default, Jan 20 2022, 23:45:09)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
>>>
fedevel@fedevel-VirtualBox:~/fsl-community-bsp/Python-3.6.3$
Then go back to to fsl-community-bsp directory and try again:
repo init -u
https://github.com/Freescale/fsl-community-bsp-platform -b jethro
I hope this helps. Midnight, time to go to bed ....