[Date Prev][Date Next] [Chronological] [Thread] [Top]

openldap 2.0-gamma installation



 
  i have downloaded and extracted the openldap 2.0 gamma distribution files, i am trying to install this with an the sql backend which is
  my reason for using the gamma version,

  i am installing it on solaris 5.6, and came across a problem on ./configure --enable-sql and got this error message

--------------------------------------------------------------------------------------------------------------------
  installation or configuration problem : C compiler cannot create executables
---------------------------------------------------------------------------------------------------------------------

  i solved this by env CC="gcc -ansi -pedantic" ./configure --enable-sql

  this allowed configure to complete
  i then ran make depend

  which completed but with this warning on entering each file in the back-sql:

-------------------------------------------------------------------------------------------------------------------------
  In file included from back-sql.h:15,
                   from init.c:17:
  sql-types.h:25: warning: file does not end in newline
  In file included from init.c:17:
  back-sql.h:41: warning: file does not end in newline
  In file included from init.c:18:
  sql-wrap.h:28: warning: file does not end in newline
  In file included from init.c:19:
  schema-map.h:50: warning: file does not end in newline
------------------------------------------------------------------------------------------------------------------------

  and when i try to run make i get the following error:

-------------------------------------------------------------------------------------------------------------------------
  make[1]: Entering directory `/users/jay/LDAP-sql-server/openldap-2.0-gamma/libraries'
  Making all in /users/jay/LDAP-sql-server/openldap-2.0-gamma/libraries
    Entering subdirectory liblutil
  make[2]: Entering directory `/users/jay/LDAP-sql-server/openldap-2.0-gamma/libraries/liblutil'
  gcc -ansi -pedantic -g -O2 -I../../include        -I../../include       -c debug.c -o debug.o
  gcc -ansi -pedantic -g -O2 -I../../include        -I../../include       -c signal.c -o signal.o
  signal.c: In function `lutil_sigaction':
  signal.c:17: storage size of `action' isn't known
  signal.c:17: storage size of `oaction' isn't known
  make[2]: *** [signal.o] Error 1
  make[2]: Leaving directory `/users/jay/LDAP-sql-server/openldap-2.0-gamma/libraries/liblutil'
  make[1]: *** [all-common] Error 1
  make[1]: Leaving directory `/users/jay/LDAP-sql-server/openldap-2.0-gamma/libraries'
  make: *** [all-common] Error 1
------------------------------------------------------------------------------------------------------------------------

  could you give some insight to why this is occuring, i installed iodbc and set those libaries in the PATH.

  thanks john