Opened 16 years ago

Last modified 10 years ago

#16583 new defect

php5-eaccelerator 0.9.5.3 fails during configure - need to pass user id for sysvipc — at Version 6

Reported by: moody@… Owned by: alakazam@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: php5-eaccelerator

Description (last modified by ryandesign (Ryan Carsten Schmidt))

# port --version
MacPorts 1.600

# php --version
PHP 5.2.6 (cli) (built: Jul 17 2008 23:04:49) 
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies

# port install php5-eaccelerator +sessions +content_caching
--->  Fetching php5-eaccelerator
--->  Attempting to fetch eaccelerator-0.9.5.3.tar.bz2 from http://bart.eaccelerator.net/source/0.9.5.3/
--->  Verifying checksum(s) for php5-eaccelerator
--->  Extracting php5-eaccelerator
--->  Configuring php5-eaccelerator
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5-eaccelerator/work/eaccelerator-0.9.5.3" && ./configure --prefix=/opt/local --with-php-config=/opt/local/bin/php-config --with-eaccelerator-sessions --with-eaccelerator-content-caching " returned error 1
Command output: checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking mandatory system headers... no
checking whether union semun is defined in sys/sem.h... yes
checking for sysvipc shared memory support... no
checking for mmap shared memory support... yes
checking for mmap on /dev/zero shared memory support... no
checking for anonymous mmap shared memory support... yes
checking for posix mmap shared memory support... yes
checking for best shared memory type... anonymous mmap
checking for spinlock semaphores support... no
checking for pthread semaphores support... no
checking for posix semaphores support... yes
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"

Change History (6)

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Keywords: php5-eaccelerator removed
Owner: changed from macports-tickets@… to alakazam@…

Assigning to maintainer.

comment:2 Changed 16 years ago by alakazam@…

Could you specify your version of Mac OS, as well as the output from port installed php5 ? Thanks !

(The following is for my future (~2 days) exploration of this issue, or for other people trying to fix it)

This eAccelerator is probably related :

http://eaccelerator.net/ticket/18

This changeset is also related :

http://eaccelerator.net/changeset/150

comment:3 in reply to:  2 Changed 16 years ago by moody@…

Replying to alakazam@…:

Could you specify your version of Mac OS

Mac OS 10.5.5 - I've seen this on two machines:

Darwin pearl.isi.edu 9.5.0 Darwin Kernel Version 9.5.0: Wed Sep 3 11:31:44 PDT 2008; root:xnu-1228.7.58~1/RELEASE_PPC Power Macintosh

Darwin peugeot.local 9.5.0 Darwin Kernel Version 9.5.0: Wed Sep 3 11:29:43 PDT 2008; root:xnu-1228.7.58~1/RELEASE_I386 i386

as well as the output from port installed php5 ?

# port installed php5
The following ports are currently installed:
  php5 @5.2.6_1+apache2+fastcgi+macosx+mysql5+pear+pspell+readline+sockets+t1lib (active)

(The following is for my future (~2 days) exploration of this issue, or for other people trying to fix it)

This eAccelerator is probably related :

http://eaccelerator.net/ticket/18

This changeset is also related :

http://eaccelerator.net/changeset/150

Last edited 12 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 Changed 16 years ago by moody@…

I added the following to the Port file:

configure.args-append --with-eaccelerator-userid=_www

and the installation was successful

Last edited 12 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:5 Changed 16 years ago by alakazam@…

I have just checked the output of my configuration script ; it would seem that I have support for "spinlock semaphores", and that they are chosen as being the best semaphore type. I think adding a dependency towards spinlock semaphore support would be a more reliable fix.

comment:6 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Note: See TracTickets for help on using tickets.