Package: php4
Version: 4:4.3.10-15
Severity: serious
Tags: patch

When building 'php4' on ppc64/unstable,
I get the following error:

checking for long... yes
checking size of long... configure: error: cannot compute sizeof (long), 77
See `config.log' for more details.
make: *** [configure-apache-stamp] Error 1

This is caused by a change in dpkg: DEB_HOST_GNU_TYPE is set to
'ppc64-linux-gnu' instead of 'ppc64-linux' now).

With the attached patch 'php4' can be compiled on ppc64.

Regards
Andreas Jochens

diff -urN ../tmp-orig/php4-4.3.10/debian/rules ./debian/rules
--- ../tmp-orig/php4-4.3.10/debian/rules        2005-07-22 14:08:42.000000000 
+0000
+++ ./debian/rules      2005-07-22 14:08:34.000000000 +0000
@@ -31,7 +31,7 @@
   CFLAGS += -mieee
 endif
 
-ifeq ($(DEB_HOST_GNU_TYPE), $(findstring $(DEB_HOST_GNU_TYPE), ia64-linux 
powerpc64-linux))
+ifeq ($(DEB_HOST_GNU_TYPE), $(findstring $(DEB_HOST_GNU_TYPE), ia64-linux-gnu 
powerpc64-linux-gnu))
   CFLAGS += -g
 else
   CFLAGS += -gstabs


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

Reply via email to