If your C development experience is limited or nonexistent, then you'll likely have trouble interpreting any build errors.
Most distributions package OpenLDAP as a set of binaries with a preset configuration.