Install Wget on macOS

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
yang16
Posts: 41
Joined: Wed Mar 30, 2016 8:28 am America/New_York

Install Wget on macOS

by yang16 » Tue Jun 28, 2022 12:26 pm America/New_York

Dear EARTHDATA Forum,

I failed to install Wget on my PC with macOS system. At first, I downloaded the latest version (Wget2-latest.tar.gz) of Wget from this link: https://ftp.gnu.org/gnu/wget/?C=M;O=A
Then I complied it using the following commands:
$ gunzip < wget2-latest.tar.gz | tar -xv
$ cd wget2-2.0.1
$ ./configure
$ make
# make install
When I ran "./configure", I got warnings as below:
configure: WARNING: *** WolfSSL was not found.
configure: error: *** No SSL/TLS library not found.
Then when I ran "make", I got error as below:
There seems to be no Makefile in this directory.
You must run ./configure before running '/Library/Developer/CommandLineTools/usr/bin/make'.
make: *** [abort-due-to-no-makefile] Error 1

Do you know how to fix this issue?

Thank you in advance.
Amy.

OB.DAAC - amscott
User Services
User Services
Posts: 229
Joined: Mon Jun 22, 2020 5:24 pm America/New_York
Answers: 1
Has thanked: 2 times

Re: Install Wget on macOS

by OB.DAAC - amscott » Wed Jun 29, 2022 2:47 pm America/New_York


yang16
Posts: 41
Joined: Wed Mar 30, 2016 8:28 am America/New_York

Re: Install Wget on macOS

by yang16 » Wed Jun 29, 2022 7:41 pm America/New_York

Thank you for your reply. I tried it, but got error as below:
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
Actually, I got this error when I tried to install Homebrew before and I could not fix this error.
I may find other ways to download the data.

Sincerely,
Amy.

Post Reply