[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] Building wget 1.14 on Mac OS X

From: Tony Lewis
Subject: [Bug-wget] Building wget 1.14 on Mac OS X
Date: Mon, 6 Aug 2012 14:25:52 -0700

When I tried to build wget 1.14 on Mac OS X I found that I was missing some
things that are necessary to build wget:

- GNU Transport Layer Security Library, which needs

- XZ Utils (to extract the archive) and Nettle version 2.4, which needs

- GNU Multiple Precision Arithmetic Library


I could not get GNU TLS to build with Nettle version 2.5 (the latest
version) and I could not get Nettle 2.4 to build with the version of
configure.guess that shipped with that version. Here are the long and gory
instructions for how to build wget-1.14.tar.gz on Mac OS X. Note that I
already had XCode version 4.4 installed. If you've never installed XCode,
you will probably be missing a lot of other things that you need.


0. Create a working directory (for example, ~/wget).

0.1: mkdir ~/wget

0.2: cd ~/wget


1: Install "The GNU Multiple Precision Arithmetic Library":

1.a: Download ftp://ftp.gmplib.org/pub/gmp-5.0.5/gmp-5.0.5.tar.bz2

1.b: tar xvfz gmp-5.0.5.tar.bz2

1.c: cd gmp-5.0.5

1.d: ./configure

1.e: make

1.f: sudo make install

1.g: cd ..


2: Install "Nettle - a low-level cryptographic library" version 2.4

2.a: Download ftp://ftp.lysator.liu.se/pub/security/lsh/nettle-2.4.tar.gz

2.b: tar xvfz nettle-2.4.tar.gz

2.c: cd nettle-2.4.tar

2.d: Replace config.guess with

2.e: ./configure --with-gmp

2.f: make

2.g: sudo make install

2.h: cd ..


3: Install "XZ Utils"

3.a: Download http://tukaani.org/xz/xz-5.0.4.tar.gz

3.b: tar xvfz xz-5.0.4.tar.gz

3.c: cd xz-5.0.4

3.d: ./configure

3.e: make

3.f: sudo make install

3.6: cd ..


4: Install "GNU Transport Layer Security Library"

4.a: Download ftp://ftp.gnu.org/gnu/gnutls/gnutls-3.0.22.tar.xz

4.b: tar xvfz gnutls-3.0.22.tar.xz

4.c: cd gnutls-3.0.22

4.d: ./configure

4.e: make

4.f: sudo make install

4.g: cd ..


5: Install wget

5.a: Download http://ftpmirror.gnu.org/wget/wget-1.14.tar.gz

5.b: tar xvfz wget-1.14.tar.gz

5.c: cd wget-1.14

5.d: ./configure

5.e: make

5.f: sudo make install

5.g: cd ..


6: Check version

6.a: wget -V


GNU Wget 1.14 built on darwin11.4.0.


+digest +https +ipv6 -iri +large-file -nls -ntlm +opie +ssl/gnutls

reply via email to

[Prev in Thread] Current Thread [Next in Thread]