[MacPorts] #26396: mod_fcgid update
MacPorts
noreply at macports.org
Tue Sep 7 17:21:29 PDT 2010
#26396: mod_fcgid update
------------------------+---------------------------------------------------
Reporter: ro@… | Owner: macports-tickets@…
Type: update | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.1
Keywords: | Port: mod_fcgid
------------------------+---------------------------------------------------
Old description:
> The version of mod_fcgid (2.2) is pretty old by now. Which is too bad,
> because 2.3.5 fixes some OS X bugs.
> (I only looked at it because my apache kept giving HTTP 500 errors, with
> "Resource temporarily unavailable: mod_fcgid: write data to fastcgi
> server error".)
>
> Maybe that went unnoticed because the repository changed... (It's not
> sourceforge anymore.) It also has a somewhat new build process; I guess
> it's standard Apache's now.
>
> I'm a new MacOS & MacPorts user, so I just trial-and-errored my way
> though things and came halfway creating an updated Portfile.
> I got through the fetch / checksum / extract / patch parts, but got tired
> at 'configure'.
> (I don't know how to run a nonstandard command.)
>
> So after the 'patch' phase, I just ran the following by hand (from the
> build dir):[[BR]]
> APXS=/opt/local/apache2/bin/apxs ./configure.apxs[[BR]]
> make[[BR]]
> rm /opt/local/apache2/modules/mod_fcgid.so[[BR]]
> cp modules/fcgid/.libs/mod_fcgid.so
> /opt/local/apache2/modules/mod_fcgid.so
>
> ...and after a restart, my apache stopped crashing. So I'm happy for now
> :)
>
> Maybe someone wants to use my updates to build a working Portfile?
> I'll try to attach:[[BR]]
> - half-functional Portfile[[BR]]
> - diff to the existing Portfile (so you can see what I did so far)[[BR]]
> - an updated patch-fcgid_conf.c (copy it over the existing one)
New description:
The version of mod_fcgid (2.2) is pretty old by now. Which is too bad,
because 2.3.5 fixes some OS X bugs.
(I only looked at it because my apache kept giving HTTP 500 errors, with
"Resource temporarily unavailable: mod_fcgid: write data to fastcgi server
error".)
Maybe that went unnoticed because the repository changed... (It's not
sourceforge anymore.) It also has a somewhat new build process; I guess
it's standard Apache's now.
I'm a new MacOS & MacPorts user, so I just trial-and-errored my way though
things and came halfway creating an updated Portfile.
I got through the fetch / checksum / extract / patch parts, but got tired
at 'configure'.
(I don't know how to run a nonstandard command.)
So after the 'patch' phase, I just ran the following by hand (from the
build dir):
{{{
APXS=/opt/local/apache2/bin/apxs ./configure.apxs
make
rm /opt/local/apache2/modules/mod_fcgid.so
cp modules/fcgid/.libs/mod_fcgid.so
/opt/local/apache2/modules/mod_fcgid.so
}}}
...and after a restart, my apache stopped crashing. So I'm happy for now
:)
Maybe someone wants to use my updates to build a working Portfile?
I'll try to attach:
- half-functional Portfile
- diff to the existing Portfile (so you can see what I did so far)
- an updated patch-fcgid_conf.c (copy it over the existing one)
--
Comment(by ryandesign@…):
> Maybe that went unnoticed because the repository changed...
It went unnoticed because nobody was looking; mod_fcgid has no maintainer
in MacPorts at this time.
--
Ticket URL: <http://trac.macports.org/ticket/26396#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list