Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2006 18:26:16 GMT
From:      Joe Horn<joehorn@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/104764: eAccelerator build problem (request for update)
Message-ID:  <200610241826.k9OIQGKS042992@www.freebsd.org>
Resent-Message-ID: <200610241830.k9OIURkH012209@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         104764
>Category:       ports
>Synopsis:       eAccelerator build problem (request for update)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 24 18:30:26 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Joe Horn
>Release:        FreeBSD 6.1
>Organization:
Information Management Department, NKFUST, Taiwan
>Environment:
FreeBSD joehorn.idv.tw 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0: Mon Oct 16 22:40:14 CST 2006     root@joehorn.idv.tw:/usr/obj/usr/src/sys/Power  i386
>Description:
I just tried to install eAccelerator on this machine, which had these ports (packages) installed :

apache-worker-2.2.3 Version 2.2 of Apache web server with worker MPM.
php4-4.4.4_1        PHP Scripting Language (Apache Module and CLI)


But I got error while building, error messages shown below :

cc -I. -I/usr/ports/www/eaccelerator/work/eaccelerator-0.9.5-rc1 -DPHP_ATOM_INC -I/usr/ports/www/eaccelerator/work/eaccelerator-0.9.5-rc1/include -I/usr/ports/www/eaccelerator/work/eaccelerator-0.9.5-rc1/main -I/usr/ports/www/eaccelerator/work/eaccelerator-0.9.5-rc1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /usr/ports/www/eaccelerator/work/eaccelerator-0.9.5-rc1/ea_restore.c  -fPIC -DPIC -o ea_restore.lo
/usr/ports/www/eaccelerator/work/eaccelerator-0.9.5-rc1/ea_restore.c: In function `restore_class_entry':
/usr/ports/www/eaccelerator/work/eaccelerator-0.9.5-rc1/ea_restore.c:906: error: too many arguments to function `zend_do_inheritance'
*** Error code 1

Stop in /usr/ports/www/eaccelerator/work/eaccelerator-0.9.5-rc1.
*** Error code 1

Stop in /usr/ports/www/eaccelerator.


I just found that there is a newer version released on website of eAccelerator project :

    * Release-0.9.4 - 2006/02/15
    * Release-0.9.5-beta1 - 2006/02/15
    * Release-0.9.5-beta2 - 2006/04/11
    * Release-0.9.5-rc1 - 2006/07/25
    * Release-0.9.5 - 2006/10/11 

So I modified the Makefile and distinfo in /usr/ports/www/eaccelerator , and fetch the newer version.

Fortunately, it works.
Please update this ports, thanks.
>How-To-Repeat:

>Fix:
# diff -c /usr/ports/www/eaccelerator/Makefile.orig /usr/ports/www/eaccelerator/Makefile
*** /usr/ports/www/eaccelerator/Makefile.orig   Wed Oct 25 02:02:13 2006
--- /usr/ports/www/eaccelerator/Makefile        Wed Oct 25 02:04:27 2006
***************
*** 6,12 ****
  #

  PORTNAME=     eaccelerator
! DISTVERSION=  0.9.5-rc1
  CATEGORIES=   www
  MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
  MASTER_SITE_SUBDIR=   ${PORTNAME}
--- 6,12 ----
  #

  PORTNAME=     eaccelerator
! DISTVERSION=  0.9.5
  CATEGORIES=   www
  MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
  MASTER_SITE_SUBDIR=   ${PORTNAME}

# diff -c /usr/ports/www/eaccelerator/distinfo.orig /usr/ports/www/eaccelerator/distinfo
*** /usr/ports/www/eaccelerator/distinfo.orig   Wed Oct 25 02:02:19 2006
--- /usr/ports/www/eaccelerator/distinfo        Wed Oct 25 02:03:23 2006
***************
*** 1,3 ****
! MD5 (eaccelerator-0.9.5-rc1.tar.bz2) = 5d03deb399f8f857d92dd092a2c69a87
! SHA256 (eaccelerator-0.9.5-rc1.tar.bz2) = 7200dad2a96c17b5a4c04744061e56dfa5f98fb071984ba8bf8f178707a72a5f
! SIZE (eaccelerator-0.9.5-rc1.tar.bz2) = 120221
--- 1,3 ----
! MD5 (eaccelerator-0.9.5.tar.bz2) = dad54af67488b83a2af6e30f661f613b
! SHA256 (eaccelerator-0.9.5.tar.bz2) = 9118cda6f7a8013bb22621304f783ecb629fcc9c556f182e3caf0913dc7294cf
! SIZE (eaccelerator-0.9.5.tar.bz2) = 121791
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610241826.k9OIQGKS042992>