Package: kuake
Severity: normal
Tags: patch

When building 'kuake' on amd64 with gcc-4.0,
I get the following error:

checking for snprintf... yes
checking for X... configure: error: Can't find X libraries. Please check your 
installation and add the correct paths!
make: *** [config.status] Error 1

With the attached patch 'kuake' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/kuake-0.3/acinclude.m4 ./acinclude.m4
--- ../tmp-orig/kuake-0.3/acinclude.m4  2003-01-18 01:14:07.000000000 +0100
+++ ./acinclude.m4      2005-03-20 14:34:37.804372598 +0100
@@ -2857,7 +2857,7 @@
             [/lib directory suffix (64,32,none)]),
             kdelibsuff=$enableval)
     if test "$kdelibsuff" = "none"; then
-        if test -d /lib64 ; then
+        if test -d /lib64 && ! test -L /lib64; then
             kdelibsuff=64
         else
             kdelibsuff=
@@ -6518,7 +6518,7 @@
   libsuff=
   if test "x$LINUX_64_MODE" = x64; then
     # Some platforms are per default 64-bit, so there's no /lib64
-    if test -d /lib64; then
+    if test -d /lib64 && ! test -L /lib64; then
       libsuff=64
     fi
   fi
diff -urN ../tmp-orig/kuake-0.3/aclocal.m4 ./aclocal.m4
--- ../tmp-orig/kuake-0.3/aclocal.m4    2003-01-18 01:14:10.000000000 +0100
+++ ./aclocal.m4        2005-03-20 14:33:27.049022902 +0100
@@ -2869,7 +2869,7 @@
             [/lib directory suffix (64,32,none)]),
             kdelibsuff=$enableval)
     if test "$kdelibsuff" = "none"; then
-        if test -d /lib64 ; then
+        if test -d /lib64 && ! test -L /lib64; then
             kdelibsuff=64
         else
             kdelibsuff=
@@ -6508,7 +6508,7 @@
   libsuff=
   if test "x$LINUX_64_MODE" = x64; then
     # Some platforms are per default 64-bit, so there's no /lib64
-    if test -d /lib64; then
+    if test -d /lib64 && ! test -L /lib64; then
       libsuff=64
     fi
   fi
diff -urN ../tmp-orig/kuake-0.3/admin/acinclude.m4.in ./admin/acinclude.m4.in
--- ../tmp-orig/kuake-0.3/admin/acinclude.m4.in 2002-11-03 00:10:09.000000000 
+0100
+++ ./admin/acinclude.m4.in     2005-03-20 14:33:44.974564695 +0100
@@ -2857,7 +2857,7 @@
             [/lib directory suffix (64,32,none)]),
             kdelibsuff=$enableval)
     if test "$kdelibsuff" = "none"; then
-        if test -d /lib64 ; then
+        if test -d /lib64 && ! test -L /lib64; then
             kdelibsuff=64
         else
             kdelibsuff=
diff -urN ../tmp-orig/kuake-0.3/admin/libtool.m4.in ./admin/libtool.m4.in
--- ../tmp-orig/kuake-0.3/admin/libtool.m4.in   2002-10-06 18:30:21.000000000 
+0200
+++ ./admin/libtool.m4.in       2005-03-20 14:33:58.011049673 +0100
@@ -1270,7 +1270,7 @@
   libsuff=
   if test "x$LINUX_64_MODE" = x64; then
     # Some platforms are per default 64-bit, so there's no /lib64
-    if test -d /lib64; then
+    if test -d /lib64 && ! test -L /lib64; then
       libsuff=64
     fi
   fi
diff -urN ../tmp-orig/kuake-0.3/configure ./configure
--- ../tmp-orig/kuake-0.3/configure     2003-01-20 01:18:43.000000000 +0100
+++ ./configure 2005-03-20 14:34:24.543930864 +0100
@@ -5640,7 +5640,7 @@
   kdelibsuff=$enableval
 fi;
     if test "$kdelibsuff" = "none"; then
-        if test -d /lib64 ; then
+        if test -d /lib64 && ! test -L /lib64; then
             kdelibsuff=64
         else
             kdelibsuff=
@@ -8930,7 +8930,7 @@
   libsuff=
   if test "x$LINUX_64_MODE" = x64; then
     # Some platforms are per default 64-bit, so there's no /lib64
-    if test -d /lib64; then
+    if test -d /lib64 && ! test -L /lib64; then
       libsuff=64
     fi
   fi
@@ -12141,7 +12141,7 @@
   libsuff=
   if test "x$LINUX_64_MODE" = x64; then
     # Some platforms are per default 64-bit, so there's no /lib64
-    if test -d /lib64; then
+    if test -d /lib64 && ! test -L /lib64; then
       libsuff=64
     fi
   fi
@@ -14873,7 +14873,7 @@
   libsuff=
   if test "x$LINUX_64_MODE" = x64; then
     # Some platforms are per default 64-bit, so there's no /lib64
-    if test -d /lib64; then
+    if test -d /lib64 && ! test -L /lib64; then
       libsuff=64
     fi
   fi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to