Ticket #24 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

OSX build broken w/ eA snap (svn200603181749) &/or trunk (r187)

Reported by: openmacnews Assigned to: anonymous
Priority: blocker Milestone: 0.9.5
Component: eAccelerator Version: 0.9.5
Keywords: make patch fixed Cc:

Description

building svn latest snap/trunk on OSX 10.4.5 configures w/o error, but fails at 'make':

...
 gcc -I. -I/usr/ports/eaccelerator-svn -DPHP_ATOM_INC -I/usr/ports/eaccelerator-svn/include -I/usr/ports/eaccelerator-svn/main -I/usr/ports/eaccelerator-svn -I/usr/local/php5/include/php -I/usr/local/php5/include/php/main -I/usr/local/php5/include/php/TSRM -I/usr/local/php5/include/php/Zend -I/usr/local/php5/include/php/ext -DHAVE_CONFIG_H -g -O2 -c /usr/ports/eaccelerator-svn/ea_info.c  -fno-common -DPIC -o .libs/ea_info.o
/usr/ports/eaccelerator-svn/ea_info.c: In function 'zif_eaccelerator_caching':
/usr/ports/eaccelerator-svn/ea_info.c:87: error: too few arguments to function 'isAdminAllowed'
/usr/ports/eaccelerator-svn/ea_info.c: In function 'zif_eaccelerator_optimizer':
/usr/ports/eaccelerator-svn/ea_info.c:112: error: too few arguments to function 'isAdminAllowed'
/usr/ports/eaccelerator-svn/ea_info.c: In function 'zif_eaccelerator_clean':
/usr/ports/eaccelerator-svn/ea_info.c:134: error: too few arguments to function 'isAdminAllowed'
/usr/ports/eaccelerator-svn/ea_info.c: In function 'zif_eaccelerator_clear':
/usr/ports/eaccelerator-svn/ea_info.c:222: error: too few arguments to function 'isAdminAllowed'
/usr/ports/eaccelerator-svn/ea_info.c: In function 'zif_eaccelerator_purge':
/usr/ports/eaccelerator-svn/ea_info.c:307: error: too few arguments to function 'isAdminAllowed'
/usr/ports/eaccelerator-svn/ea_info.c: In function 'zif_eaccelerator_cached_scripts':
/usr/ports/eaccelerator-svn/ea_info.c:374: error: too few arguments to function 'isAdminAllowed'
/usr/ports/eaccelerator-svn/ea_info.c: In function 'zif_eaccelerator_removed_scripts':
/usr/ports/eaccelerator-svn/ea_info.c:407: error: too few arguments to function 'isAdminAllowed'
make: *** [ea_info.lo] Error 1

Attachments

bug24.patch (1.7 kB) - added by Stadler on 03/21/06 04:33:58.

Change History

03/21/06 03:59:28 changed by Stadler

Try replacing

isAdminAllowed()

with

isAdminAllowed(TSRMLS_C)

in line 87, 112, 134, 222, 307, 374 and 407 of ea_info.c.

HTH

03/21/06 04:20:52 changed by openmacnews

hi

testing your suggestion for eA trunk, after:

perl -pi -e 's/isAdminAllowed\(\)\)/isAdminAllowed\(TSRMLS_C\)\)/g' ea_info.c

'make' now reports -> "Build complete."

thx!

03/21/06 04:33:58 changed by Stadler

  • attachment bug24.patch added.

03/21/06 12:23:38 changed by anonymous

  • owner changed from somebody to anonymous.
  • status changed from new to assigned.

03/21/06 12:23:49 changed by anonymous

  • version set to 0.9.5.
  • milestone set to 0.9.5.

03/21/06 12:28:52 changed by bart

  • status changed from assigned to closed.
  • resolution set to fixed.

Thanks, this is fixed in svn now.

08/24/07 14:20:38 changed by burt

  • keywords set to make patch fixed.