Bug #15207 Updated: Failure to compile with LDAP support
| From: | derick@php.net | Date: | Fri, 26 Jul 2002 15:15:51 +0000 |
| Subject: | Bug #15207 Updated: Failure to compile with LDAP support | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-15348@lists.php.net to get a copy of this message | ||
ID: 15207
Updated by: derick@php.net
Reported By: lhecking@nmrc.ie
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: Solaris 7
PHP Version: 4.1.1
Previous Comments:
------------------------------------------------------------------------
[2002-07-26 11:13:27] lhecking@nmrc.ie
It seems that the problem is gone with php 4.2.2.
------------------------------------------------------------------------
[2002-07-17 01:00:06] php-bugs@lists.php.net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2002-06-15 20:15:13] sniper@php.net
This configure fails since it doesn't add -lnsl (libnsl) for
some reason in the configure line.
Can you check the config log for the test of 'gethostname' ?
(if it succeeds, the libnsl will not be included)
------------------------------------------------------------------------
[2002-06-14 07:31:47] lhecking@nmrc.ie
Doesn't even configure. With the same options, I get
...
checking for GNU gettext support... yes
checking for bindtextdomain in -lintl... yes
checking for ngettext in -lintl... yes
checking for dngettext in -lintl... yes
checking for dcngettext in -lintl... yes
checking for bind_textdomain_codeset in -lintl... yes
checking for GNU MP support... no
checking for hwapi support... no
checking for Hyperwave support... no
checking for ICAP support... no
checking for iconv support... no
checking for IMAP support... yes
checking for pam_start in -lpam... yes
checking for crypt in -lcrypt... (cached) yes
configure: error: This c-client library is build with SSL support.
Add --with-imap-ssl<=DIR> to your configure line. Check
config.log for details.
$
but I'm almost certain that imap (uw-imap 2000c) is built
without SSL support:
$ make -n gso
make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox'
EXTRAAUTHENTICATORS='' SPECIALAUTHENTICATORS='' PASSWDTYPE=std
EXTRASPECIALS='' OS=gso
$
i.e. SPECIALAUTHENTICATORS is not set to ssl.
The last entry in config.log is:
configure:33376: gcc -o conftest -g -O2 -I/usr/local/include
-D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=270 -DMOD_SSL=208108 -DEAPI
-DEAPI_MM -DUSE_EXPAT -L/usr/local/lib -R/usr/local/lib -R/usr/ucblib
-L/usr/ucblib -R/usr/local/lib -L/usr/local/lib
-R/usr/local/src/gd-1.8.4/ -L/usr/local/src/gd-1.8.4/
-R/usr/local/gnu/lib
-L/usr/local/gnu/lib -R/usr/local/src/imap-2000c/c-client
-L/usr/local/src/imap-2000c/c-client conftest.c -lcrypt -lpam -lintl
-lgd -lfreetype -lX11 -lXpm -lpng
-lz -ljpeg -lz -lcrypt -lssl -lcrypto -lresolv -lresolv -lm -ldl
-lsocket -lsocket -lcrypt -L/usr/local/src/imap-2000c/c-client
-lc-client 1>&5
Undefined first referenced
symbol in file
gethostbyname
/usr/local/src/imap-2000c/c-client/libc-client.a(osdep.o) (symbol
belongs to implicit dependency usr/lib/libnsl.so.1)
gethostbyaddr
/usr/local/src/imap-2000c/c-client/libc-client.a(osdep.o) (symbol
belongs to implicit dependency usr/lib/libnsl.so.1)
inet_addr
/usr/local/src/imap-2000c/c-client/libc-client.a(osdep.o) (symbol
belongs to implicit dependency usr/lib/libnsl.so.1)
inet_ntoa
/usr/local/src/imap-2000c/c-client/libc-client.a(osdep.o) (symbol
belongs to implicit dependency usr/lib/libnsl.so.1)
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 33351 "configure"
#include "confdefs.h"
void mm_log(void){}
void mm_dlog(void){}
void mm_flags(void){}
void mm_fatal(void){}
void mm_critical(void){}
void mm_nocritical(void){}
void mm_notify(void){}
void mm_login(void){}
void mm_diskerror(void){}
void mm_status(void){}
void mm_lsub(void){}
void mm_list(void){}
void mm_exists(void){}
void mm_searched(void){}
void mm_expunged(void){}
char mail_open();
int main() {
mail_open(0,"",0);
return 0;
}
------------------------------------------------------------------------
[2002-06-13 16:30:00] sniper@php.net
Please try this snapshot:
http://snaps.php.net/php4-latest.tar.gz
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/15207
--
Edit this bug report at http://bugs.php.net/?id=15207&edit=1