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 -> Building & Member Downloads View previous topic :: View next topic
Reply to topic   Topic: Compiling mod_vhs and Apache 2.2/Windows ?
Author
jamaica



Joined: 21 Aug 2006
Posts: 2

PostPosted: Mon 21 Aug '06 16:48    Post subject: Compiling mod_vhs and Apache 2.2/Windows ? Reply with quote

I tried to compile mod_vhs with VS2005 with the following command:
cl /I "C:\httpd-2.2.3\srclib\apr\include" mod_vhs.c

This is the output i get:
mod_vhs.c
c:\httpd-2.2.3\srclib\apr\include\apr_errno.h(52) : error C2061: syntax error : identifier 'apr_strerror'
c:\httpd-2.2.3\srclib\apr\include\apr_errno.h(52) : error C2059: syntax error : ';'
c:\httpd-2.2.3\srclib\apr\include\apr_errno.h(52) : error C2059: syntax error : 'type'
c:\httpd-2.2.3\srclib\apr\include\apr_general.h(126) : error C2146: syntax error : missing ')' before identifier 'n'
c:\httpd-2.2.3\srclib\apr\include\apr_general.h(126) : error C2081: 'size_t' : name in formal parameter list illegal
c:\httpd-2.2.3\srclib\apr\include\apr_general.h(126) : error C2061: syntax error : identifier 'n'
...
...
...
error count exceeds 100; stopping compilation

I had previously succesfully compiled Apache in the c:\httpd-2.2.3 directory.
Can anyone give a hint here, as to what i am doing wrong?

mod_vhs is at http://www.oav.net/projects/mod_vhs/
Back to top
tdonovan
Moderator


Joined: 17 Dec 2005
Posts: 611
Location: Milford, MA, USA

PostPosted: Tue 22 Aug '06 18:39    Post subject: Reply with quote

At the very least, you'll need to define the symbol WIN32. You should add the compile switch /DWIN32.

You will also probably need to add additional switches to make it a shared library (/LD) and to output a .so file instead of an .exe file (/Femod_svh.so).

I noticed that the current version of mod_vhs.c, version 1.0.30, also includes a lot of files which aren't available on Windows - like sys/mman.h.

I expect you'll have to make some changes to it if you are trying to build the latest version of mod_vhs for Apache on Windows.

-tom-
Back to top
DeliriumServers



Joined: 17 Jun 2006
Posts: 54
Location: H Town

PostPosted: Wed 06 Sep '06 6:02    Post subject: Reply with quote

any progress? I'd be interested in using this module if it could respectably replace mod_vd
Back to top
DeliriumServers



Joined: 17 Jun 2006
Posts: 54
Location: H Town

PostPosted: Sun 17 Sep '06 1:43    Post subject: Reply with quote

@jamaica: hey, wondering if you'd solved the problem since you hadn't posted back

I'm really interested in this module, so I look forward to your excellent work
Back to top
jamaica



Joined: 21 Aug 2006
Posts: 2

PostPosted: Tue 21 Nov '06 11:27    Post subject: Reply with quote

No unfortunately Apache on Windows has proven extremely unstable for me, so I have decided to go with a FreeBSD installation.
Back to top


Reply to topic   Topic: Compiling mod_vhs and Apache 2.2/Windows ? View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads