retitle 279985 libglademm2.0: FTBFS (amd64): Please replace "$LD" by $LD in configure tags 279985 +patch severity 279985 important thanks
Please support the amd64 sarge port by fixing this bug. The configure script uses "$LD" instead of $LD in its linker tests. This makes the shell look for the filename "ld -m elf_x86_64" on amd64 which does not exists because the ' -m elf_86_64' part is not interpreted as an option but as part of the filename. Therefore 'configure' does not find the GNU ld and does not set the correct linker options (the option -nostdlib will be missing). This "$LD" problem was caused by using an old buggy version of 'libtool.m4' when creating the configure script. With the attached patch, 'libglademm2.0' can be compiled on amd64. Regards Andreas Jochens diff -urN ../tmp-orig/libglademm2.0-2.2.0/aclocal.m4 ./aclocal.m4 --- ../tmp-orig/libglademm2.0-2.2.0/aclocal.m4 2004-03-29 17:22:20.000000000 +0000 +++ ./aclocal.m4 2005-04-24 17:16:55.061912237 +0000 @@ -2987,7 +2987,7 @@ [AC_REQUIRE([AC_PROG_EGREP])dnl AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, [# I'd rather use --version here, but apparently some GNU ld's only accept -v. -case `"$LD" -v 2>&1 </dev/null` in +case `$LD -v 2>&1 </dev/null` in *GNU* | *'with BFD'*) lt_cv_prog_gnu_ld=yes ;; diff -urN ../tmp-orig/libglademm2.0-2.2.0/configure ./configure --- ../tmp-orig/libglademm2.0-2.2.0/configure 2004-03-29 17:22:40.000000000 +0000 +++ ./configure 2005-04-24 17:23:33.492983868 +0000 @@ -3634,7 +3634,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else # I'd rather use --version here, but apparently some GNU ld's only accept -v. -case `"$LD" -v 2>&1 </dev/null` in +case `$LD -v 2>&1 </dev/null` in *GNU* | *'with BFD'*) lt_cv_prog_gnu_ld=yes ;; @@ -9990,7 +9990,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else # I'd rather use --version here, but apparently some GNU ld's only accept -v. -case `"$LD" -v 2>&1 </dev/null` in +case `$LD -v 2>&1 </dev/null` in *GNU* | *'with BFD'*) lt_cv_prog_gnu_ld=yes ;; -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

