[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/43051: www/php-eaccelerator needs user id configured (NetBSD 4.0/i386)
>Synopsis: www/php-eaccelerator needs user id configured (NetBSD 4.0/i386)
>Arrival-Date: Wed Mar 24 08:00:00 +0000 2010
>Originator: Robert Elz
>Release: NetBSD 4.0 / i386 (pkgsrc current [HEAD] 2010-03-24)
Prince of Songkla University
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008
www/php-eaccelerator fails to configure itself. It selects
sysvipc as the type it is going to use, then fails, when it
was not run with the "-with_eaccelerator_userid" arg to
tell it what user ID it should be compiled to use (for
compiling binary packages, compiling in a user id for a
purpose like this seems insane to me, but nevermind).
I use pkg_comp with libkver and NetBSD 4.0 release sets
installed (except x*, I use X11_TYPE=modular instead).
In that environment, attempting to build the recently
upgraded version of www/php-eaccelerator
fails as shown below (the previous version,
was OK). Who ever invented those version numbers!!??
checking for spinlock semaphores support... no
checking for pthread semaphores support... no
checking for posix semaphores support... no
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
make: stopped in /usr/pkgsrc/www/php-eaccelerator
*** Error code 1
It would seem to me that if the info required to use sysvipc semaphores
is not there, it should simply not choose that one, and instead
pick one of the other supported variants (I would have thought posix
semaphores should be possible as well, but the program run by
configure for testing them contains a comment that says it is
broken, so I guess those ones never get selected).
Alternatively, I guess that yet another bizarre silly fake user
needs to be created so this package can claim to be using it...
I am assuming that NetBSD 5 (and current) probably end up using
either spinlock or pthread semaphores, so avoid this whole mess.
Main Index |
Thread Index |