Apache LoungeWebmasters

 Keep Server Online If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation. or A donation makes a contribution towards the costs, the time and effort that's going in this site and building. Thank You! Steffen Apache Lounge is not sponsored.Your donations will help to keep this site alive and well, and continuing building binaries.

Author Message
jamaica

Joined: 21 Aug 2006
Posts: 2

 Posted: Mon 21 Aug '06 16:48    Post subject: Compiling mod_vhs and Apache 2.2/Windows ? 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/
tdonovan
Moderator

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

 Posted: Tue 22 Aug '06 18:39    Post subject: 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-
DeliriumServers

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

 Posted: Wed 06 Sep '06 6:02    Post subject: any progress? I'd be interested in using this module if it could respectably replace mod_vd
DeliriumServers

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

 Posted: Sun 17 Sep '06 1:43    Post subject: @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
jamaica

Joined: 21 Aug 2006
Posts: 2

 Posted: Tue 21 Nov '06 11:27    Post subject: No unfortunately Apache on Windows has proven extremely unstable for me, so I have decided to go with a FreeBSD installation.

 Page 1 of 1