I am trying to install HD-Wallet Derive on my new MacBook Pro with the Apple A1 chip.
For which I need to install the latest version of PHP (7.3 at this current time).
So when I hit this command brew install php@7.3
on my terminal (Z shell) and I get this error message:
Error: php@7.3: no bottle available!
You can try to install from source with:
brew install --build-from-source php@7.3
Please note building from source is unsupported. You will encounter build failures with some formulae. If you experience any issues please create pull requests instead of asking for help on Homebrew's GitHub, Twitter or any other official channels.
I am building it from source, using the repository hd-wallet-derive. I was able to execute this commands curl https://getcomposer.org/installer -o installer.php
and this php installer.php
successfully. But when I ran this one: php composer.phar install
I get this error:
No lock file found. Updating dependencies instead of installing from lock file. Use composer update over composer install if you do not have a lock file.
Loading composer repositories with package information
Updating dependenciesYour requirements could not be resolved to an installable set of packages.
Problem 1
- mdanter/ecc[v0.5.0, ..., 0.5.x-dev] require ext-gmp * -> it is missing from your system. Install or enable PHP's gmp extension.
- bitwasp/bitcoin dev-master requires mdanter/ecc ^0.5.0 -> satisfiable by mdanter/ecc[v0.5.0, v0.5.1, v0.5.2, 0.5.x-dev].
- Root composer.json requires bitwasp/bitcoin dev-master#8782bc6c470e342d4e0cb67eb036974f133b950b -> satisfiable by bitwasp/bitcoin[dev-master].
I believe I have to do a GMP extension, but how?