[MacPorts] #16583: php5-eaccelerator 0.9.5.3 fails during configure - need to pass user id for sysvipc
#16583: php5-eaccelerator 0.9.5.3 fails during configure - need to pass user id for sysvipc ---------------------------------------+------------------------------------ Reporter: moody@isi.edu | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: php5-eaccelerator sysvipc | Port: php5-eaccelerator ---------------------------------------+------------------------------------ # 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" }}} -- Ticket URL: <http://trac.macports.org/ticket/16583> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16583: php5-eaccelerator 0.9.5.3 fails during configure - need to pass user id for sysvipc --------------------------------+------------------------------------------- Reporter: moody@isi.edu | Owner: alakazam@melix.net Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: sysvipc Port: php5-eaccelerator | --------------------------------+------------------------------------------- Changes (by macsforever2000@macports.org): * keywords: php5-eaccelerator sysvipc => sysvipc * owner: macports-tickets@lists.macosforge.org => alakazam@melix.net Comment: Assigning to maintainer. -- Ticket URL: <http://trac.macports.org/ticket/16583#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16583: php5-eaccelerator 0.9.5.3 fails during configure - need to pass user id for sysvipc --------------------------------+------------------------------------------- Reporter: moody@isi.edu | Owner: alakazam@melix.net Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: sysvipc Port: php5-eaccelerator | --------------------------------+------------------------------------------- Comment(by alakazam@melix.net): 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 :
This changeset is also related :
-- Ticket URL: <http://trac.macports.org/ticket/16583#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16583: php5-eaccelerator 0.9.5.3 fails during configure - need to pass user id for sysvipc --------------------------------+------------------------------------------- Reporter: moody@isi.edu | Owner: alakazam@melix.net Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: sysvipc Port: php5-eaccelerator | --------------------------------+------------------------------------------- Comment(by moody@isi.edu): Replying to [comment:2 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 :
This changeset is also related :
-- Ticket URL: <http://trac.macports.org/ticket/16583#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16583: php5-eaccelerator 0.9.5.3 fails during configure - need to pass user id for sysvipc --------------------------------+------------------------------------------- Reporter: moody@isi.edu | Owner: alakazam@melix.net Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: sysvipc Port: php5-eaccelerator | --------------------------------+------------------------------------------- Comment(by moody@isi.edu): I added the following to the Port file: configure.args-append --with-eaccelerator-userid=_www and the installation was successful -- Ticket URL: <http://trac.macports.org/ticket/16583#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16583: php5-eaccelerator 0.9.5.3 fails during configure - need to pass user id for sysvipc --------------------------------+------------------------------------------- Reporter: moody@isi.edu | Owner: alakazam@melix.net Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: sysvipc Port: php5-eaccelerator | --------------------------------+------------------------------------------- Comment(by alakazam@melix.net): 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. -- Ticket URL: <http://trac.macports.org/ticket/16583#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16583: php5-eaccelerator 0.9.5.3 fails during configure - need to pass user id for sysvipc ---------------------------+------------------------------------------------ Reporter: moody@… | Owner: alakazam@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: sysvipc | Port: php5-eaccelerator ---------------------------+------------------------------------------------ Description changed by ryandesign@…: Old description:
# 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" }}}
New description: {{{ # 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" }}} -- -- Ticket URL: <http://trac.macports.org/ticket/16583#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16583: php5-eaccelerator 0.9.5.3 fails during configure - need to pass user id for sysvipc ---------------------------+------------------------------------------------ Reporter: moody@… | Owner: alakazam@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: sysvipc | Port: php5-eaccelerator ---------------------------+------------------------------------------------ Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: Is this still an issue with php5 @5.3.0_2 and php5-eaccelerator @0.9.6-rc1_0? -- Ticket URL: <http://trac.macports.org/ticket/16583#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16583: php5-eaccelerator 0.9.5.3 fails during configure - need to pass user id for sysvipc ---------------------------+------------------------------------------------ Reporter: moody@… | Owner: alakazam@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: sysvipc | Port: php5-eaccelerator ---------------------------+------------------------------------------------ Changes (by alakazam@…): * owner: alakazam@… => alakazam@… * status: new => assigned -- Ticket URL: <http://trac.macports.org/ticket/16583#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16583: php5-eaccelerator 0.9.5.3 fails during configure - need to pass user id for sysvipc --------------------------------+------------------------------------------- Reporter: moody@… | Owner: alakazam@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: worksforme | Keywords: sysvipc Port: php5-eaccelerator | --------------------------------+------------------------------------------- Changes (by alakazam@…): * status: assigned => closed * resolution: => worksforme -- Ticket URL: <http://trac.macports.org/ticket/16583#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16583: php5-eaccelerator 0.9.5.3 fails during configure - need to pass user id for sysvipc --------------------------------+------------------------------------------- Reporter: moody@… | Owner: alakazam@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: worksforme | Keywords: sysvipc Port: php5-eaccelerator | --------------------------------+------------------------------------------- Comment(by smbmacportstrac@…): configure: error: "You need to pass the user id eaccelerator will be running under when using sysvipc semaphores" This is still a problem with the latest macports on 10.5.7! As "moody@" said, this fixes the problem: configure.args-append --with-eaccelerator-userid=_www -- Ticket URL: <http://trac.macports.org/ticket/16583#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16583: php5-eaccelerator 0.9.5.3 fails during configure - need to pass user id for sysvipc --------------------------------+------------------------------------------- Reporter: moody@… | Owner: alakazam@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: sysvipc Port: php5-eaccelerator | --------------------------------+------------------------------------------- Changes (by smbmacportstrac@…): * status: closed => reopened * resolution: worksforme => Comment: This problem still exists on MacOS X 10.5.8 PPC with php5-eaccelerator @0.9.6 and the latest macports. As has been noted for 22 months, the fix is to include this line in the Portfile: configure.args-append --with-eaccelerator-userid=_www alakazam insists it "worksforme", making this a bit frustrating since I've had to deal with this for quite a while now on 2 ppc machines. alakazam, were you using 10.6 at the time you confirmed that it was working for you? If that is indeed the difference, is there a way to conditionalize the configure arguments for 10.5 vs 10.6? -- Ticket URL: <http://trac.macports.org/ticket/16583#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16583: php5-eaccelerator 0.9.5.3 fails during configure - need to pass user id for sysvipc --------------------------------+------------------------------------------- Reporter: moody@… | Owner: alakazam@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: sysvipc Port: php5-eaccelerator | --------------------------------+------------------------------------------- Comment(by alakazam@…): Patches are obviously welcome, and I probably didn't test on mac os 10.5. The lack of response when I was looking into the bug probably made me close it. I think adding a darwin_X variant with X corresponding to the right mac os version should work — not sure what the recommended means of os-version targeting is. -- Ticket URL: <http://trac.macports.org/ticket/16583#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16583: php5-eaccelerator 0.9.5.3 fails during configure - need to pass user id for sysvipc --------------------------------+------------------------------------------- Reporter: moody@… | Owner: alakazam@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: sysvipc Port: php5-eaccelerator | --------------------------------+------------------------------------------- Comment(by dluke@…): Replying to [comment:14 alakazam@…]:
I think adding a darwin_X variant with X corresponding to the right mac os version should work — not sure what the recommended means of os-version targeting is.
A platform variant is what you want. see http://guide.macports.org/#reference.variants.platform -- Ticket URL: <http://trac.macports.org/ticket/16583#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16583: php5-eaccelerator 0.9.5.3 fails during configure - need to pass user id for sysvipc --------------------------------+------------------------------------------- Reporter: moody@… | Owner: alakazam@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: sysvipc Port: php5-eaccelerator | --------------------------------+------------------------------------------- Comment(by ryandesign@…): I'm just not sure why a platform variant would be needed; Don't see why `--with-eaccelerator-userid` shouldn't just be used always. I'll see if I can do some testing. -- Ticket URL: <http://trac.macports.org/ticket/16583#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16583: php5-eaccelerator 0.9.5.3 fails during configure - need to pass user id for sysvipc --------------------------------+------------------------------------------- Reporter: moody@… | Owner: Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: sysvipc Port: php5-eaccelerator | --------------------------------+------------------------------------------- Changes (by alakazam@…): * owner: alakazam@… => * status: reopened => new -- Ticket URL: <https://trac.macports.org/ticket/16583#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16583: php5-eaccelerator 0.9.5.3 fails during configure - need to pass user id for sysvipc --------------------------------+------------------------------------------- Reporter: moody@… | Owner: Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: sysvipc Port: php5-eaccelerator | --------------------------------+------------------------------------------- Comment(by smbmacportstrac@…): Ping. This problem still exists on MacOS X 10.5.8 PPC with php5-eaccelerator @0.9.6.1 and the latest macports (2.0.1). As has been noted for 3 years, the fix is to include this line in the Portfile: configure.args-append --with-eaccelerator-userid=_www. -- Ticket URL: <https://trac.macports.org/ticket/16583#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16583: php5-eaccelerator 0.9.5.3 fails during configure - need to pass user id for sysvipc --------------------------------+------------------------------------------- Reporter: moody@… | Owner: Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: sysvipc Port: php5-eaccelerator | --------------------------------+------------------------------------------- Comment(by smbmacportstrac@…): Ping timeout. Ping. This problem still exists on MacOS X 10.5.8 PPC with php5-eaccelerator @0.9.6.1 and the latest macports (2.0.1). As has been noted for 4 years, the fix is to include this line in the Portfile: configure.args-append --with-eaccelerator-userid=_www. -- Ticket URL: <https://trac.macports.org/ticket/16583#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16583: php5-eaccelerator 0.9.5.3 fails during configure - need to pass user id for sysvipc --------------------------------+------------------------------------------- Reporter: moody@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: php5-eaccelerator | --------------------------------+------------------------------------------- Changes (by macsforever2000@…): * cc: ryandesign@… (removed) * keywords: sysvipc => * owner: => ryandesign@… Comment: It looks like the maintainer isn't on macports anymore and the ticket got assigned to nobody. -- Ticket URL: <https://trac.macports.org/ticket/16583#comment:20> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16583: php5-eaccelerator 0.9.5.3 fails during configure - need to pass user id for sysvipc --------------------------------+-------------------------- Reporter: moody@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: php5-eaccelerator | --------------------------------+-------------------------- Comment (by erik@…): This problem still exists on Mac OS X 10.5.8 '''Intel''' with php5-eaccelerator @0.9.6.1_13 and the latest macports (2.0.3). -- Ticket URL: <https://trac.macports.org/ticket/16583#comment:21> MacPorts <http://www.macports.org/> Ports system for OS X
#16583: php5-eaccelerator 0.9.5.3 fails during configure - need to pass user id for sysvipc --------------------------------+-------------------------- Reporter: moody@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: php5-eaccelerator | --------------------------------+-------------------------- Comment (by erik@…): This problem still exists on Mac OS X 10.5.8 Intel with php5-eaccelerator @0.9.6.1_17+universal and the latest version of MacPorts (2.2.1) I made it work by manually adding the fix first mentioned by moody@isi.edu: In the Portfile found here: {{{ /opt/local/var/macports/sources/rsync.macports.org/release/ports/php/php5-eaccelerator/Portfile }}} I inserted the following after line 34: {{{ configure.args-append --with-eaccelerator-userid=_www }}} I then ran the rest manually (I actually have nearly no clue about this...!): {{{ port clean php5-eaccelerator port configure php5-eaccelerator port build php5-eaccelerator port test php5-eaccelerator (turns out there are no tests defined in this port...) port destroot php5-eaccelerator port install php5-eaccelerator port activate php5-eaccelerator @0.9.6.1_17+universal }}} I worked for me, although there is probably a better way. I don't know how to create a patch file to submit, sorry. -- Ticket URL: <https://trac.macports.org/ticket/16583#comment:22> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts