Package: boson-music
Severity: normal
Tags: patch

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

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

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/boson-music-0.9/acinclude.m4 ./acinclude.m4
--- ../tmp-orig/boson-music-0.9/acinclude.m4    2003-11-05 21:31:58.000000000 
+0000
+++ ./acinclude.m4      2005-02-28 10:44:46.794236217 +0000
@@ -2846,7 +2846,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=
@@ -6321,7 +6321,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/boson-music-0.9/aclocal.m4 ./aclocal.m4
--- ../tmp-orig/boson-music-0.9/aclocal.m4      2003-11-05 21:31:58.000000000 
+0000
+++ ./aclocal.m4        2005-02-28 10:45:13.330114303 +0000
@@ -2858,7 +2858,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=
@@ -6311,7 +6311,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/boson-music-0.9/configure ./configure
--- ../tmp-orig/boson-music-0.9/configure       2003-11-05 21:31:58.000000000 
+0000
+++ ./configure 2005-02-28 10:45:57.775535517 +0000
@@ -5532,7 +5532,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=
@@ -8822,7 +8822,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
@@ -12033,7 +12033,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
@@ -14765,7 +14765,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