httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: Apache module development on Mac OS X
Date Tue, 17 Jun 2014 13:45:02 GMT
On Tue, Jun 17, 2014 at 8:44 AM, Sindhi Sindhi <sindhi.for@gmail.com> wrote:

> Thankyou Nick.
>
> Actually I was looking at options to build the Apache module on systems
> where Apache server is not installed (and hence apxs is not available), so
> that the module can be built on such build machines also. I can do this on
> Windows and Linux, which provide the load-time linking options.
>
> When I created the Xcode project, I chose the below settings -
> 1) Framework and Library
> 2) C/C++ Library
> 3) Type = Dynamic
> 4) "Mach-O Type" = Dynamic Library
>
> Is there any alternate method to build Apache modules on Mac other that
> apxs since my target machines may not always have Apache server installed.
>
> Regards,
> Sindhi
>

Any recommended method would be based on the files in the build directory
in an httpd install, which apxs uses.  See config_vars.mk, for example.

Treat the httpd build support files as a prerequisite of your product build.


>
> On Tue, Jun 17, 2014 at 6:01 PM, Nick Kew <nick@webthing.com> wrote:
>
> > On Tue, 17 Jun 2014 17:27:15 +0530
> > Sindhi Sindhi <sindhi.for@gmail.com> wrote:
> >
> > > Any help will be highly appreciated.
> >
> > You're trying to build the module as a program.
> > You need to build it as a shared object (think DLL,
> > since you seem to be from a Windows background).
> >
> > Apache provides a tool to do that, with all the
> > right paths and linkage.  Check apxs in the docs.
> >
> > --
> > Nick Kew
> >
>



-- 
Born in Roswell... married an alien...
http://emptyhammock.com/
http://edjective.org/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message