#34364 [Opn-Fbk]: In this statement, __getpgid expects 1 arguments

2005-10-04 Thread sniper
 ID:   34364
 Updated by:   [EMAIL PROTECTED]
 Reported By:  wlgivens at southkc dot net
-Status:   Open
+Status:   Feedback
 Bug Type: Compile Failure
 Operating System: RedHat [Alpha Linux]
 PHP Version:  5.0.4
 New Comment:

Please try using this CVS snapshot:

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




Previous Comments:


[2005-10-04 21:53:22] wlgivens at southkc dot net

Well tried both the PHP-4.x CVS release and PHP-5.0.5 and the error
persists. It seems that it would be a simple fix, a lot faster than
fucking around on this board every other day trying to come up with
excuses why it doesn't compile when the error says it all.

cc: Error:
/usr2/www/linux-related/programming/php-5x/php-5.0.5/ext/posix/posix.c,
line 349: In this statement, __getpgid expects 1 arguments, but 0 are
supplied. (toofewargs)
PHP_POSIX_RETURN_LONG_FUNC(getpgrp);
^

Same error as when previous releases. Is there some patch to fix this
error? How fucking hard is it to supply an 'argument'?



[2005-09-05 00:11:15] [EMAIL PROTECTED]

and DO NOT try outsmart the configure with ANY environment variable
like CFLAGS, etc. And NEVER EVER modify the generated  libtool





[2005-09-05 00:09:58] [EMAIL PROTECTED]

Please try using this CVS snapshot:

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





[2005-09-04 12:07:59] [EMAIL PROTECTED]

from 'man getpgrp':
This version of getpgrp() differs from past Berkeley versions by not
taking a pid_t pid argument. This incompatibility is required by
ISO/IEC 9945-1:1990 ``POSIX.1'').

So this is not a PHP bug per-se. But we could check the function proto
(0 or 1 parameter) in the configure script and pass the paramer if
needed.



[2005-09-04 05:17:52] wlgivens at southkc dot net

Description:

Receiving the error below on the following hardware/software:
AlphaPC 164SX
Redhat [Alpha]
Kernel-2.6.11.6
Compaq C 6.5.9
Binutils-2.19.0.x
Make-3.80

[EMAIL PROTECTED] php-5.0.4]# /bin/sh
/usr2/www/linux-related/programming/php-4x/php-5.0.4/libtool --silent
--preserve-dup-deps --mode=compile ccache ccc  -Iext/posix/
-I/usr2/www/linux-related/programming/php-4x/php-5.0.4/ext/posix/
-DPHP_ATOM_INC
-I/usr2/www/linux-related/programming/php-4x/php-5.0.4/include
-I/usr2/www/linux-related/programming/php-4x/php-5.0.4/main
-I/usr2/www/linux-related/programming/php-4x/php-5.0.4
-I/usr/include/libxml2 -I/usr/include/mysql
-I/usr2/www/linux-related/programming/php-4x/php-5.0.4/TSRM
-I/usr2/www/linux-related/programming/php-4x/php-5.0.4/Zend-O -w
-std -pipe -D_BSD_SOURCE   -c
/usr2/www/linux-related/programming/php-4x/php-5.0.4/ext/posix/posix.c
-o ext/posix/posix.lo
cc: Error:
/usr2/www/linux-related/programming/php-4x/php-5.0.4/ext/posix/posix.c,
line 338: In this statement, __getpgid expects 1 arguments, but 0 are
supplied. (toofewargs)
   PHP_POSIX_RETURN_LONG_FUNC(getpgrp);

Reproduce code:
---
just simply run:

CC=ccache ccc CXX=ccache cxx \
   CFLAGS=-O5 -fast -w -arch ev56 -w -std -pipe -D_BSD_SOURCE \
   CXXFLAGS=-O5 -fast -fast -arch ev56 -w -pipe\
   -std ansi -nousing_std -D__USE_STD_IOSTREAM \
   ./configure \
   --prefix=/usr \
   --sysconfdir=/etc/X11 \
   --build=alphapca56-alpha-linux-gnu \
   --enable-shared \
   --with-apxs2=/usr/apache2/bin/apxs \
   --with-apache2=shared,/usr/apache2 \
   --with-mysql \
   --with-gettext \
   --with-openssl-dir=/usr \
   --with-jpeg-dir=/usr \
   --with-png-dir=/usr \
   --with-freetype-dir=/usr \
   --enable-exif \
   --with-openssl=shared,/usr \
   --with-pgsql=shared,/usr \
   --with-mnogosearch=shared,/usr \
   --without-snmp
 
sed -e 's/wl=/wl=-Wl,/g' libtool  TMP
mv TMP libtool
chmod 755 libtool

make  MAKE_LOG 21 
tail -f MAKE_LOG

Expected result:

PHP to build/install, and everything would be alright in the world.

Actual result:
--
crash/burn





-- 
Edit this bug report at http://bugs.php.net/?id=34364edit=1


#34364 [Opn-Fbk]: In this statement, __getpgid expects 1 arguments

2005-09-04 Thread sniper
 ID:   34364
 Updated by:   [EMAIL PROTECTED]
 Reported By:  wlgivens at southkc dot net
-Status:   Open
+Status:   Feedback
 Bug Type: Compile Failure
 Operating System: RedHat [Alpha Linux]
 PHP Version:  5.0.4
 New Comment:

Please try using this CVS snapshot:

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




Previous Comments:


[2005-09-04 12:07:59] [EMAIL PROTECTED]

from 'man getpgrp':
This version of getpgrp() differs from past Berkeley versions by not
taking a pid_t pid argument. This incompatibility is required by
ISO/IEC 9945-1:1990 ``POSIX.1'').

So this is not a PHP bug per-se. But we could check the function proto
(0 or 1 parameter) in the configure script and pass the paramer if
needed.



[2005-09-04 05:17:52] wlgivens at southkc dot net

Description:

Receiving the error below on the following hardware/software:
AlphaPC 164SX
Redhat [Alpha]
Kernel-2.6.11.6
Compaq C 6.5.9
Binutils-2.19.0.x
Make-3.80

[EMAIL PROTECTED] php-5.0.4]# /bin/sh
/usr2/www/linux-related/programming/php-4x/php-5.0.4/libtool --silent
--preserve-dup-deps --mode=compile ccache ccc  -Iext/posix/
-I/usr2/www/linux-related/programming/php-4x/php-5.0.4/ext/posix/
-DPHP_ATOM_INC
-I/usr2/www/linux-related/programming/php-4x/php-5.0.4/include
-I/usr2/www/linux-related/programming/php-4x/php-5.0.4/main
-I/usr2/www/linux-related/programming/php-4x/php-5.0.4
-I/usr/include/libxml2 -I/usr/include/mysql
-I/usr2/www/linux-related/programming/php-4x/php-5.0.4/TSRM
-I/usr2/www/linux-related/programming/php-4x/php-5.0.4/Zend-O -w
-std -pipe -D_BSD_SOURCE   -c
/usr2/www/linux-related/programming/php-4x/php-5.0.4/ext/posix/posix.c
-o ext/posix/posix.lo
cc: Error:
/usr2/www/linux-related/programming/php-4x/php-5.0.4/ext/posix/posix.c,
line 338: In this statement, __getpgid expects 1 arguments, but 0 are
supplied. (toofewargs)
   PHP_POSIX_RETURN_LONG_FUNC(getpgrp);

Reproduce code:
---
just simply run:

CC=ccache ccc CXX=ccache cxx \
   CFLAGS=-O5 -fast -w -arch ev56 -w -std -pipe -D_BSD_SOURCE \
   CXXFLAGS=-O5 -fast -fast -arch ev56 -w -pipe\
   -std ansi -nousing_std -D__USE_STD_IOSTREAM \
   ./configure \
   --prefix=/usr \
   --sysconfdir=/etc/X11 \
   --build=alphapca56-alpha-linux-gnu \
   --enable-shared \
   --with-apxs2=/usr/apache2/bin/apxs \
   --with-apache2=shared,/usr/apache2 \
   --with-mysql \
   --with-gettext \
   --with-openssl-dir=/usr \
   --with-jpeg-dir=/usr \
   --with-png-dir=/usr \
   --with-freetype-dir=/usr \
   --enable-exif \
   --with-openssl=shared,/usr \
   --with-pgsql=shared,/usr \
   --with-mnogosearch=shared,/usr \
   --without-snmp
 
sed -e 's/wl=/wl=-Wl,/g' libtool  TMP
mv TMP libtool
chmod 755 libtool

make  MAKE_LOG 21 
tail -f MAKE_LOG

Expected result:

PHP to build/install, and everything would be alright in the world.

Actual result:
--
crash/burn





-- 
Edit this bug report at http://bugs.php.net/?id=34364edit=1