--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@xxxxxxxx> 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@xxxxxxxxxx
http://lists.nongnu.org/mailman/listinfo/gluster-devel