INSTALL
.
for example:
# AIX, native cc configure --prefix=/tmp/wget-1.10.2 CC=cc CFLAGS="-O2 -D_LARGE_FILES" --with-libssl-prefix=/nfs/bio/local.AIX/53/openssl-1.0.0d --disable-rpath make make install # goes into /tmp/wget-1.10.2The unnecessary dependency on perl creates a bug: only
/usr/local/bin/
, not PATH
is searched for
the interpreter. If this is not what you want, use
find ./ -name Makefileto locate all Makefiles and change the
PERL
assignment
to the desired loacation.
Potential problem (hardcoded path) ?:
-DSYSTEM_WGETRC=\"/tmp/wget-1.10.2/etc/wgetrc\" -DLOCALEDIR=\"/tmp/wget-1.10.2/share/locale\"
# AIX 5.3, C 8.0 configure PERL=/usr/bin/perl CC=cc CFLAGS="-O2 -D_LARGE_FILES -I/nfs/bio/local.AIX/53/openssl-1.0.0d/include" --with-ssl=openssl LDFLAGS="-L/nfs/bio/local.AIX/53/openssl-1.0.0d/lib" --disable-rpath --prefix=/tmp/wget-1.12-2504
# AIX 6.1/7.1, C 9.0/12.1 configure --prefix=/tmp/wget-1.14 PERL=/usr/bin/perl CC=cc CFLAGS="-O2 -D_LARGE_FILES -qcpluscmt -I/bio/local/../61/openssl-1.0.1e/include" --with-ssl=openssl --enable-threads=posix LDFLAGS="-L/bio/local/../61/lib" --disable-rpath configure --prefix=/tmp/wget-1.14 PERL=/usr/bin/perl CC=cc CFLAGS="-O2 -D_LARGE_FILES -qcpluscmt -I/nfs/local/71/openssl-1.0.1e/include" --with-ssl=openssl --enable-threads=posix LDFLAGS="-L/nfs/local/71/lib" --disable-rpath make make installNote: seems best to always start from a freshly unpacked source.
WGETRC
to point to the configuration file at runtime.
# mirror a secure site, bypassing certificate checking wget -m -e robots=off --no-parent --no-check-certificate https://user:password@host/dir/