Anybody have any luck with wget and IDN?  Obviously not working with
libidn-1.19 here and wget-1.12.

lfs [ /sources/test ]$ echo $LANG
en_US.UTF-8
lfs [ /sources/test ]$ echo $LC_ALL
en_US.UTF-8
lfs [ /sources/test ]$ wget "http://stefan.kögl.co.at/"; -S
-v--2010-09-26 01:54:17--  http://stefan.k%C3%B6gl.co.at/
Resolving stefan.kögl.co.at (stefan.kögl.co.at)... failed: Name or
service not known.
wget: unable to resolve host address “stefan.kögl.co.at”
lfs [ /sources/test ]$ wget 'http://stefan.kögl.co.at/' -S -v
--2010-09-26 01:54:34--  http://stefan.k%C3%B6gl.co.at/
Resolving stefan.kögl.co.at (stefan.kögl.co.at)... failed: Name or
service not known.
wget: unable to resolve host address “stefan.kögl.co.at”
lfs [ /sources/test ]$ wget http://stefan.kögl.co.at/ -S -v
--2010-09-26 01:55:36--  http://stefan.k%C3%B6gl.co.at/
Resolving stefan.kögl.co.at (stefan.kögl.co.at)... failed: Name or
service not known.
wget: unable to resolve host address “stefan.kögl.co.at”
lfs [ /sources/test ]$ ld
ld        ldd       lddlibc4
lfs [ /sources/test ]$ ldd /usr/bin/wget
        linux-gate.so.1 =>  (0xb76ed000)
        libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 (0xb7699000)
        libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0xb7527000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7523000)
        librt.so.1 => /lib/librt.so.1 (0xb751a000)
        libidn.so.11 => /usr/lib/libidn.so.11 (0xb74e8000)
        libc.so.6 => /lib/libc.so.6 (0xb736e000)
        /lib/ld-linux.so.2 (0xb76ee000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7354000)
lfs [ /sources/test ]$ wget -V
GNU Wget 1.12 built on linux-gnu.

+digest +ipv6 +nls +ntlm +opie +md5/openssl +https -gnutls +openssl
+iri

Wgetrc:
    /etc/wgetrc (system)
Locale: /usr/share/locale
Compile: gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC="/etc/wgetrc"
    -DLOCALEDIR="/usr/share/locale" -I. -I../lib -O2 -Wall
Link: gcc -O2 -Wall /usr/lib/libssl.so /usr/lib/libcrypto.so -ldl -lrt
-lidn
    ftp-opie.o openssl.o http-ntlm.o gen-md5.o ../lib/libgnu.a

Copyright © 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://www.gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Originally written by Hrvoje Nikšić <hnik...@xemacs.org>.
Currently maintained by Micah Cowan <mi...@cowan.name>.
Please send bug reports and questions to <bug-w...@gnu.org>.
lfs [ /sources/test ]$ idn -a stefan.kögl.co.at
libidn 1.19
Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Simon Josefsson.
GNU Libidn comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Libidn under the terms of
the GNU Lesser General Public License.  For more information
about these matters, see the file named COPYING.LIB.
stefan.xn--kgl-sna.co.at
lfs [ /sources/test ]$ wget http://stefan.xn--kgl-sna.co.at
--2010-09-26 02:28:41--  http://stefan.xn--kgl-sna.co.at/
Resolving stefan.kögl.co.at (stefan.xn--kgl-sna.co.at)... 83.169.20.177
Connecting to stefan.kögl.co.at
(stefan.xn--kgl-sna.co.at)|83.169.20.177|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 273 [text/html]
Saving to: “index.html”

100%[======================================>] 273         --.-K/s   in
0s

2010-09-26 02:28:41 (35.3 MB/s) - “index.html” saved [273/273]

lfs [ /sources/test ]$


-- DJ Lucas


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to