#21286 [Com]: error while compile with IMAP
| From: | idban at avidaim dot com | Date: | Fri, 03 Jan 2003 13:24:53 +0000 |
| Subject: | #21286 [Com]: error while compile with IMAP | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-28974@lists.php.net to get a copy of this message | ||
ID: 21286
Comment by: idban@avidaim.com
Reported By: idban@avidaim.com
Status: Closed
Bug Type: IMAP related
Operating System: rh 7.3
PHP Version: 4.3.0
New Comment:
i try install with apache2, GOD!! they working.
thanks for all help, perhaps i decide to use apache2
Previous Comments:
------------------------------------------------------------------------
[2002-12-30 09:36:15] idban@avidaim.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] derick@php.net
That's not an error but a warning, ignore it.
------------------------------------------------------------------------
[2002-12-30 08:55:56] idban@avidaim.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@avidaim.com
yeah! work, thanks for your help Derick.
i love this answered fast as hell :)
------------------------------------------------------------------------
[2002-12-30 05:44:53] derick@php.net
It's actually a RedHat problem, add --with-openssl to your configure
line and it should work fine.
Derick
------------------------------------------------------------------------
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