Package: boson-data
Severity: normal
Tags: patch

When building 'boson-data' 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: *** [configure-stamp] Error 1

Later during the build, there is also a message complaining about a
missing 'aclocal-1.6'.

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/boson-data-0.9.1/acinclude.m4 ./acinclude.m4
--- ../tmp-orig/boson-data-0.9.1/acinclude.m4   2003-11-16 16:07:31.000000000 
+0100
+++ ./acinclude.m4      2005-03-15 19:51:59.000000000 +0100
@@ -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-data-0.9.1/aclocal.m4 ./aclocal.m4
--- ../tmp-orig/boson-data-0.9.1/aclocal.m4     2003-11-16 16:07:31.000000000 
+0100
+++ ./aclocal.m4        2005-03-15 19:50:21.000000000 +0100
@@ -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=
diff -urN ../tmp-orig/boson-data-0.9.1/admin/acinclude.m4.in 
./admin/acinclude.m4.in
--- ../tmp-orig/boson-data-0.9.1/admin/acinclude.m4.in  2003-11-16 
16:07:31.000000000 +0100
+++ ./admin/acinclude.m4.in     2005-03-15 19:51:16.000000000 +0100
@@ -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=
diff -urN ../tmp-orig/boson-data-0.9.1/admin/libtool.m4.in ./admin/libtool.m4.in
--- ../tmp-orig/boson-data-0.9.1/admin/libtool.m4.in    2003-11-16 
16:07:31.000000000 +0100
+++ ./admin/libtool.m4.in       2005-03-15 19:51:32.000000000 +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/boson-data-0.9.1/configure ./configure
--- ../tmp-orig/boson-data-0.9.1/configure      2003-11-16 16:07:31.000000000 
+0100
+++ ./configure 2005-03-15 19:51:00.000000000 +0100
@@ -5912,7 +5912,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=
@@ -9255,7 +9255,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
@@ -12562,7 +12562,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
@@ -15390,7 +15390,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-data-0.9.1/debian/control ./debian/control
--- ../tmp-orig/boson-data-0.9.1/debian/control 2005-03-15 20:02:33.850738928 
+0100
+++ ./debian/control    2005-03-15 19:58:43.877362676 +0100
@@ -2,7 +2,7 @@
 Section: games
 Priority: optional
 Maintainer: Mickael Marchand <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>> 4.0.0), wml, kdelibs4-dev, libqt3-mt-dev
+Build-Depends: debhelper (>> 4.0.0), wml, kdelibs4-dev, libqt3-mt-dev, 
automake1.6
 Standards-Version: 3.6.1
 
 Package: boson-data


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

Reply via email to