Subject: pkg/31047: php-4.4.0 Solaris 10
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 08/23/2005 16:18:00
>Number:         31047
>Category:       pkg
>Synopsis:       php-4.4.0 Solaris 10
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 23 16:18:00 +0000 2005
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic i86pc


>Description:


[root@redhot 804] bmake
===> Checking for vulnerabilities in php-4.4.0
===> Building for php-4.4.0
gcc  -Iext/standard/ -I/usr/pkgsrc/www/php4/work/php-4.4.0/ext/standard/ -DPHP_ATOM_INC -I/usr/pkgsrc/www/php4/work/php-4.4.0/include -I/usr/pkgsrc/www/php4/work/php-4.4.0/main -I/usr/pkgsrc/www/php4/work/php-4.4.0 -I/usr/pkgsrc/www/php4/work/php-4.4.0/ext/xml/expat -I/usr/pkgsrc/www/php4/work/php-4.4.0/TSRM -I/usr/pkgsrc/www/php4/work/php-4.4.0/Zend  -D_POSIX_PTHREAD_SEMANTICS -I/usr/pkg/include  -O  -c /usr/pkgsrc/www/php4/work/php-4.4.0/ext/standard/reg.c -o ext/standard/reg.o  && echo > ext/standard/reg.lo
/usr/pkgsrc/www/php4/work/php-4.4.0/ext/standard/reg.c: In function `_php_regcomp':
/usr/pkgsrc/www/php4/work/php-4.4.0/ext/standard/reg.c:53: error: structure has no member named `re_magic'
/usr/pkgsrc/www/php4/work/php-4.4.0/ext/standard/reg.c:72: error: structure has no member named `re_magic'
gmake: *** [ext/standard/reg.lo] Error 1
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/www/php4
===> 
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/www/php4/work/.work.log
===> 
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/www/php4
[root@redhot 805]


>How-To-Repeat:





>Fix:


In Makefile.php  set 
CONFIGURE_ARGS+=        --with-regex=php
for Solaris system (include solaris 9 & 10)