[Gluster-devel] debian lenny + apache2 + mod_glusterfs 2.0.0rc4
Ivan Dimitrov
dobber at amln.net
Wed Mar 11 07:54:55 UTC 2009
Thanks
I tried that but every time I saw "checking for apxs... no" I would
ctrl+c the process. Now I waited until it finished and it seems to be
completed fine:
mod_glusterfs : yes (2.2)
Also, I've been digging through the configure file and I still don't
understand it very well, but I have a question.
MOD_GLUSTERFS_HTTPD_VERSION=`$HTTPD_BIN_DIR/httpd -V | head -1 | awk
"{print $3}" | sed 's/[^0-9.]//g' | sed 's/\(.*\..*\)\..*/\1/'`
Does this line have to be hardcoded (httpd -V) like that?
Harshavardhana написа:
> Hi Ivan,
>
> --with-apxspath Path to apxs binary
> --with-apachepath Path to apache binary
>
> You can use following options at the configure level to specify the
> apxs and apache binary directly.
>
> Regards
> --
> Harshavardhana
> "Yantra Shilpi"
> Z Research Inc - http://www.zresearch.com
>
>
>
> On Tue, Mar 10, 2009 at 3:08 PM, Ivan Dimitrov <dobber at amln.net
> <mailto:dobber at amln.net>> wrote:
>
> Hello list, this is my first time writing here
>
> I've been trying to compile mod_glusterfs 2.0.0.rc4 for debian
> lenny with apache2.2 from debian package.
> I've got the following debian packages installed:
> apache2-mpm-prefork
> apache2-prefork-dev
> apache2-utils
> apache2.2-common
>
> ./configure --enable-mod_glusterfs --with-apxs=/usr/bin/
> ...................................
> checking for apxs... no
> apxs is required to build mod_glusterfs. Use --with-apxs to
> specify path to apxs. If mod_glusterfs is not required, do not
> pass --enable-mod_glusterfs option to configure
> ...................................
>
> Debian puts apxs in "/usr/bin/apxs2" and "--with-apxs=/usr/bin/"
> does not discover it. I had to make a symlink /usr/bin/apxs ->
> /usr/bin/apxs2 in order to make configure recognize it.
> For apache1.3 deb package puts the apxs in the same place
> /usr/bin/apxs. I suggest to make this option a full path to the
> binary in order to support multiple apache installations residing
> in one directory (apache1, apache2, some-custom-apache)
>
>
> ./configure --enable-mod_glusterfs --with-apxs=/usr/bin/
> .............................
> checking for apxs... apxs
> ./configure: line 20804: /usr/sbin/httpd: No such file or directory
> ...............................
> At this point the configure completed
> mod_glusterfs : yes ()
>
> By default, Debian's httpd binary is in "/usr/sbin/apache2", so I
> make a symlink again and configure again. For apache1.3 the binary
> is called "/usr/sbin/apache"
> checking for apxs... apxs
>
> mod_glusterfs : yes (2.2)
>
>
> Unfortunately I'm not very experienced with configure to make a
> patch for it..
>
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org <mailto:Gluster-devel at nongnu.org>
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>
>
More information about the Gluster-devel
mailing list