Changes between Version 4 and Version 5 of Projects/OpenLDAP


Ignore:
Timestamp:
06/19/12 21:11:49 (12 years ago)
Author:
C Rempel
Comment:

/* A first stab at building Open LDAP */

Legend:

Unmodified
Added
Removed
Modified
  • Projects/OpenLDAP

    v4 v5  
    3535As the project progresses, you will need to add build instructions, etc and this page will evolve from a project description into a HOWTO.
    3636
    37 I 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.
     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. How to use the RTEMS Addon Packages is outlined [http://www.rtems.com/wiki/index.php/RTEMS_Add-On_Packages]. 
    3838
    3939I put the following in rtems-addon-packages/Makefile.openldap
    4040
    41 Get the RTEMS Addon Packages
    42 #
    43 # Declare supported terminal types.
    44 # This value can be augmented/overridden by the site-configuration file
    45 #
    46 
    47 include ../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 #
    55 all:
    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 
     41 #
     42 # Declare supported terminal types.
     43 # This value can be augmented/overridden by the site-configuration file
     44 #
     45 
     46 include ../RTEMS_Makefiles/Makefile.common
     47 
     48 #
     49 # The following will work only if you have the latest ncurses version
     50 # of infocmp installed before trying to build for an RTEMS target.
     51 # The cf_cv_type_of_bool hack works around a bug when configuring
     52 # for a cross-target.
     53 #
     54 all:
     55        ac_cv_member_struct_msghdr_msg_control=no \
     56        ac_cv_func_memcmp_working=yes \
     57        ac_cv_func_initgroups=yes \
     58        ac_cv_func_setuid=no \
     59        ./configure \
     60                --host=$(RTEMS_CPU)-rtems4.11 \
     61                --prefix=$(exec_prefix) \
     62                --libdir=$(exec_prefix)/$(RTEMS_BSP)/lib \
     63                --includedir=$(exec_prefix)/$(RTEMS_BSP)/lib/include \
     64                --without-tls \
     65                --with-yielding_select=yes \
     66                --disable-mdb \
     67                --disable-hdb \
     68                --disable-cleartext \
     69                --disable-overlays \
     70                --enable-proctitle \
     71                --enable-debug \
     72                --disable-shared
     73        make
     74        make install
     75 
    7776Next:
    7877   $ cd ~/rtems-addon-packages