#21017 [Opn-Bgs]: Can't compile with IMAP-2002

2002-12-14 Thread derick
 ID:   21017
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Bogus
 Bug Type: IMAP related
 Operating System: RedHat 7.3
 PHP Version:  4.3.0RC3
 New Comment:

It's a *warning*, and a problem in c-client anyway. Not a PHP problem
- bogus.


Previous Comments:


[2002-12-14 15:29:35] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=21017edit=1




#21017 [Opn-Bgs]: Can't compile with IMAP-2002

2002-12-14 Thread derick
 ID:   21017
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Bogus
 Bug Type: IMAP related
 Operating System: RedHat 7.3
 PHP Version:  4.3.0RC3
 New Comment:

You get the WARNING during LINKING, and as I said: not a problem in
PHP, but in the cclient. Leave this bug's status at bogus please.


Previous Comments:


[2002-12-14 15:33:00] [EMAIL PROTECTED]

Clarification: The PHP4.3.0RC3 make command stops after

/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'

and I'm not able to continue the Apache-compilation.



[2002-12-14 15:30:48] [EMAIL PROTECTED]

It's a *warning*, and a problem in c-client anyway. Not a PHP problem
- bogus.



[2002-12-14 15:29:35] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=21017edit=1