Skip to content

Install on Sonoma #27

Open
Open

Description

@ChristopherA

Fresh install of macOS Sonoma 14.2.1 on MacBookPro M1 Max

./build.sh reports:

…
checking for ranlib... /usr/bin/ranlib
checking for gsed... no
configure: error: gsed must be available to build this library
…

I then did `brew install gsed` and got further:

…
checking for PTHREAD_PRIO_INHERIT... yes
checking for asm/page.h... no
checking for python... no
configure: error: Cannot find python in your system path


I then did `brew install python3`, same error. I presume that python3 is not symlinked as `keytool-cli` expects.

whereis python3
python3: /usr/bin/python3 /opt/homebrew/share/man/man1/python3.1
python3 --version
Python 3.9.6
alias python='python3'


Still no luck `./build.sh` still reports `Cannot find python in your system path`

Activity

  1. ChristopherA commented on Jan 31, 2024

    @ChristopherA
    ContributorAuthor

    So I deleted and recloned the repo, but it is still not working as of 2023-01-31 commit 4c45a67:

    % ./build.sh
    …
    checking whether pthreads work with "-pthread" and "-lpthread"... yes
    checking whether Clang needs flag to prevent "argument unused" warning when linking with -pthread... no
    checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
    checking whether more special flags are required for pthreads... no
    checking for PTHREAD_PRIO_INHERIT... yes
    checking for asm/page.h... no
    checking for pkg-config... /opt/homebrew/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for python... no
    configure: error: Cannot find python in your system path
    

    So I confirmed that python3 was in path, and aliases python to it:

    % which python
    python not found
    % which python3
    /opt/homebrew/bin/python3
    % alias python='/opt/homebrew/bin/python3'
    % which python                            
    python: aliased to /opt/homebrew/bin/python3
    % python --version
    Python 3.11.7
    

    However, the result still is:

    % ./build.sh
    …
    checking for asm/page.h... no
    checking for pkg-config... /opt/homebrew/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for python... no
    configure: error: Cannot find python in your system path
    %
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions