php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21184 Compiling --with-zlib fails
Submitted: 2002-12-25 17:07 UTC Modified: 2002-12-29 08:16 UTC
From: emim at bigfoot dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.3.0RC4 OS: FreeBSD 4.7 (RELEASE)
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: emim at bigfoot dot com
New email:
PHP Version: OS:

 

 [2002-12-25 17:07 UTC] emim at bigfoot dot com
This bug is similar to but not the same as Bug #19973.

Basically I did a 'configure' followed by 'make'. The make command terminated with: /usr/installs/php/php-4.3.0RC4/ext/zlib/zlib.c:48:
/usr/installs/php/php-4.3.0RC4/ext/standard/basic_functions.h:126: #error Need type which holds 32 bits

(There were some warnings reported by the compiler but they didn't seem important)

The same configure line works with php 4.2.3 on the same machine and the config.nice is as follows:

#! /bin/sh
#
# Created by configure

'./configure' \
'--with-apxs=/icepanel/apache/bin/apxs' \
'--with-mysql=/icepanel/mysql' \
'--with-gd=/usr/local' \
'--enable-gd-native-ttf' \
'--with-jpeg-dir=/usr/local/lib' \
'--with-png-dir=/usr/local/lib' \
'--with-freetype-dir=/usr/local/lib' \
'--with-pdflib=/usr/local' \
'--enable-trans-sid' \
'--enable-wddx' \
'--with-openssl' \
'--enable-ftp' \
'--with-sockets' \
'--with-pear' \
'--with-gettext' \
'--enable-pcntl' \
'--enable-shmop' \
'--with-mm' \
'--enable-wddx' \
'--with-imap' \
'--with-imap-ssl' \
'--with-sockets' \
'--with-xml' \
'--with-mcrypt' \
'--with-pspell' \
'--with-curl' \
'--no-create' \
'--no-recursion' \
'--with-zlib' \
"$@"

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-29 08:16 UTC] emim at bigfoot dot com
My mistake ;)
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 11:01:34 2025 UTC