php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47325 [ext/posix/posix.lo] Error 1 while make php source package
Submitted: 2009-02-06 08:42 UTC Modified: 2009-02-06 20:02 UTC
From: chunhuan dot pan at alcatel-sbell dot com dot cn Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.2.1 OS: SunOS sbardx4b 5.8 Generic_11735
Private report: No CVE-ID: None
 [2009-02-06 08:42 UTC] chunhuan dot pan at alcatel-sbell dot com dot cn
Description:
------------
while I make php-5.2.1,it return an error ,and compiling failed
my configure below:
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs
              --with-mysql=/usr/local/mysql --with-oci8=/usr/local/oracle/apps/product/9.2.0/
              --with-oracle=/usr/local/oracle/apps/product/9.2.0/ --disable-ipv6 --with-openssl
              --with-zlib --with-dbm --with-inifile --with-gd=/usr/local/ with-jpeg --with-png --with-xpm
              --with-ttf --with-freetype=/usr/local/lib --enable-gd-native-ttf --enable-gd-imgstrttf --with-ldap=/usr/local/openldap
              --with-ldap-sasl=/usr/local/sasl --with-snmp-enable-soap --enable-sockets 
              --with-libxml  --with-xmlrp --with-xsl --enable-yp --enable-track-vars
##--------------------------------------------

my error information:
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs
              --with-mysql=/usr/local/mysql --with-oci8=/usr/local/oracle/apps/product/9.2.0/
              --with-oracle=/usr/local/oracle/apps/product/9.2.0/ --disable-ipv6 --with-openssl
              --with-zlib --with-dbm --with-inifile --with-gd=/usr/local/ with-jpeg --with-png --with-xpm
              --with-ttf --with-freetype=/usr/local/lib --enable-gd-native-ttf --enable-gd-imgstrttf --with-ldap=/usr/local/openldap
              --with-ldap-sasl=/usr/local/sasl --with-snmp-enable-soap --enable-sockets --with-libxml  --with-xmlrp --with-xsl --enable-yp --enable-track-vars

##-----------------------------------
how to sovle this error ,thx a lot


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-02-06 10:29 UTC] felipe@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2009-02-06 10:36 UTC] chunhuan dot pan at alcatel-sbell dot com dot cn
sorry for the mistake
the error information:
/tmp/php-5.2.1/ext/posix/posix.c: In function `zif_posix_getgrgid':
               /tmp/php-5.2.1/ext/posix/posix.c:892: error: too many arguments to function `getgrgid_r'
               /tmp/php-5.2.1/ext/posix/posix.c:892: warning: assignment makes integer from pointer without a cast
               make: *** [ext/posix/posix.lo] Error 1
 [2009-02-06 20:02 UTC] jani@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 22:01:33 2024 UTC