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

Build problem on Solaris 7 (ITS#1139)

Full_Name: Jin Zhou
Version: 1.2
OS: Solaris 7
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (


  I'm trying to build OpenLDAP 1.2 on Solaris7 (with Berkeley DB2) in two
different ways and both of them have similar problem.

  1)env CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" ./configure
  2)env CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" ./configure

  The ./configure finished with no error or warning, but it failed to detect the
size of "short", "int", and "long" data type. the messages on screen are as
  checking size of short... 0
  checking size of int... 0
  checking size of long... 0

  And I believe this failure in detecting size of different data type further
cause errors during "make depend" with error message (#error: "No 4 byte integer

  Looks like the ./configure has a bug, anybody know any solution to this