From nobody@FreeBSD.org  Sun Oct 24 09:54:52 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9F8A0106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 24 Oct 2010 09:54:52 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 573A98FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 24 Oct 2010 09:54:52 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o9O9spxx049885
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 24 Oct 2010 09:54:51 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o9O9spjk049884;
	Sun, 24 Oct 2010 09:54:51 GMT
	(envelope-from nobody)
Message-Id: <201010240954.o9O9spjk049884@www.freebsd.org>
Date: Sun, 24 Oct 2010 09:54:51 GMT
From: Michael Ross <michael.ross@gmx.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: eAccelerator Makefile glitch
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         151680
>Category:       ports
>Synopsis:       www/eaccelerator Makefile glitch
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    ale
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 24 10:00:21 UTC 2010
>Closed-Date:    Mon Oct 25 09:04:36 UTC 2010
>Last-Modified:  Mon Oct 25 10:20:07 UTC 2010
>Originator:     Michael Ross
>Release:        RELENG_8
>Organization:
>Environment:
FreeBSD gurder.ross.cx 8.1-STABLE FreeBSD 8.1-STABLE #1: Mon Sep 20 23:34:09 CEST 2010 amd64
>Description:

eAccelerator compiles, 
but fails to start with:
"eAccelerator: shmmax should be at least 2MB",
regardless of shmmax sysctl value/shmmax config value.




>How-To-Repeat:

>Fix:
Change in Makefile:

CONFIGURE_ARGS= --enable-eaccelerator=shared\

to

CONFIGURE_ARGS= --with-eaccelerator-shared-memory\

as per http://www.eaccelerator.net/wiki/CompileConfiguration
fixes this error.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ale 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Oct 24 11:17:58 UTC 2010 
Responsible-Changed-Why:  
Fix synopsis and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=151680 
State-Changed-From-To: open->closed 
State-Changed-By: ale 
State-Changed-When: Mon Oct 25 09:04:01 UTC 2010 
State-Changed-Why:  
Bogus, doesn't exist that configure option. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=151680 

From: "Michael Ross" <michael@ross.cx>
To: bug-followup@freebsd.org, michael.ross@gmx.net
Cc:  
Subject: Re: ports/151680: www/eaccelerator Makefile glitch
Date: Mon, 25 Oct 2010 12:00:46 +0200

 Closed:	"Bogus, doesn't exist that configure option." ?
 
 Sorry, But
 
 <quote http://www.eaccelerator.net/wiki/CompileConfiguration>
 
 --with-eaccelerator-shared-memory
 
 Include eaccelerator shared memory functions. The name is a bit confusing,  
 but this will include the eaccelerator_get, _put, ... functions that allow  
 scripts to store data in the eAccelelerator cache. This options has been  
 enabled by default until version 0.9.5. When enabling this feature on  
 systems where you can't trust all users, like in shared hosting  
 environments, this could really fill up the cache causing all scripts to  
 only exist on disk which isn't good for performance.
 
 </unquote>
 
 Seems to exist alright...
 
 I did the following:
 
 -> compile eaccelerator from ports & install
 -> Won't run becaues of "eAccelerator: shmmax should be at least 2MB"
 -> checked that shmmax is actually >2MB
 -> dug through the web
 -> deinstalled, changed Makefile as in bug report
 -> make clean, make install
 -> Runs as per Spec/Doc/Whatever.
 
 This non-existing configure option sure fixed my problem.
>Unformatted:
