Charles Lepple wrote:
David Smiley wrote:

I'll have to assume by this point that I'm not going to reach Matt Stephenson.

Can someone please describe to me (and/or point me to documentation) so that I can tinker with the build process of openldap as provided with fink? I'd like to do things the fink-way and not go strictly off of OpenLDAP's website, so that's why I'm asking here.


For the simple purpose of just getting the package to compile with back_ldbm, it looks like you would just need to copy '/sw/fink/dists/unstable/crypto/finkinfo/openldap-ssl.info' to '/sw/fink/dists/local/main/finkinfo/' and add '--enable-ldbm' to the ConfigureParams line. Then, when you rebuild ('fink rebuild openldap-ssl'), Fink should pick up the version in your local directory instead of the distributed info file.

Please consider posting your changes to this list after testing.

For more information on the .info files and the overall build process, there is a tutorial here:

   http://fink.sourceforge.net/doc/quick-start-pkg/index.php

and the packaging reference manual here:

   http://fink.sourceforge.net/doc/packaging/index.php

Note that you don't have to use dpkg and apt-get directly.


Thanks for your help. I copied the .patch file too, by the way.
It appears that ldbm support is still unsuccessful for me. slapd didn't let me choose "ldbm" for my backend. I searched the voluminous output of fink's rebuild for "ldbm". I did see that it went to compile that module, however that piece terminated with the following warning:


ranlib: warning for library: libldbm.a the table of contents is empty (no object file members in the library define global symbols)

I also got other warnings later from "cc" like this:
ld: warning empty table of contents: ../../libraries/libldbm/libldbm.a (can't load from it)


I don't know if this is related or a problem but "cc" has also warned about not being able to prebind:
ld: warning prebinding not disabled because (__PAGEZERO segment (address = 0x0 size = 0x1000) of slapindex overlaps with __TEXT segment (address = 0x0 size = 0x31000) of /sw/lib/libssl.0.9.7.dylib


It's over my head to resolve these problems; I'm not a C programmer. Any ideas?

~ Dave



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to