On Tue, May 30, 2017 at 4:03 PM, Darshit Shah <[email protected]> wrote:
> This occurs because you are running a version of Wget that was compiled > without IRI support. > > See. the output of `wget --version`, it shows "-iri". However you tried to > explicitly set the encodings which requires IRI support. Either remove the > --remote-encoding and --local-encoding switches, or use a version of Wget > with IRI support compiled in. > Thanks, May I know how to build wget with iri supporting? > > On 30 May 2017 at 11:30, Cos Chan <[email protected]> wrote: > >> Hello >> >> I got mistake while running this command: >> >> wget --no-verbose --remote-encoding=UTF-8 --local-encoding=UTF-8 --mirror >> --directory-prefix=/foo/ --no-parent --no-host-directories --cut-dirs=2 >> --force-directories --accept=*.pdf --restrict-file-names=nocontrol >> http://bar/Documents/ >> >> the mistake is : This version does not have support for IRIs >> >> the wget version is: >> >> $ wget --version >> GNU Wget 1.19 built on freebsd11.0. >> >> -cares +digest -gpgme +https +ipv6 -iri +large-file -metalink +nls >> +ntlm +opie -psl +ssl/openssl >> >> Wgetrc: >> /usr/local/etc/wgetrc (system) >> Locale: >> /usr/local/share/locale >> Compile: >> clang -DHAVE_CONFIG_H -DSYSTEM_WGETRC="/usr/local/etc/wgetrc" >> -DLOCALEDIR="/usr/local/share/locale" -I. -I../lib -I../lib >> -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG >> -D_THREAD_SAFE -DNDEBUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector >> -fno-strict-aliasing >> Link: >> clang -DNDEBUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector >> -fno-strict-aliasing -L/usr/local/lib -L/usr/local/lib >> -Wl,-rpath,/usr/local/lib -fstack-protector >> /usr/local/lib/libssl.so /usr/local/lib/libcrypto.so -Wl,-rpath >> -Wl,/usr/local/lib -lz ftp-opie.o openssl.o http-ntlm.o >> ../lib/libgnu.a -L/usr/local/lib -lintl -Wl,-rpath=/usr/local/lib >> >> -- >> with kind regards >> > > > > -- > Thanking You, > Darshit Shah > > -- with kind regards
