Courier software configure problem in Solaris 9 box

From: Garcia Navarrete, Jordi (jordi.garcia@t-systems.es)
Date: Tue Jan 13 2004 - 10:04:31 EST


   I'm trying to configure Courier 0.44.2 version in a solaris 9 box with
   openssl 0.9.7c, openldap 2.1.25 and BerkeleyDB 4.2. I use gcc 3.3.2 and
   gmake 2.80

   When the configure process arrive to webmail check, the process
   stop it.

   This is part of webmail/config.log ->

  [...]
  configure:5862: $? = 0
  configure:5865: test -s conftest
  configure:5868: $? = 0
  configure:5879: result: yes
  configure:5809: checking for strncasecmp
  configure:5859: gcc -o conftest -g -O2 -Wall -I/server/openldap/include
  -I/usr/local/ssl/include -I/usr/local/BerkeleyDB.4.2/include
  -L/server/openldap/lib -L/usr/local/ssl/lib
  -L/usr/local/BerkeleyDB.4.2/lib -R/server/openldap/lib
  -R/usr/local/ssl/lib -R/usr/local/BerkeleyDB.4.2/lib conftest.c -lcrypt
>&5
  configure:5862: $? = 0
  configure:5865: test -s conftest
  configure:5868: $? = 0
  configure:5879: result: yes
  configure:5893: checking for crypt() prototype
  configure:5924: gcc -c -g -O2 -Wall -I/server/openldap/include
  -I/usr/local/ssl/include -I/usr/local/BerkeleyDB.4.2/include conftest.c
>&5
  configure:5953: error: conflicting types for `crypt'
  /usr/include/crypt.h:20: error: previous declaration of `crypt'
  configure:5927: $? = 1
  configure: failed program was:
  | #line 5898 "configure"
  | /* confdefs.h. */
  |
  | #define PACKAGE_NAME ""
  | #define PACKAGE_TARNAME ""
  | #define PACKAGE_VERSION ""
  | #define PACKAGE_STRING ""
  | #define PACKAGE_BUGREPORT ""
  | #define _GNU_SOURCE 1
  | #define STDC_HEADERS 1
  | #define HAVE_SYS_TYPES_H 1
  | #define HAVE_SYS_STAT_H 1
  | #define HAVE_STDLIB_H 1
  | #define HAVE_STRING_H 1
  | #define HAVE_MEMORY_H 1
  | #define HAVE_STRINGS_H 1
  | #define HAVE_INTTYPES_H 1
  | #define HAVE_UNISTD_H 1
  | #define AUTORENAMESENT "yes"
  | #define HAVE_LIBCRYPT 1
  | #define HAVE_DIRENT_H 1
  | #define STDC_HEADERS 1
  | #define HAVE_SYSLOG_H 1
  | #define HAVE_FCNTL_H 1
  | #define HAVE_SYS_WAIT_H 1
  | #define HAVE_SYS_SELECT_H 1
  | #define HAVE_SYS_UIO_H 1
  | #define HAVE_SYS_STAT_H 1
  | #define HAVE_SYS_TIME_H 1
  | #define HAVE_UTIME_H 1
  | #define HAVE_UNISTD_H 1
  | #define HAVE_LOCALE_H 1
  | #define HAVE_CRYPT_H 1
  | #define HAVE_WCHAR_H 1
  | #define PASSFD_MSGACCRIGHTS 1
  | #define HAVE_SYS_WAIT_H 1
  | #define TIME_WITH_SYS_TIME 1
  | #define RETSIGTYPE void
  | #define HAVE_STRFTIME 1
  | #define HAVE_CRYPT 1
  | #define HAVE_UTIME 1
  | #define HAVE_UTIMES 1
  | #define HAVE_SETREUID 1
  | #define HAVE_SETLOCALE 1
  | #define HAVE_WCWIDTH 1
  | #define HAVE_STRDUP 1
  | #define HAVE_STRCASECMP 1
  | #define HAVE_STRNCASECMP 1
  | /* end confdefs.h. */
  |
  | #if HAVE_CRYPT_H
  | #include <crypt.h>
  | #endif
  | #if HAVE_UNISTD_H
  | #include <unistd.h>
  | #endif
  | int crypt(int, int);
  |
  |
  | int
  | main ()
  | {
  |
  | ;
  | return 0;
  | }
  configure:5946: result: 0

   Any ideas?

   Thanks in advance.

   Jordi

Jordi Garcia Navarrete

T-Systems ITC Services Espaqa, S.A.
Admin. Sistemes Area Hosting/Internet-Computing Services
Ctra. de l'Hospitalet, 147-149
Edifici Lisboa - CityParc
08940 Cornell` de Llobregat (BCN)
Phone: 932 535 100
Fax : 932 535 274
E-mail: jordi.garcia@t-systems.es
Internet: http://www.t-systems.es

-----------------------------------------------------------------------------

---
Aquest missatge electrrnic pot  contenir informacis confidencial o
privilegiada.
Si vosth no is el destinatari del  missatge, o l'ha rebut per error, si us
plau
notifiqui-ho al remitent i destrueixi el missatge amb tot el seu contingut.
Est` completament  prohibida  qualsevol  crpia, zs o distribucis no
autoritzada
del contingut d'aquest missatge electrrnic.
-----------------------------------------------------------------------------
---
Este mensaje electrsnico puede contener informacisn confidencial o
privilegiada.
Si usted  no es  el destinatario de este mensaje o lo ha recibido por error,
por
favor notifmquelo al remitente y destruya el mensaje con todo su contenido.
Queda  expresamente  prohibida  cualquier  copia, utilizacisn o  distribucisn
no
autorizada del contenido de este mensaje electrsnico.
-----------------------------------------------------------------------------
---
This e-mail may contain confidential and/or privileged information.
If you  are  not the  intended recipient (or have received this e-mail in
error)
please notify the sender immediately and destroy this e-mail.
Any  unauthorized  copying,  disclosure  or distribution of the material in
this
e-mail is strictly forbidden.
-----------------------------------------------------------------------------
---
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:49 EDT