Apache Lounge


About Forum Index Downloads Search Register Log in RSS X

Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.



A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: Attempting to build mod_fcgid on Windows

Joined: 20 Jan 2023
Posts: 1
Location: USA, HI

PostPosted: Tue 14 Feb '23 9:42    Post subject: Attempting to build mod_fcgid on Windows Reply with quote

Hi, I'm a novice. Going to try building mod_fcgid. Steps I've done:

The source for mod_fcgid is distributed in a .dsw project workspace file which i converted to a solution and plan to build it using VS2008 (Visual Studio 9.0).
Instructions are located here:http://svn.apache.org/repos/asf/httpd/mod_fcgid/trunk/README-FCGID

My version of Apache/httpd is 2.4
C:\Apache24>httpd -v
Server version: Apache/2.4.55 (Win64)

On windows you can overlay mod_fcgid source files into the httpd source
file tree, and make the following changes for an in-tree build;

* Manually add the project mod_fcgid.dsp to the Apache.dsw workspace.
* Ensure the BuildBin project includes the mod_fcgid project dependency.
* Add mod_fcgid project dependencies of libhttpd, libapr and libaprutil.
* Remove /D "FCGID_APXS_BUILD" from the # ADD CPP lines of
* Replace /I "$(APACHE2_HOME)/include" with /I "../../modules/loggers"
for both # ADD CPP lines of modules\fcgid\mod_fcgid.dsp.
* Remove the libraries libapr[-1].lib libaprutil[-1].lib libhttpd.lib
and the /libpath:"$(APACHE2_HOME)\lib" flag from the # ADD LINK32
lines of modules\fcgid\mod_fcgid.dsp.

Note that mod_fcgid.so needs to be added to the module installation
lines in Makefile.win, or you must manually copy the .so module from
modules\fcgid\Release after compiling.

I don't have the Apache.dsw workspace which means I downloaded a binary for Apache from ApacheHaus or Apache Lounge, not the source code. Oops; go back and download the source code for Apache. Instructions are located here:https://httpd.apache.org/docs/current/platform/win_compiling.html

I'll see if I can figure this out within a week.
Back to top

Joined: 16 Aug 2020
Posts: 312
Location: UK

PostPosted: Tue 14 Feb '23 22:12    Post subject: Reply with quote

You could take a look at the following HOWTO - https://www.apachelounge.com/viewtopic.php?t=8609

This variant covers building Apache (including mod_fcgid) from scratch on Windows, using CMake bundled with Visual Studio (albeit a later version).
Back to top

Reply to topic   Topic: Attempting to build mod_fcgid on Windows View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules