Changes between Version 3 and Version 4 of Projects/OpenLDAP


Ignore:
Timestamp:
Jun 19, 2012, 9:09:48 PM (7 years ago)
Author:
C Rempel
Comment:

/* Miscellaneous Sections */

Legend:

Unmodified
Added
Removed
Modified
  • Projects/OpenLDAP

    v3 v4  
    3030= Miscellaneous Sections =
    3131
     32=  A first stab at building Open LDAP  =
     33
     34
    3235As the project progresses, you will need to add build instructions, etc and this page will evolve from a project description into a HOWTO.
     36
     37I am building this package because it is simpler than the Apache Runtime, and so is a good way to gain needed experience.  I started with using the RTEMS Addon Packages. http://www.rtems.com/wiki/index.php/RTEMS_Add-On_Packages.
     38
     39I put the following in rtems-addon-packages/Makefile.openldap
     40
     41Get the RTEMS Addon Packages
     42#
     43# Declare supported terminal types.
     44# This value can be augmented/overridden by the site-configuration file
     45#
     46
     47include ../RTEMS_Makefiles/Makefile.common
     48
     49#
     50# The following will work only if you have the latest ncurses version
     51# of infocmp installed before trying to build for an RTEMS target.
     52# The cf_cv_type_of_bool hack works around a bug when configuring
     53# for a cross-target.
     54#
     55all:
     56        ac_cv_member_struct_msghdr_msg_control=no \
     57        ac_cv_func_memcmp_working=yes \
     58        ac_cv_func_initgroups=yes \
     59        ac_cv_func_setuid=no \
     60        ./configure \
     61                --host=$(RTEMS_CPU)-rtems4.11 \
     62                --prefix=$(exec_prefix) \
     63                --libdir=$(exec_prefix)/$(RTEMS_BSP)/lib \
     64                --includedir=$(exec_prefix)/$(RTEMS_BSP)/lib/include \
     65                --without-tls \
     66                --with-yielding_select=yes \
     67                --disable-mdb \
     68                --disable-hdb \
     69                --disable-cleartext \
     70                --disable-overlays \
     71                --enable-proctitle \
     72                --enable-debug \
     73                --disable-shared
     74        make
     75        make install
     76
     77Next:
     78   $ cd ~/rtems-addon-packages
     79   $ git clone git://git.openldap.org/openldap.git openldap
     80   $ cd openldap
     81   $ make -f RTEMS_Makefiles/Makefile.openldap
     82
     83Note: Very insecure!  But builds OK.
     84
     85Currently looking at how to build the tests -- they're in shell script :)...
     86Hope this helps!
    3387= References =
    3488