Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Compile wget for your system.  (Read 1943 times)

0 Members and 1 Guest are viewing this topic.

Aby

  • Guest
Compile wget for your system.
« on: January 19, 2014, 10:19:21 pm »
How to compile wget for your system?

Sometimes the precompiled wget binaries refuse to work with your ssl linked libraries.
The simple solution is to compile a new wget binary to be used with your ssl libraries.

wget http://files.directadmin.com/services/wget-1.8.2.tar.gz
tar xvzf wget-1.8.2.tar.gz
cd wget-1.8.2
./configure --prefix=/usr --with-ssl
make
make install

If you're using FreeBSD, you'd need to use --prefix=/usr/local instead of /usr.

Obviously, if you don't have wget to begin with, you'd need to use another tool to download the wget source code, like "fetch" or "lynx".