On Mar 7, 2010, at 11:13 AM, appzer0 wrote:
For a beginner, it's quite a piece of a script. Maybe you could add some checks about existing build dirs to `rm -rf` before building.
gmpv=gmp-4.3.2

I stuck to this GMP version too as PPL won't compile against gmp-5.x.x (ppl just doesn't find it, not big deal).

diff -Naur ppl-0.10.2.orig/configure ppl-0.10.2/configure
--- ppl-0.10.2.orig/configure   2009-04-18 05:03:50.000000000 +0000
+++ ppl-0.10.2/configure    2010-02-05 16:41:27.000000000 +0000
@@ -16473,7 +16473,7 @@
       || GMP_LIMB_BITS != mp_bits_per_limb) {
     std::cerr
<< "GMP header (gmp.h) and library (ligmp.*) bits-per-limb mismatch:\n"
-      << "header gives " << __GMP_BITS_PER_MP_LIMB << ";\n"
+      << "header gives " << GMP_LIMB_BITS << ";\n"
       << "library gives " << mp_bits_per_limb << ".\n"
       << "This probably means you are on a bi-arch system and\n"
       << "you are compiling with the wrong header or linking with\n"
diff -Naur ppl-0.10.2.orig/m4/ac_check_gmp.m4 ppl-0.10.2/m4/ ac_check_gmp.m4 --- ppl-0.10.2.orig/m4/ac_check_gmp.m4 2009-04-18 05:03:19.000000000 +0000
+++ ppl-0.10.2/m4/ac_check_gmp.m4   2010-02-05 16:42:08.000000000 +0000
@@ -84,7 +84,7 @@
       || GMP_LIMB_BITS != mp_bits_per_limb) {
     std::cerr
<< "GMP header (gmp.h) and library (ligmp.*) bits-per-limb mismatch:\n"
-      << "header gives " << __GMP_BITS_PER_MP_LIMB << ";\n"
+      << "header gives " << GMP_LIMB_BITS << ";\n"
       << "library gives " << mp_bits_per_limb << ".\n"
       << "This probably means you are on a bi-arch system and\n"
       << "you are compiling with the wrong header or linking with\n"

That'll get you to have ppl build with gmp5

Sincerely,

William Harrington
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org

Reply via email to