summaryrefslogtreecommitdiff
path: root/hints/aix.sh
diff options
context:
space:
mode:
authorRainer Tammer <tammer@tammer.net>2010-01-18 11:43:07 +0100
committerH.Merijn Brand <h.m.brand@xs4all.nl>2010-01-18 13:15:32 +0100
commitd549c43ddc6788144c1eedc371d7d732384a03db (patch)
treefd10600a6e9975a64b44c2aa3d2c38fb31c0f541 /hints/aix.sh
parentb2756f47a8c1739a3dd18f7d941a489e6957a288 (diff)
downloadperl-d549c43ddc6788144c1eedc371d7d732384a03db.tar.gz
Perl blead on AIX - fail: t/porting/test_bootstrap
Hello, Nicholas Clark wrote: > On Mon, Jan 18, 2010 at 11:33:07AM +0100, Rainer Tammer wrote: > >> Hello, >> the 32 bit blead build looks quite good on AIX: >> >> A threaded, shared 32 bit build only produced one error: >> > Thanks for continuing to look out for AIX. > > No problem ... >> Is this a know error ?? >> > Yes, but I believe that I committed a change to fix it about 30 minutes ago. > > OK, I try this fix. I have also a fix for the GDBM problem. Now GDBM is only disabled if the "problem" headers are installed, e.g. if the gdbm rpm < 1.8.3-5 is installed. I have attached the patch for this. > Nicholas Clark > > > Bye Rainer From 4755db7f86c38d3c2b69c668c5747368e98c3eae Mon Sep 17 00:00:00 2001 From: Rainer Tammer <tammer@tammer.net> Date: Mon, 18 Jan 2010 11:40:27 +0100 Subject: [PATCH] Enabld GDBM on AIX if possible Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
Diffstat (limited to 'hints/aix.sh')
-rw-r--r--hints/aix.sh15
1 files changed, 9 insertions, 6 deletions
diff --git a/hints/aix.sh b/hints/aix.sh
index a7c8df2b64..8d06c9fc72 100644
--- a/hints/aix.sh
+++ b/hints/aix.sh
@@ -539,10 +539,13 @@ libswanted=`echo " $libswanted " | sed -e 's/ BSD / /'`
d_flock='undef'
# remove libgdbm from wanted libraries
-# The libgdbm 1.8.3 from the AIX Toolbox is not working
-# (the dbm_store() function is defective)
-libswanted=`echo " $libswanted " | sed -e 's/ gdbm / /'`
-i_gdbm='undef'
-i_gdbmndbm='undef'
-
+# The libgdbm < 1.8.3-5 from the AIX Toolbox is not working
+# because two wrong .h are present
+if [ -f "/opt/freeware/include/gdbm/dbm.h" ] ||
+ [ -f "/opt/freeware/include/gdbm/ndbm.h" ]; then
+ echo "GDBM support disabled because your GDBM package contains extraneous headers - see README.aix."
+ libswanted=`echo " $libswanted " | sed -e 's/ gdbm / /'`
+ i_gdbm='undef'
+ i_gdbmndbm='undef'
+fi
# EOF