summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2010-03-24 08:58:29 +0100
committerRafael Garcia-Suarez <rgs@consttype.org>2010-04-13 12:41:08 +0200
commit1bb125e2afe6197deaf55852a3f8a9c52736bfdc (patch)
tree9d77e1af5e7937d6807cc9bc28a0eb8cfd93a2ff /INSTALL
parent064b70ffe2beced36b4693cdd2a8e2cbd2139b47 (diff)
downloadperl-1bb125e2afe6197deaf55852a3f8a9c52736bfdc.tar.gz
Note how to deal with broken dbm.h on OpenSUSE
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL20
1 files changed, 20 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 4a0e567d5e..eb7cc07e47 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1561,6 +1561,26 @@ specific rule.
SCO prior to 3.2.4 may be missing dbmclose(). An upgrade to 3.2.4
that includes libdbm.nfs (which includes dbmclose()) may be available.
+=item error: too few arguments to function 'dbmclose'
+
+Building ODBM_File on some (Open)SUSE distributions might run into this
+error, as the header file is broken. There are two ways to deal with this
+
+ 1. Disable the use of ODBM_FILE
+
+ Configure ... -Dnoextensions=ODBM_File
+
+ 2. Fix the header file, somewhat like this:
+
+ --- a/usr/include/dbm.h 2010-03-24 08:54:59.000000000 +0100
+ +++ b/usr/include/dbm.h 2010-03-24 08:55:15.000000000 +0100
+ @@ -59,4 +59,4 @@ extern datum firstkey __P((void));
+
+ extern datum nextkey __P((datum key));
+
+ -extern int dbmclose __P((DBM *));
+ +extern int dbmclose __P((void));
+
=item Note (probably harmless): No library found for -lsomething
If you see such a message during the building of an extension, but