Bugzilla – Bug 13771
Glibc can`t install libidn
Last modified: 2007-06-15 17:19:08 UTC
If I cast glibc with libidn support it gives the error Message Found source file glibc-2.3.6.tar.bz2 for spell glibc in /var/spool/sorcery Found source file glibc-2.3.6.tar.bz2.sig for spell glibc in /var/spool/sorcery Found source file glibc-linuxthreads-2.3.6.tar.bz2 for spell glibc in /var/spool/sorcery Found source file glibc-linuxthreads-2.3.6.tar.bz2.sig for spell glibc in /var/spool/sorcery Found source file 2.4.24-kernel-headers.tar.bz2 for spell glibc in /var/spool/sorcery Waiting for any Solo casts to complete... Waiting for all other spells to complete... done. Building glibc GPG checking source file glibc-2.3.6.tar.bz2... Algorithm used: sha1 Algorithm checks out Checking spell level UPSTREAM_KEY Spell level is an allowed level gpg signature verified! Unpacking source file glibc-2.3.6.tar.bz2 for spell glibc. GPG checking source file glibc-linuxthreads-2.3.6.tar.bz2... Algorithm used: sha1 Algorithm checks out Checking spell level UPSTREAM_KEY Spell level is an allowed level gpg signature verified! Unpacking source file glibc-linuxthreads-2.3.6.tar.bz2 for spell glibc. hash checking source file 2.4.24-kernel-headers.tar.bz2... Continuing! Unpacking source file 2.4.24-kernel-headers.tar.bz2 for spell glibc. patching file sysdeps/unix/sysv/linux/i386/sysdep.h patching file Makefile Using gcc version: 4.1.2 Installing in dir: /usr/src/glibc-2.3.6 glibc 2.3.6 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu configure: error: add-on directory "libidn" does not exist ! Problem Detected ! Creating compile log /var/log/sorcery/compile/glibc-2.3.6.bz2 Spells that have been dropped: ------------------------------ e2fsprogs locale util-linux Spells that encountered problems: --------------------------------- glibc
Seems you use 2.4 kernel, why not 2.6? Most of us use linux kernel 2.6, glibc 2.4 with heades 2.6.12.0, you are trying to build glibc-2.3.6 with 2.4.24-kernel-headers? Or something with NPTL, did you swith it off? Or do you use i386-pc-linux-gnu? From PREPARE file: if [[ $(uname -r) = 2.6.* ]]; then if test "$HOST" == "i386-pc-linux-gnu"; then message "[[ ${QUERY_COLOR}Not building with NPTL as that's unsupported on i386; use i486 or higher.${DEFAULT} ]]" config_set_option GLIBC_NPTL n else config_query GLIBC_NPTL "As you are running a 2.6 kernel, would you like to use the new nptl (Native Posix Thread Libary)?" y config_query GLIBC_USEIDN "Would you like to compile glibc with libidn support?" y fi fi &&
I`m using Kernel 2.6.20 and deactivated NPTL, because this was the default value and didn`t know for this is for.
If I don`t know for this is for I usually use default. :-) So try "cast -r -c glibc" and choose "y" for NPTL (y is default). If you didn't change it your glibc could have IDN support already. ----- For SMGL devs: Seems there is a bug in glibc BUILD: There is: # Enable IDN? # if [ "$GLIBC_USEIDN" = "y" ]; then ADDONS="$ADDONS libidn" fi && And it should be: if [ "$GLIBC_NPTL" = "y" ]; then # Enable IDN? # if [ "$GLIBC_USEIDN" = "y" ]; then ADDONS="$ADDONS libidn" fi && fi
IDN only works with the newer glibc, which requires the 2.6 kernel, it seems.
Fixed in commit id 4c772496dd435094d6c40c1dafbbacddedf944bf
Yea, this should be integrated to stable-rc and stable and glibc 2.5 should be integrated from devel to test.
This is too fringe to go to 0.10 IMO. It will make the next stable-rc because it's in test now.
Closing, now fixed in the stable-0.11 tarball.