Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install secp256k1 on Windows PHP 7 #166

Open
nathanielajayi7 opened this issue Jul 2, 2021 · 1 comment
Open

Unable to install secp256k1 on Windows PHP 7 #166

nathanielajayi7 opened this issue Jul 2, 2021 · 1 comment

Comments

@nathanielajayi7
Copy link

Hello, I've been unable to compile secp256k1 on my localhost for 3 days now. The only command that works is the clone command and nothing else after that. I have PHP installed via XAMPP and if I need anything else to make it work, I'd love to know as a library I need is dependent on secp256k1. Thanks.
Screenshot (4)

@afk11
Copy link
Member

afk11 commented Jul 12, 2021

Hi @nathanielajayi7, thanks for opening this issue. We haven't had a request for windows before, unfortunately it's unsupported + probably broken at the moment.

IIRC, the code should work, it's actually just the config.m4 file that needs tweaking for windows. I've never tried but perhaps we can get it working.

I see the commands caused some error in Command Prompt, but that's to be expected right now as we've only published the commands for linux. First you'll have to work out how to install libsecp256k1 on Windows.

You need to swap out this line:
git clone [email protected]:bitcoin-core/secp256k1
with this
git clone https://github.com:bitcoin-core/secp256k1

because I see the permission denied warning. The 'secp256k1' directory should exist once this is fixed, and you can try the rest of the commands

&& not sure if this is valid in Windows; sudo is a linux thing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants