https://bugzilla.novell.com/show_bug.cgi?id=732929 https://bugzilla.novell.com/show_bug.cgi?id=732929#c0 Summary: NDBM_File not built with perl Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@suse.com ReportedBy: richard@gohome.net QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2 I use NDBM_File in perl. I have a few 11.1 & 11.2 boxes I would like to upgrade. NDBM_File is not being built with perl starting in 11.3 and forward. I was able to trace it down to changes in the patch file perl-5.12.1.dif: Basically -lndbm is being removed from the list of libraries when the Configure script runs, causing the dbm_open() check to fail. Adding "-Dd_dbm_open" to the options in the perl.spec file overrides the failure allowing it to be built. Adding back -lndbm to the list of libs also allows it to be built. Possible fixes: 1. Change perl.spec to add "-Dd_dbm_open" or 2. Change perl-5.12.1.diff so that libs='-lm -ldl -lcrypt' in 2 different places is set more like libs='-lm -ldl -lcrypt -lndbm -ldb -lgdbm' and remove the sed patch lines that remove -lndbm -ldb and -lgdbm from the libswanted (not sure that one is necessary, not why they are removed) or 3. Undo the change that resulted in the libs='-lm -ldl -lcrypt' which removes those libraries and the changes to libswanted. I do not know why those were changed so maybe they are needed, but if its not needed, removing it will 'unbreak' it. (-ldb and -lgdbm aren't needed for ndbm, but other people may appreciate them being there) Reproducible: Always Steps to Reproduce: 1. Build the package 2. Look for NDBM_File.pm to see it is missing This is distinct from Memoize::NDBM_File. They are not related. I want to be clear it worked up until 11.3. perl changed from 5.10 to 5.12 but I found compiling those from source did produce NDBM_File.pm and that the problem was with the openSUSE patches that essentially disabled those perl modules. The modules are not available through CPAN and must be compiled as part of the perl source. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.