You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Abhinav Upadhyay <ab...@hover.in> on 2010/06/27 10:17:27 UTC

Standard Practices with respect to distribution of Apache modules

Hello everyone!
I am on an internship, and have developed an Apache 2 module as my project, that
is to be used by our customers.

Now, we are at the point of distribution of our module, my boss says that
expecting the users to compile the module from source is not very practical,
although that is an option but he asked me to look for more convenient options.

So I wanted to know, what else can I do ? If I compile the module on my Linux
and provide it as a binary , will that work on all other Linux distros ?

And how to compile the module on windows? I searched a lot for this but couldn't
find it anywhere?

Thanks and Regards
Abhinav



Re: Standard Practices with respect to distribution of Apache modules

Posted by Eric Covener <co...@gmail.com>.
On Sun, Jun 27, 2010 at 4:17 AM, Abhinav Upadhyay <ab...@hover.in> wrote:
> Hello everyone!
> I am on an internship, and have developed an Apache 2 module as my project, that
> is to be used by our customers.
>
> Now, we are at the point of distribution of our module, my boss says that
> expecting the users to compile the module from source is not very practical,
> although that is an option but he asked me to look for more convenient options.
>
> So I wanted to know, what else can I do ? If I compile the module on my Linux
> and provide it as a binary , will that work on all other Linux distros ?

If you don't expect your users to be able to compile it themselves,
compile binaries on the oldest Linux you want to support (e.g. SLES9)
as well as windows.

> And how to compile the module on windows? I

The mod_perl project has an apxs-for-windows you can use that works
reasonably well.


-- 
Eric Covener
covener@gmail.com

Re: Standard Practices with respect to distribution of Apache modules

Posted by Leonardo Foderaro <st...@gmail.com>.
Hello,
I think you canĀ  provide pre-compiled binaries for you module.
of course you must take care of different architectures (32bit, 64bit.. )
and you must provide a compiled version of your module compatible with
the compiled version of Apche (2.2.x, 2.4.x etc.. )
eventually, you should take care of your own module's external
dependenciesĀ  (for example if you used any external library)
However, please keep in mind that in *nix world a recompilation from
source is an everyday task.

Good Luck!
leo


On Thu, Jul 1, 2010 at 10:04 AM, Abhinav Upadhyay <ab...@hover.in> wrote:
>
> Abhinav Upadhyay <abhinav <at> hover.in> writes:
>
> >
> > Hello everyone!
> > I am on an internship, and have developed an Apache 2 module as
> > my project, that is to be used by our customers.
> > Now, we are at the point of distribution of our module,
> > my boss says that expecting the users to compile the module
> > from source is not very practical,although that is an option
> > but he asked me to look for more convenient options.
> > So I wanted to know, what else can I do ? If I compile the
> > module on my Linux and provide it as a binary , will that
> > work on all other Linux distros ?
> >
> > And how to compile the module on windows? I searched a lot for
> > this but couldn't find it anywhere?
> >
> > Thanks and Regards
> > Abhinav
> >
> >
>
>
> Hello all!!
>
> I really don't want to disturb anyone by continuously posting silly
> questions but I am really in need of these answers. There aren't
> many good up to date references on Apache modules apart from
> Nick Kew's The Apache Modules book (I am using that one).
>
> You guys are doing a great job, but please answer my few questions,
> I would really appreciate it.
> Thanks
> Abhinav
>
>

Re: Standard Practices with respect to distribution of Apache modules

Posted by Abhinav Upadhyay <ab...@hover.in>.
Abhinav Upadhyay <abhinav <at> hover.in> writes:

> 
> Hello everyone!
> I am on an internship, and have developed an Apache 2 module as
> my project, that is to be used by our customers.
> Now, we are at the point of distribution of our module,
> my boss says that expecting the users to compile the module
> from source is not very practical,although that is an option
> but he asked me to look for more convenient options. 
> So I wanted to know, what else can I do ? If I compile the
> module on my Linux and provide it as a binary , will that
> work on all other Linux distros ?
> 
> And how to compile the module on windows? I searched a lot for
> this but couldn't find it anywhere?
> 
> Thanks and Regards
> Abhinav
> 
> 


Hello all!!

I really don't want to disturb anyone by continuously posting silly
questions but I am really in need of these answers. There aren't
many good up to date references on Apache modules apart from
Nick Kew's The Apache Modules book (I am using that one). 

You guys are doing a great job, but please answer my few questions,
I would really appreciate it.
Thanks
Abhinav