Skip to content
  • Bertus Den Droef @dendroefbertus ·

    Hi Lukas,

    somehow installing python (CPython) failed, see output below.


    Would you like us to install CPython 3.9.8 with Pyenv? [Y/n]: Installing CPython 3.9.8 with /Users/xxxxxxxx/.new_local/bin/pyenv (this may take a few minutes)... ✘ Failed... Something went wrong... Downloading openssl-1.1.1l.tar.gz... -> https://www.openssl.org/source/openssl-1.1.1l.tar.gz Installing openssl-1.1.1l...

    BUILD FAILED (OS X 12.0.1 using python-build 2.2.0-13-ga9e11ba1)

    Inspect or clean up the working tree at /tmp/python-build.20211111193222.27082 Results logged to /tmp/python-build.20211111193222.27082.log

    Last 10 log lines: In file included from crypto/rand/rand_unix.c:38: /Library/Developer/CommandLineTools/SDKs/MacOSX10.12.sdk/usr/include/CommonCrypto/CommonRandom.h:35:9: error: unknown type name 'CCCryptorStatus' typedef CCCryptorStatus CCRNGStatus; ^ crypto/rand/rand_unix.c:385:47: error: use of undeclared identifier 'kCCSuccess' if (CCRandomGenerateBytes(buf, buflen) == kCCSuccess) ^ 2 errors generated. make[1]: *** [crypto/rand/rand_unix.o] Error 1 make: *** [all] Error 2

    Edited by Bertus Den Droef
  • Bertus Den Droef @dendroefbertus ·

    Oh and then i get into a loop. It keeps on trying to install CPython.

  • Author Maintainer

    The gist downloads 3.9.7 so no idea why 3.9.8 is being installed. That’s strange. But you can install python manually and comment out that code if it helps (only needs to happen once anyway). It seems like there’s some OpenSSL connectivity error going on maybe?

  • Bertus Den Droef @dendroefbertus ·

    Sorry to bother you with this, but after installing python 3.9.8 things look more promising, but now i get the error: "unknown keys defined in configuration file: python_library_path". Is this about ssl keys, and which configuration file? Thanks for your support.

    Loading .env environment variables... Found Command Line Tools 'version: 13.1.0.0.1.1633545042' Command Line Tools version 13.100000 I: unknown keys defined in configuration file: python_library_path jhbuild build: could not download http://gitlab.gnome.org/GNOME/gtk-osx/raw/master/modulesets-stable/gtk-osx.modules: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)>

  • Bertus Den Droef @dendroefbertus ·

    I had to run: $ ./Install\ Certificates.command in /Applications/Python 3.9

    Edited by Bertus Den Droef
  • Bertus Den Droef @dendroefbertus ·

    This is a summary of the warnings and errors I get now:


    WARNING: Package(s) not found: typing

    git: 'co' is not a git command. See 'git --help'.

    The most similar commands are commit clone log

    From https://gitlab.gnome.org/GNOME/jhbuild

    • tag 3.38.0 -> FETCH_HEAD error: cannot run gpg: No such file or directory

    jhbuild bootstrap-gtk-osx-gimp: no such command (did you mean "jhbuild run bootstrap-gtk-osx-gimp"?)

    fatal: destination path 'gtk-mac-bundler' already exists and is not an empty directory.

    jhbuild build: A module called ''meta-gtk-osx-core'' could not be found. jhbuild build: A module called ''suitesparse'' could not be found. jhbuild build: A module called ''json-glib'' could not be found. jhbuild build: A module called ''libmypaint'' could not be found. jhbuild build: A module called ''pygobject'' could not be found.

    I: unknown keys defined in configuration file: python_library_path E: ['pkg-config', '--list-all'] failed E: ['pkg-config', '--list-all'] failed Required packages: System installed packages which are too old: (none) No matching system package installed: automake cmake

    jhbuild build: Required system dependencies not installed. Install using the command 'jhbuild sysdeps --install enchant libpsl sqlite vala gnutls' or to ignore system dependencies use command-line option --nodeps

    Did not find pkg-config by name 'pkg-config' Found Pkg-config: NO Did not find CMake 'cmake' Found CMake: NO Run-time dependency glib-2.0 found: NO (tried pkgconfig, framework and cmake) Not looking for a fallback subproject for the dependency glib-2.0 because: Use of fallback dependencies is disabled.

    ../../../../gtk/source/libsoup-2.72.0/meson.build:84:0: ERROR: Dependency 'glib-2.0' is required but not found.

    Edited by Bertus Den Droef
  • Author Maintainer

    I've now added instructions to the README.md on the master branch for how to build a quick and dirty build script.

0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment