#21636 [Bgs]: compiling php-4.3.0 fails using gcc
ID: 21636
User updated by: jedson@cso.atmel.com
Reported By: jedson@cso.atmel.com
Status: Bogus
Bug Type: Compile Failure
Operating System: solaris8
PHP Version: 4.3.0
New Comment:
that fixed it. thanks again...
Previous Comments:
------------------------------------------------------------------------
[2003-01-14 10:12:51] 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 10:11:09] jedson@cso.atmel.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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21636&edit=1
Thread (3 messages)