Descargué wget-1.19.tar.gz desde este sitio enlace y luego extraigo el archivo tar y ejecuto
./configure
La salida es que:
checking for ftello... yes
checking for sigblock... yes
checking for sigsetjmp... yes
checking for memrchr... (cached) no
checking for wcwidth... (cached) yes
checking for mbtowc... yes
checking for sleep... yes
checking for symlink... (cached) yes
checking for utime... yes
checking for strlcpy... yes
checking for random... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBPSL... no
checking for library containing psl_builtin... no
configure: WARNING: *** libpsl was not found. Fallback to builtin cookie checking.
checking for ZLIB... yes
checking for GNUTLS... no
configure: error: Package requirements (gnutls) were not met:
No package 'gnutls' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GNUTLS_CFLAGS
and GNUTLS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Encontré diferentes guías en la web, pero ninguna resuelve mi problema. Intento instalar un paquete diferente con brew, por ejemplo
brew install gnutls
pero nada funciona. De hecho, si hago brewls instala gnutls, parece ser correcto, pero si i digit
make
el error es que:
/Library/Developer/CommandLineTools/usr/bin/make all-recursive
Making all in lib
/Library/Developer/CommandLineTools/usr/bin/make all-recursive
make[4]: Nothing to be done for 'all-am'.
Making all in src
/Library/Developer/CommandLineTools/usr/bin/make all-am
CC ftp.o
ftp.c:1466:19: error: no member named 'rpl_unlink' in 'struct options'
if (opt.unlink && file_exists_p (con->target))
~~~ ^
../lib/unistd.h:1851:19: note: expanded from macro 'unlink'
# define unlink rpl_unlink
^
error: error opening '.deps/ftp.Tpo': Permission denied
2 errors generated.
make[3]: *** [ftp.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
¿Puede alguien ayudarme?
Quiero instalar wget en mi Mac porque tengo que descargar las carpetas en esta página enlace y usar curl
No puedo descargarlos de forma recursiva.