Subject: pkg/34201: www/php-eaccelerator and "sysvipc semaphores"
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <joel@carnat.net>
List: pkgsrc-bugs
Date: 08/14/2006 21:10:00
>Number:         34201
>Category:       pkg
>Synopsis:       configure: error: "You need to pass the user id eaccelerator will be running under when using sysvipc semaphores"
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 14 21:10:00 +0000 2006
>Originator:     ptiJo
>Release:        NetBSD 3.0_STABLE
>Organization:
	
>Environment:
	
	
System: NetBSD kala.tumfatig.net 3.0_STABLE NetBSD 3.0_STABLE (GENERIC) #0: Sat May 20 11:59:28 UTC 2006 riz@b2.netbsd.org:/home/builds/ab/netbsd-3/sparc64/200605200000Z-obj/home/builds/ab/netbsd-3/src/sys/arch/sparc64/compile/GENERIC sparc64
Architecture: sparc64
Machine: sparc64
>Description:
	www/php-eaccelerator won't build on my system.
	The error is:
########################################################################
checking for sysvipc semaphores support... yes
checking for fcntl semaphores support... yes
checking for flock semaphores support... yes
checking for best semaphores type... configure: error: "You need to pass the user id eaccelerator will be running under when using sysvipc semaphores"
*** Error code 1

Stop.
make: stopped in /home/cvs/pkgsrc/www/php-eaccelerator
===> 
===> There was an error during the ``configure'' phase.
===> Please investigate the following for more information:
===>      * config.log
===>      * /tmp/pkgwork/www/php-eaccelerator/work.kala/.work.log
===> 
*** Error code 1

Stop.
make: stopped in /home/cvs/pkgsrc/www/php-eaccelerator
########################################################################
>How-To-Repeat:
	Try to build www/php-eaccelerator with php-5.1.4nb2 installed.
>Fix:
	Add the following to the Makefile:
CONFIGURE_ARGS+=        --with-eaccelerator-userid=www
USE_LANGUAGES+=c++

	Getting the userid automatically is obviously better but I don't know how to handle HTTP daemon (Apache 1 or 2, LigHTTP - I use the later).

>Unformatted: