How to install wget in OS X installs wget under Mac OS X and resolves configure:error:

Source: Internet
Author: User

1.ftp://ftp.gnu.org/gnu/wget/official website Download the latest installation package wget-1.19.tar.gz

2. Open terminal input tar zxvf wget-1.9.1.tar.gz unzip

3. Enter the Wget folder terminal input CD wget-1.9.1

4. Terminal input./configure

If the configure:error:The Pkg-config script could is present, the is found or was too old. Make sure it was in your path or set the PKG_CONFIG environment variable to the full PATH to Pkg-config.

Terminal input./configure--with-ssl=openssl,

If you are OS X 10.10+ and OS X 10.11+, it is recommended that you enter./configure--with-ssl=openssl--with-libssl-prefix=/usr/local/ssl, Otherwise it will error Configure:error:–with-ssl=openssl was given, but SSL is not available, if follow the above step or error, there may be the location of the installation package placement is incorrect, it is recommended to put in the usr/ local/cellar/wget-1.9.1, this is how I solved the error. Installation Successful

6.make

7.sudo make Install

8. You can enter wget www.google.com to see if the installation is successful.

How to install wget in OS X installs wget under Mac OS X and resolves configure:error:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.