Anders Johansson wrote:
The gdbm-devel package has the dbm_open call.
That are only included if you have ndbm installed, which openSUSE does not: Oh? Not according to a grep of it's contents:
rpm -ql gdbm-devel|xargs grep dbm_open /usr/include/gdbm.h:/* Parameters to gdbm_open for READERS, WRITERS, and WRITERS who /usr/include/gdbm.h:extern GDBM_FILE gdbm_open __P((char *, int, int, int, void (*)())); /usr/include/ndbm.h:extern DBM *dbm_open __P((char *file, int flags, int mode));
---
OpenSuSE only has gdbm -- so only gdbm, but no compat layer for ndbm->gdbm is found:
config section says:
If you install the source RPM with "zypper si samba" you get all the required packages needed for build.
I did: # zypper si samba Reading installed packages... Loading repository data... Resolving package dependencies... The following source package is going to be installed: samba 1 source package to install. Overall download size: 23.5 MiB. After the operation, additional 23.8 MiB will be used. Continue? [y/n/?] (y): y -----------(was already in local cache) Did the same with perl.
. You then do "rpmbuild -bb /usr/src/packages/SPECS/samba.spec" and it builds to completion. I just did it - it works
I've been using rpmbuild -bb. Could you send me your build log so I can look for clues as to why yours would work -- in particular I'm interested in sections like the above. I have other errors after that, but they could all be caused by bugs due to dbm_open not working... You can send it to me or to the list... -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org