[MacPorts] #24994: apache2 +preforkmpm depdency test fails when apache modules compiled statically
#24994: apache2 +preforkmpm depdency test fails when apache modules compiled statically -----------------------------------+---------------------------------------- Reporter: info@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: php52 -----------------------------------+---------------------------------------- If apache2 is compiled with static modules, mod_cgi.so doesn't appear in the modules directory, and the apache2 variant dependency test fails. Perhaps a more reliable test would be to check the output of ${prefix}/apache2/bin/apachectl -M. If I knew off the top of my head how to script the test, I'd submit a patch. For those encountering this problem: Putting any file named ''mod_cgi.so'' in ''<macports- directory>/apache2/modules'' allows this port to install. Whether it ''works'' is yet to be seen... -- Ticket URL: <http://trac.macports.org/ticket/24994> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24994: apache2 +preforkmpm depdency test fails when apache modules compiled statically -----------------------------------+---------------------------------------- Reporter: info@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: php52 -----------------------------------+---------------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => ryandesign@… * cc: jwa@… (added) Comment: Please remember to cc the maintainers. -- Ticket URL: <http://trac.macports.org/ticket/24994#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24994: apache2 +preforkmpm depdency test fails when apache modules compiled statically -----------------------------------+---------------------------------------- Reporter: info@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: php52 -----------------------------------+---------------------------------------- Comment(by ryandesign@…): Replying to [ticket:24994 info@…]:
If apache2 is compiled with static modules,
How does one compile MacPorts apache2 with static modules? -- Ticket URL: <http://trac.macports.org/ticket/24994#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24994: apache2 +preforkmpm depdency test fails when apache modules compiled statically -----------------------------------+---------------------------------------- Reporter: info@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: php52 -----------------------------------+---------------------------------------- Comment(by info@…):
How does one compile MacPorts apache2 with static modules?
In a nutshell, by changing the configure arguments... making a private local port, a patch, or by editing the port file (I know the latter is probably not advisable). I know one could ask why not just branch or change the php52 port as well... Could, for sure. Just putting this out there as a way to handle a wider variety of apache2 configurations with this port, and to document a workaround for anyone who encounters the problem. '''Update on the workaround:''' As far as I can tell, it's working fine. I'm running a PHP / MySQL app with no problems encountered. -- Ticket URL: <http://trac.macports.org/ticket/24994#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24994: php52: apache2 +preforkmpm depdency test fails when apache modules compiled statically ------------------------------------+--------------------------------------- Reporter: info@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: invalid | Keywords: Port: php52 | ------------------------------------+--------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: Replying to [comment:3 info@…]:
How does one compile MacPorts apache2 with static modules?
In a nutshell, by changing the configure arguments... making a private
local port, a patch, or by editing the port file (I know the latter is probably not advisable). Not supported. If you're already locally editing your apache port to do this, then you can locally edit your php52 port too. -- Ticket URL: <https://trac.macports.org/ticket/24994#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts