[MacPorts] #50068: php70-apache2handler (or RC8) giving zend_qsort.h file not found
#50068: php70-apache2handler (or RC8) giving zend_qsort.h file not found --------------------------+---------------------------------- Reporter: vikas@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: php70,apache | Port: php70-apache2handler --------------------------+---------------------------------- Have been trying to build RC8 and now final too but getting same build error when installing php70-apache2handler -- Ticket URL: <https://trac.macports.org/ticket/50068> MacPorts <https://www.macports.org/> Ports system for OS X
#50068: php70-apache2handler (or RC8) giving zend_qsort.h file not found -----------------------------------+-------------------------------- Reporter: vikas@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: php70,apache Port: php70-apache2handler | -----------------------------------+-------------------------------- Comment (by vikas@…): After I copied the header and c file from php56 build dir into php70, the next build error was {{{ :info:build fatal error/opt/local/include/php.h: :10402 'tsrm_virtual_cwd.h' file not foundfatal error 568 :info:build : :'tsrm_virtual_cwd.h' file not found }}} -- Ticket URL: <https://trac.macports.org/ticket/50068#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#50068: php70-apache2handler (or RC8) giving zend_qsort.h file not found -----------------------------------+-------------------------- Reporter: vikas@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: php70-apache2handler | -----------------------------------+-------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… * keywords: php70,apache => Comment: It builds fine for me. You shouldn't copy any files from php56. The log says: {{{ :info:build /opt/local/include/php.h:35:10: fatal error: 'zend_qsort.h' file not found }}} Where did this file /opt/local/include/php.h come from? I'm not aware of any modern MacPorts port providing that file. (You can use "port provides /opt/local/include/php.h" to check.) -- Ticket URL: <https://trac.macports.org/ticket/50068#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#50068: php70-apache2handler (or RC8) giving zend_qsort.h file not found -----------------------------------+-------------------------- Reporter: vikas@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: php70-apache2handler | -----------------------------------+-------------------------- Comment (by vikas@…): Replying to [comment:2 ryandesign@…]:
It builds fine for me. You shouldn't copy any files from php56.
I only copied to check if the problem was just zend files, but i found the problem continues much longer. What do you suggest to solve this?
The log says:
{{{ :info:build /opt/local/include/php.h:35:10: fatal error: 'zend_qsort.h'
file not found
}}}
Where did this file /opt/local/include/php.h come from? I'm not aware of any modern MacPorts port providing that file. (You can use "port provides /opt/local/include/php.h" to check.)
-- Ticket URL: <https://trac.macports.org/ticket/50068#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#50068: php70-apache2handler (or RC8) giving zend_qsort.h file not found -----------------------------------+-------------------------- Reporter: vikas@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: php70-apache2handler | -----------------------------------+-------------------------- Comment (by ryandesign@…): I suspect that the file /opt/local/include/php.h is from an older version of PHP and is therefore the problem. However, I don't know how this file got on your system. Did you copy it there? If so, remove it, anything else you copied, then clean and try again. -- Ticket URL: <https://trac.macports.org/ticket/50068#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#50068: php70-apache2handler (or RC8) giving zend_qsort.h file not found -----------------------------------+-------------------------- Reporter: vikas@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: php70-apache2handler | -----------------------------------+-------------------------- Comment (by vikas@…): Replying to [comment:4 ryandesign@…]:
I suspect that the file /opt/local/include/php.h is from an older version of PHP and is therefore the problem. However, I don't know how this file got on your system. Did you copy it there? If so, remove it, anything else you copied, then clean and try again.
I have php55, 56 and php70 installed in my ports. The /opt/local/include/php.h says "PHP Version 5". all cli including php70 also runs (though starts with a strange ~10 sec delay). the build of php7 should use its own context. -- Ticket URL: <https://trac.macports.org/ticket/50068#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#50068: php70-apache2handler (or RC8) giving zend_qsort.h file not found -----------------------------------+-------------------------- Reporter: vikas@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: php70-apache2handler | -----------------------------------+-------------------------- Comment (by ryandesign@…): Please remove the file /opt/local/include/php.h, clean php70-apache2handler and try again. -- Ticket URL: <https://trac.macports.org/ticket/50068#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#50068: php70-apache2handler (or RC8) giving zend_qsort.h file not found -----------------------------------+-------------------------- Reporter: vikas@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: php70-apache2handler | -----------------------------------+-------------------------- Comment (by vikas@…): It build! but now apache refuses to start with this mod, /usr/bin/apachectl: line 78: 95503 Segmentation fault: 11 $HTTPD -k $ARGV -- Ticket URL: <https://trac.macports.org/ticket/50068#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#50068: php70-apache2handler (or RC8) giving zend_qsort.h file not found -----------------------------------+-------------------------- Reporter: vikas@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: php70-apache2handler | -----------------------------------+-------------------------- Comment (by ryandesign@…): /usr/bin/apachectl is not part of MacPorts. php70-apache2handler works with MacPorts apache2. To control MacPorts apache2, use /opt/local/apache2/bin/apachectl. -- Ticket URL: <https://trac.macports.org/ticket/50068#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#50068: php70-apache2handler (or RC8) giving zend_qsort.h file not found -----------------------------------+-------------------------- Reporter: vikas@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: php70-apache2handler | -----------------------------------+-------------------------- Comment (by vikas@…): still same from error_log, [notice] child pid 66440 exit signal Segmentation fault (11) -- Ticket URL: <https://trac.macports.org/ticket/50068#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#50068: php70-apache2handler (or RC8) giving zend_qsort.h file not found -----------------------------------+-------------------------- Reporter: vikas@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: php70-apache2handler | -----------------------------------+-------------------------- Comment (by ryandesign@…): Are you sure you're running MacPorts apache2 and not the one that comes with OS X? Which error log are you looking at? Which httpd.conf do you edit? -- Ticket URL: <https://trac.macports.org/ticket/50068#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#50068: php70-apache2handler (or RC8) giving zend_qsort.h file not found -----------------------------------+-------------------------- Reporter: vikas@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: worksforme | Keywords: Port: php70-apache2handler | -----------------------------------+-------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <https://trac.macports.org/ticket/50068#comment:11> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
participants (1)
-
MacPorts