php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21636 compiling php-4.3.0 fails using gcc
Submitted: 2003-01-14 10:11 UTC Modified: 2003-01-14 14:58 UTC
From: jedson at cso dot atmel dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.0 OS: solaris8
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jedson at cso dot atmel dot com
New email:
PHP Version: OS:

 

 [2003-01-14 10:11 UTC] jedson at cso dot atmel dot com
Hello,

When I try to compile php-4.3.0 with apache-2.0.43 I get what appears
to be a gcc error.  I compiled apache-2.0.43 as follows:

cd gcc-2.0.43
configure --prefix=/usr/local/apache --enable-so
make
make install

I then tried to compile php-4.3.0 using the following comands:

cd php-4.3.0
configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs
make

I then get the following error:

...
creating number.c
creating number.h
creating main/internal_functions.c
creating main/internal_functions_cli.c
+--------------------------------------------------------------------+
|                        *** WARNING ***                             |
|                                                                    |
| You chose to compile PHP with the built-in MySQL support.  If you  |
| are compiling a server module, and intend to use other server      |
| modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0,         |
| mod_perl) you must NOT rely on PHP's built-in MySQL support, and   |
| instead build it with your local MySQL support files, by adding    |
| --with-mysql=/path/to/mysql to your configure line.                |
+--------------------------------------------------------------------+
| License:                                                           |
| This software is subject to the PHP License, available in this     |
| distribution in the file LICENSE.  By continuing this installation |
| process, you are bound by the terms of this license agreement.     |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point.                            |
+--------------------------------------------------------------------+
|                          *** NOTE ***                              |
|            The default for register_globals is now OFF!            |
|                                                                    |
| If your application relies on register_globals being ON, you       |
| should explicitly set it to on in your php.ini file.               |
| Note that you are strongly encouraged to read                      |
| http://www.php.net/manual/en/security.registerglobals.php          |
| about the implications of having register_globals set to on, and   |
| avoid using it if possible.                                        |
+--------------------------------------------------------------------+


^[[1mThank you for using PHP.^[[0m


/home/jedson/stow/sol8/src/php-4.3.0/php-4.3.0/ext/standard/var_unserializer.c: In function `php
_var_unserialize':
/home/jedson/stow/sol8/src/php-4.3.0/php-4.3.0/ext/standard/var_unserializer.c:308: warning: com
parison is always false due to limited range of data type
Output line too long.
Output line too long.
Output line too long.
Output line too long.
gcc: TSR: No such file or directory
make[3]: *** [sapi/cli/php] Error 1
make[2]: *** [compile-php-4.3.0] Error 2

I am using the following Sun packages:

autoconf-2.57
automake-1.7.2
bison-1.75
flex-2.5.4a
gcc-3.2
make-3.80

Is there something that I need to do here?  I did get php-4.2.3 to compile
but I understand that there are problems with running php-4.2.3 with
apache-2.0.43.  Is that true?

Thanks...

John

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-14 10:12 UTC] derick@php.net
Due to a bug in the installed sed on your system the build
fails. Install GNU sed and it should be okay.
 
Thank you for your interest in PHP.
 [2003-01-14 14:58 UTC] jedson at cso dot atmel dot com
that fixed it.  thanks again...
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 10:01:33 2025 UTC