php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21017 Can't compile with IMAP-2002
Submitted: 2002-12-14 15:29 UTC Modified: 2002-12-14 15:34 UTC
From: magz at bop dot nu Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 4.3.0RC3 OS: RedHat 7.3
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: magz at bop dot nu
New email:
PHP Version: OS:

 

 [2002-12-14 15:29 UTC] magz at bop dot nu
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-14 15:30 UTC] derick@php.net
It's a *warning*, and a problem in c-client anyway. Not a PHP problem -> bogus.
 [2002-12-14 15:33 UTC] magz at bop dot nu
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:34 UTC] derick@php.net
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.
 [2003-01-02 09:56 UTC] idban at avidaim dot com
i got same problem with this i'm using php.4.3.0
exactly same problem. 
i use openssl-0.9.6h, apache 1.13.27, IMAP-2002a 

my post http://bugs.php.net/bug.php?id=21286

if this isnt php bug, how we resolve this? any clue?
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 05:01:30 2024 UTC