logo
Apache Lounge
Webmasters

 

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.

or

Bitcoin

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: Generating third party apache module (mod_xsendfile)
Author
charlesd



Joined: 20 Oct 2011
Posts: 1
Location: California

PostPosted: Thu 20 Oct '11 1:40    Post subject: Generating third party apache module (mod_xsendfile) Reply with quote

Hello,

I'm trying to generate a third party module and I think I'm almost there, thanks to this forum. I abandoned apxs and decided to compile it through the command line, per the instructions here: http://www.apachelounge.com/viewtopic.php?p=16879

First, here's my setup:
Apache 2.2.17
Windows SDK v7.1
Visual Studio 10.0 compiler

I realize that the other post wasn't referring to Visual Studio 10.0 or my particular SDK, but the problem seemed close enough to give this a try.

Here are the commands I've executed:
(APACHE= location to apache directory)
Code:

C:\Users\charles\Documents\xampp\apache\modules\echo>ls
mod_xsendfile.c

C:\Users\charles\Documents\xampp\apache\modules\echo>cl /nologo /MD /O2
 /W3 -DWIN32 -D_WIN32 -I %APACHE%\include /c /Fomod_xsendfile.obj mod_xsendfile.
c
mod_xsendfile.c

C:\Users\charles\Documents\xampp\apache\modules\echo>link /NODEFAULTLIB
:LIBCMT kernel32.lib "%APACHE%\lib\libhttpd.lib" "%APACHE%\lib\libapr-1.lib" "%A
PACHE%\lib\libaprutil-1.lib" /nologo /subsystem:windows /dll /out:mod_xsendfile.
so mod_xsendfile.obj
   Creating library mod_xsendfile.lib and object mod_xsendfile.exp

C:\Users\charles\Documents\xampp\apache\modules\echo>MT -manifest mod_x
sendfile.so.manifest -outputresource:mod_xsendfile.so;2
Microsoft (R) Manifest Tool version 6.1.7716.0
Copyright (c) Microsoft Corporation 2009.
All rights reserved.

mod_xsendfile.so.manifest : general error c1010070: Failed to load and parse the
 manifest. The system cannot find the file specified.

C:\Users\charles\Documents\xampp\apache\modules\echo>ls
mod_xsendfile.c    mod_xsendfile.lib  mod_xsendfile.so
mod_xsendfile.exp  mod_xsendfile.obj


Where is the manifest that MT is looking for-mod_xsendfile.so.manifest- supposed to come from? Is this manifest error a true concern?

Thanks,
Charles
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Thu 20 Oct '11 12:00    Post subject: Reply with quote

Within VC10 Microsoft changed that. VC10 build don't need that files anymore.

MT was only to embed the manifest file into the binary.

So nothing to worry about it for you.
Back to top


Reply to topic   Topic: Generating third party apache module (mod_xsendfile) View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules