ID: 21286 Comment by: support at atlex dot ru Reported By: idban at avidaim dot com Status: Closed Bug Type: IMAP related Operating System: rh 7.3 PHP Version: 4.3.0 New Comment:
php-4.2.3 and php4-STABLE-200307150330 Also while compiling PHP with IMAP support, with an option - with-openssl, I receive the error: checking whether IMAP works... no configure: error: build test failed. Please check the config.log for details. make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target `install'. Stop. config.log configure:35376: checking for IMAP support configure:35734: checking for pam_start in -lpam configure:35753: gcc -o conftest -g -O2 &nbs p; -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib conftest.c -lpam -lX11 -lXpm -lpng -lz -ljpeg -lexslt -lxsltb reakpoint -lxml2 -lxslt -lz -lcurl -lz -lresolv -lm -ldl -lnsl -lcurl -lz -lssl -lcryp to -ldl -lz -lxml2 -lz -liconv -lm 1>&5 configure:35781: checking for crypt in -lcrypt configure:35800: gcc -o conftest -g -O2 &nbs p; -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib conftest.c -lcry pt -lpam -lX11 -lXpm -lpng -lz -ljpeg -lexslt&n bsp;-lxsltbreakpoint -lxml2 -lxslt -lz -lcurl -lz -lresolv -lm -ldl -lnsl -lcurl -lz -ls sl -lcrypto -ldl -lz -lxml2 -lz -liconv -lm 1>&5 configure:36206: checking whether SSL libraries a re needed for c-client configure:36336: gcc -o conftest -g -O2 &nbs p; -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-rpath,/usr/kerberos/lib -L/usr/kerberos/lib conftest.c -lc-client -lssl -lcrypto -lcrypt -lpam&nb sp;-lX11 -lXpm -lpng -lz -ljpeg -lexslt -lxsltbreakpoint&n bsp;-lxml2 -lxslt -lz -lcurl -lz -lresolv -lm -ldl ;-lnsl -lcurl -lz -lssl -lcrypto -ldl -lz -lxml2 -lz -liconv -lm&nbs p;-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err 1>&5 /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In function `ssl_onceonlyinit': /usr/src/build/90147-i386/BUILD/imap-2001a/c-client/osdep.c:286: the use of `tmpnam' is dangerous, better&nbs p;use `mkstemp' configure: failed program was: #line 36311 "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 auth_gssapi_valid(); int main() { auth_gssapi_valid(); return 0; } configure:36362: checking whether IMAP works configure:36395: gcc -o conftest -g -O2 &nbs p; -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-rpath,/usr/kerberos/lib -L/usr/kerberos/lib conftest.c -lc-client -lssl -lcrypto -lcrypt -lpam&nb sp;-lX11 -lXpm -lpng -lz -ljpeg -lexslt -lxsltbreakpoint&n bsp;-lxml2 -lxslt -lz -lcurl -lz -lresolv -lm -ldl ;-lnsl -lcurl -lz -lssl -lcrypto -ldl -lz -lxml2 -lz -liconv -lm&nbs p;-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err 1>&5 /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In function `ssl_onceonlyinit': /usr/src/build/90147-i386/BUILD/imap-2001a/c-client/osdep.c:286: the use of `tmpnam' is dangerous, better&nbs p;use `mkstemp' configure: failed program was: #line 36370 "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_newbody(); int main() { mail_newbody(); return 0; } Why and what should I do to resolve the problem? I do need php with imap support. Previous Comments: ------------------------------------------------------------------------ [2003-01-03 07:24:53] idban at avidaim dot com i try install with apache2, GOD!! they working. thanks for all help, perhaps i decide to use apache2 ------------------------------------------------------------------------ [2002-12-30 09:36:15] idban at avidaim dot com ok, installation done, but now apache produce segfault, this is not happen on 4.2.3, i downgrade again to 4.2.3 :( [Mon Dec 30 16:22:43 2002] [notice] Apache/1.3.27 (Unix) AuthMySQL/2.20 mod_perl/1.27 DAV/1.0.3 PHP/4.3.0 mod_ssl/2.8.11 OpenSSL/0.9.6h configured -- resuming normal operations [Mon Dec 30 16:22:43 2002] [notice] Accept mutex: sysvsem (Default: sysvsem) [Mon Dec 30 16:23:15 2002] [notice] child pid 12517 exit signal Segmentation fault (11) [Mon Dec 30 16:23:15 2002] [notice] child pid 12516 exit signal Segmentation fault (11) ------------------------------------------------------------------------ [2002-12-30 08:56:58] [EMAIL PROTECTED] That's not an error but a warning, ignore it. ------------------------------------------------------------------------ [2002-12-30 08:55:56] idban at avidaim dot com i follow your instruction with --with-openssl, configuring now no error, but... i got an error while compile ( make ) it :( i try using from http://snaps.php.net/php4-latest.tar.gz ( php4-200212301430 )they procude same error error given on 4.3.0 and php4-200212301430 : /usr/local/src/imap-2002.RC7/c-client/osdep.c:287: the use of `tmpnam' is dangerous, better use `mkstemp' then prompt to shell config.log from php-4.3.0: .... configure:35413: checking whether IMAP works configure:35446: gcc -o conftest -g -O2 -Wl,-rpath,/usr/local/lib -L/usr/local/lib conftest.c -lcrypto -lssl -lc-client -l crypt -lpam -liconv -lt1 -lttf -lpng -lz -ljpeg -lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lcrypt 1>&5 /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In function `ssl_onceonlyinit': /usr/local/src/imap-2002.RC7/c-client/osdep.c:287: the use of `tmpnam' is dangerous, better use `mkstemp' configure:35476: checking for Informix support .... config.log from php4-200212301430: .... configure:37927: checking whether IMAP works configure:37960: gcc -o conftest -g -O2 -Wl,-rpath,/usr/local/lib -L/usr/local/lib conftest.c -lc-client -lssl -lcrypto -l crypt -lpam -liconv -lt1 -lttf -lpng -lz -ljpeg -lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lcrypt 1>&5 /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In function `ssl_onceonlyinit': /usr/local/src/imap-2002.RC7/c-client/osdep.c:287: the use of `tmpnam' is dangerous, better use `mkstemp' configure:37990: checking for Informix support configure:38577: checking for Ingres II support .... ------------------------------------------------------------------------ [2002-12-30 05:49:07] idban at avidaim dot com yeah! work, thanks for your help Derick. i love this answered fast as hell :) ------------------------------------------------------------------------ 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/21286 -- Edit this bug report at http://bugs.php.net/?id=21286&edit=1