From:             [EMAIL PROTECTED]
Operating system: RedHat 7.3
PHP version:      4.3.0RC3
PHP Bug Type:     IMAP related
Bug description:  Can't compile with IMAP-2002

When compiling (make) PHP 4.3.0RC3 as a static module for Apache 1.13.26/27
I get the following error;

/usr/local/lib/libc-client.a(osdep.o): In function `ssl_onceonlyinit':
/usr/src/apache/imap-2002a/c-client/osdep.c:267: the use of `tmpnam' is
dangerous, better use `mkstemp'

I've tried using both IMAP-2002RC10 and IMAP-2002a with Apache 1.13.26 and
Apache 1.13.27, on three different systems (1*RH7.2, 2*RH7.3).

I can compile PHP 4.2.3 on all my systems with the exact same parameters
without any problems.


PHP configure command:

./configure \
--with-apache=../apache_1.3.27 \
--with-config-file-path=/etc \
--enable-inline-optimization \
--enable-magic-quotes \
--enable-track-vars \
--with-xml --with-dom --with-xmlrpc \
--with-mysql=/usr/local/mysql \
--enable-sockets \
--with-ldap \
--with-imap=/usr/local --with-imap-ssl=/usr/local \
--with-mm \
--enable-memory-limit \
--enable-bcmath \
--enable-sigchild \
--with-zlib=/usr \
--with-curl=/usr/local \
--with-dom=/usr/include/libxml2/libxml \
--enable-exif \
--enable-ftp \
--with-gettext=/usr/share \
--with-gd \
--with-ttf \
--with-freetype-dir=/usr/local/include/freetype2/freetype \
--enable-gd-imgstrttf \
--enable-gd-native-ttf \
--with-png-dir=/usr \
--with-jpeg-dir=/usr \
--with-tiff-lib=/usr \
--with-mcal=../libmcal \
--with-openssl \
--with-mcrypt --with-mhash \
--with-pspell \
--with-pdflib
-- 
Edit bug report at http://bugs.php.net/?id=21017&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21017&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21017&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21017&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21017&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21017&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21017&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21017&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21017&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21017&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21017&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21017&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21017&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21017&r=isapi

Reply via email to