diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2010-03-24 08:58:29 +0100 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2010-05-05 19:11:52 -0500 |
commit | 6fbc733e5080226c6a4e2ea141194f2255d4f812 (patch) | |
tree | e3a0c1faf27f5599c113ae4e069a43a365b088de | |
parent | d2555fc7892c5a4b5d354b406bc582b877fdcb92 (diff) | |
download | perl-6fbc733e5080226c6a4e2ea141194f2255d4f812.tar.gz |
Note how to deal with broken dbm.h on OpenSUSE
(cherry picked from commit 1bb125e2afe6197deaf55852a3f8a9c52736bfdc)
-rw-r--r-- | INSTALL | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -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 |