php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35789 php 5.1.1 compile failure with Apache 2.0.55
Submitted: 2005-12-23 16:28 UTC Modified: 2005-12-28 20:51 UTC
From: wzaccone at telcordia dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.1.1 OS: Solaris 8
Private report: No CVE-ID: None
 [2005-12-23 16:28 UTC] wzaccone at telcordia dot com
Description:
------------
failed attempt to compile php 5.1.1 on Solaris 8 with gcc version 3.2.2 and Apache 2.0.55

configure command has:

./configure --prefix=/usr/local/apache2/lib --exec-prefix=/usr/local/apache2 --with-apxs2=/usr/local/apache2/bin/apxs --enable-sockets --enable-ftp --enable-track-vars --enable-soap 




Reproduce code:
---------------
possible relevent error message..
configure: warning: You will need re2c 0.98 or later if you want to regenerate PHP parsers.
./configure: !: not found
configure: warning: lemon versions supported for regeneration of libsqlite parse
rs: 1.0 (found: none).
5.1.1/ext/iconv/iconv.c:254: warning:
 passing arg 2 of `libiconv' from incompatible pointer type
/usr/nmadev/package/install_apache_php/php-                 Output line too long.  
Output line too long.
gcc: ext/ses: No such file or directory
make: *** [sapi/cli/php] Error 1



Expected result:
----------------
used this same configuration to compile php 5.0.5 without any problems..but php 5.1.1 compilation was not successful. 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-23 16:37 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.

.
 [2005-12-28 16:58 UTC] wzaccone at telcordia dot com
I installed GNU SED. and retried the compilation and now I get a new error: 

Undefined                       first referenced
 symbol                             in file
fdatasync                           ext/pdo_sqlite/sqlite/src/.libs/os_unix.o
ld: fatal: Symbol referencing errors. No output written to sapi/cli/php
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

I searched the bug database for this, and found bug 35468 which has wez assigned to it. the history seems to indicate that a bug  may still exist when building for Solaris 8??  Is there any other info on this??  
thanks.
Warren
 [2005-12-28 20:51 UTC] wzaccone at telcordia dot com
I tried latest snapshot and still does not work. I need to use php install out of the box, so since we don't need sqlite, I configured --without-sqlite -without-pdo-sqlite and 5.1.1 build completes successfully.   I look forward to updates on this one. thanks for the info.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 14:04:04 2025 UTC